Hi,
May I ask what the prerequisites are for development in a GNU/Linux development environment?
Specifically I aim to setup my xubuntu 12.04 LTS installation for yubico development. I recently received my first few yubi-keys subsequently I am new to the yubico paradigm. My first attempt at building a yubi-key enabled app was to download the source code for password safe from
sourceforge.net.
i have added the yubico repositories to my build environment with...
Code:
sudo add-apt-repository ppa:yubico/stable && sudo apt-get update
which ended successfully. Next I ran
Code:
sudo apt-get install fakeroot g++ gettext make libuuid1 libwxgtk2.8-dev libwxgtk2.8-dbg libxerces-c-dev libxt-dev libxtst-dev git uuid-dev zip
to meet the prerequisites set-forth in the password safe README.LINUX.DEVELOPERS.txt file. This line did end successfully.
I also ran
Code:
sudo apt-get install build-essentials
too.
However when I run make in the top of the build-tree it ends with
Code:
g++ -Wall -I/usr/local/include/ykpers-1 -O0 -g -ggdb -DUNICODE -DDEBUG -c PWYubi.cpp -o ../../../obj/unicodedebug/os/PWYubi.o
PWYubi.cpp:17:20: fatal error: ykcore.h: No such file or directory
compilation terminated.
make[2]: *** [../../../obj/unicodedebug/os/PWYubi.o] Error 1
make[2]: Leaving directory `/home/alonzo/Application Builds/pwsafe-3.31Y-src/src/os/linux'
make[1]: *** [unicodedebug] Error 2
make[1]: Leaving directory `/home/alonzo/Application Builds/pwsafe-3.31Y-src/src/os/linux'
make: *** [unicodedebug] Error 2
Which looks like an error with the yubico library during the .o build phase? Specifically during the build phase involving PWYubi.o and the file ykcore.h which was not found. Perhaps ykcore.h was left out of the yubico repository? Or is ykcore.h developed in the password safe app (which seems unlikely with a name like ykcore.h)?
please advise.