Page 1 of 1

[Solved] Compilation issue

Posted: 9. Feb 2013, 20:16
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.

Re: Compilation issue

Posted: 9. Feb 2013, 21:48
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

[Solved] Re: Compilation issue

Posted: 9. Feb 2013, 22:23
by Van_Vinkle
boost has been installed and now I've got the PokerTH game. :D

Thank you very much!