Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 4:34 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Jul 05, 2013 1:10 pm 
Offline

Joined: Fri Jul 05, 2013 12:12 pm
Posts: 2
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.


Last edited by Zander on Thu Jul 11, 2013 8:26 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Tue Jul 09, 2013 3:51 pm 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
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.

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 11, 2013 8:25 pm 
Offline

Joined: Fri Jul 05, 2013 12:12 pm
Posts: 2
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group