Yubico Forum
https://forum.yubico.com/

[SOLVED] What are the prerequisite libraries, ppa's,,,,
https://forum.yubico.com/viewtopic.php?f=4&t=1105
Page 1 of 1

Author:  Zander [ Fri Jul 05, 2013 1:10 pm ]
Post subject:  [SOLVED] What are the prerequisite libraries, ppa's,,,,

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.

Author:  Tom [ Tue Jul 09, 2013 3:51 pm ]
Post subject:  Re: [Q?] What are the prerequisite libraries, ppa's,,,,

Mmm...this looks like a question for password safe.


https://github.com/Yubico/yubikey-perso ... ter/ykcore

This is the core, please refer to our GitHub for our software.

Author:  Zander [ Thu Jul 11, 2013 8:25 pm ]
Post subject:  Re: [SOLVED] What are the prerequisite libraries, ppa's,,,,

Tom wrote:
Mmm...this looks like a question for password safe.


https://github.com/Yubico/yubikey-perso ... ter/ykcore

This is the core, please refer to our GitHub for our software.



Thank you Tom. The Password Safe team should have told me to pull ykcore into the build. Or perhaps it has fallen to me to tell others building Password Safe that ykcore is required if they want to their version to function with ub products.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/