[Solved] Compilation issue

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Van_Vinkle
Donor
Posts: 197
Joined: 25. Oct 2012, 17:39

[Solved] Compilation issue

Post by Van_Vinkle »

I'd like to get the pretty game pokerth. I can find it in version 0.8.2 through sourcery. But when I try to get it appears (compilation last lines):

Code: Select all

...
mv -f libpokerth_protocol.a lib/
make[1]: Leaving directory `/usr/src/slapt-src/games/pokerth/PokerTH-0.8.2-src'
/usr/bin/qmake /usr/src/slapt-src/games/pokerth/PokerTH-0.8.2-src/pokerth_db.pro -o Makefile.pokerth_db
make -f Makefile.pokerth_db 
make[1]: Entering directory `/usr/src/slapt-src/games/pokerth/PokerTH-0.8.2-src'
g++ -c -m64 -pipe -std=gnu++0x -O2 -Wall -W -D_REENTRANT -fPIC -DENABLE_IPV6 -DQT_NO_DEBUG -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include -I. -Isrc -I/usr/include -Imocs -o obj/serverdbcallback.o src/db/common/serverdbcallback.cpp
g++ -c -m64 -pipe -std=gnu++0x -O2 -Wall -W -D_REENTRANT -fPIC -DENABLE_IPV6 -DQT_NO_DEBUG -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include -I. -Isrc -I/usr/include -Imocs -o obj/serverdbfactory.o src/db/common/serverdbfactory.cpp
In file included from src/db/common/serverdbfactory.cpp:20:0:
src/db/serverdbfactory.h:24:26: fatal error: boost/asio.hpp: No such file or directory
compilation terminated.
make[1]: *** [obj/serverdbfactory.o] Error 1
make[1]: Leaving directory `/usr/src/slapt-src/games/pokerth/PokerTH-0.8.2-src'
make: *** [sub-pokerth_db-pro-make_default-ordered] Error 2
fakeroot -- sh pokerth.SlackBuild Failed
The declared dependency (libgsasl) is in my system, which is salix 13.37-MATE 64 bit.

Any clue? Thanks in advance.
Last edited by Van_Vinkle on 9. Feb 2013, 22:23, edited 1 time in total.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Compilation issue

Post by laprjns »

Code: Select all

src/db/serverdbfactory.h:24:26: fatal error: boost/asio.hpp: No such file or directory
Try installing boost. It should be available in the gslapt (slapt-get) repo

Code: Select all

slapt-get -i boost
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Van_Vinkle
Donor
Posts: 197
Joined: 25. Oct 2012, 17:39

[Solved] Re: Compilation issue

Post by Van_Vinkle »

boost has been installed and now I've got the PokerTH game. :D

Thank you very much!
Post Reply