sctech
User
 Fresh Boarder
| Posts: 1 |   | Karma: 0
|
Re:Compiling on Ubuntu - 2007/11/23 12:26
I am running Gutsy and the permissions on the .bin file do NOT include execute. I tried a chomd +x PokerTH-0.6-beta5-linux-installer.bin and it did not show in the GUI I had execute permissions. I still tried to run it from Thunar and it only wanted to run with Make.
I then ran svn co -r 1278 http://pokerth.svn.sourceforge.net/svnroot/pokerth/trunk/pokerth from terminal and I had to download subversive. OK... what ever that is I now have it.
Then I ran the same command line and got the source. Cool... or was it?
Not so much.
I then found I had qt 4 already installed v4.3.2. In terminal I cd to dir where everything was and ran /usr/bin/qmake-qt4. K? Not so much. I got a BUCH of error msgs:
~/dl/pokerth$ make install make -f Makefile.pokerth_lib install make[1]: Entering directory `/home/rwise/dl/pokerth' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/rwise/dl/pokerth' make -f Makefile.pokerth_game install make[1]: Entering directory `/home/rwise/dl/pokerth' g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_SHARED -DENABLE_IPV6 -DQT_GUI_LIB -DQ T_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/u sr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/i nclude/qt4 -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/core/tinyxml -Isrc/gui/qt -Isrc/g ui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/sound -Isrc/gui/qt/qttools - Isrc/gui/qt/chattools -Isrc/gui/qt/qttools/qthelper -Isrc/gui/qt/mainwindow -Isr c/gui/qt/mainwindow/startsplash -Isrc/gui/qt/mainwindow/log -Isrc/gui/qt/mainwin dow/chat -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gu i/qt/createinternetgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/ne wlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/settingsdialog/selecta vatardialog -Isrc/gui/qt/settingsdialog/manualblindsorderdialog -Isrc/gui/qt/sta rtnetworkgamedialog -Isrc/gui/qt/changehumanplayernamedialog -Isrc/gui/qt/change completeblindsdialog -Isrc/gui/qt/mymessagedialog -Isrc/gui/qt/gamelobbydialog - Isrc/gui/qt/gamelobbydialog/lobbychat -Imocs -Iuics -o obj/pokerth.o src/pokerth .cpp In file included from src/gamedata.h:24, from src/session.h:22, from src/pokerth.cpp:31: src/playerdata.h:29:32: error: boost/shared_ptr.hpp: No such file or directory src/playerdata.h:30:28: error: boost/thread.hpp: No such file or directory src/playerdata.h:84: error: ‘boost’ has not been declared src/playerdata.h:84: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type src/playerdata.h:84: error: expected ‘;’ before ‘<’ token src/playerdata.h:85: error: ‘boost’ has not been declared src/playerdata.h:85: error: expected ‘,’ or ‘...’ before ‘<’ token src/playerdata.h:86: error: ‘boost’ has not been declared src/playerdata.h:86: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type src/playerdata.h:86: error: expected ‘;’ before ‘<’ token src/playerdata.h:87: error: ‘boost’ has not been declared src/playerdata.h:87: error: expected ‘,’ or ‘...’ before ‘<’ token src/playerdata.h:106: error: ‘boost’ has not been declared src/playerdata.h:106: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type src/playerdata.h:106: error: expected ‘;’ before ‘<’ token src/playerdata.h:107: error: ‘boost’ has not been declared src/playerdata.h:107: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type src/playerdata.h:107: error: expected ‘;’ before ‘<’ token src/playerdata.h:109: error: ‘boost’ has not been declared src/playerdata.h:109: error: ISO C++ forbids declaration of ‘mutex’ with no type src/playerdata.h:109: error: expected ‘;’ before ‘m_dataMutex’ src/playerdata.h:113: error: ‘boost’ was not declared in this scope src/playerdata.h:113: error: template argument 1 is invalid src/playerdata.h:113: error: template argument 2 is invalid src/playerdata.h:113: error: expected unqualified-id before ‘>’ token src/playerdata.h:114: error: ‘boost’ was not declared in this scope src/playerdata.h:114: error: template argument 2 is invalid src/playerdata.h:114: error: template argument 4 is invalid src/playerdata.h:114: error: expected unqualified-id before ‘>’ token src/session.h:48: error: ‘boost’ has not been declared src/session.h:48: error: expected ‘,’ or ‘...’ before ‘<’ token src/session.h:51: error: ‘boost’ has not been declared src/session.h:51: error: expected ‘,’ or ‘...’ before ‘<’ token src/session.h:57: error: ‘boost’ has not been declared src/session.h:57: error: ISO C++ forbids declaration of ‘shared_ptr’ with no typ e src/session.h:57: error: expected ‘;’ before ‘<’ token src/session.h:101: error: ‘boost’ has not been declared src/session.h:101: error: ISO C++ forbids declaration of ‘shared_ptr’ with no ty pe src/session.h:101: error: expected ‘;’ before ‘<’ token src/session.h:103: error: ‘boost’ has not been declared src/session.h:103: error: ISO C++ forbids declaration of ‘shared_ptr’ with no ty pe src/session.h:103: error: expected ‘;’ before ‘<’ token src/net/clientcallback.h:51: error: ‘boost’ has not been declared src/net/clientcallback.h:51: error: expected ‘,’ or ‘...’ before ‘<’ token src/gui/guiinterface.h:41: error: ‘boost’ has not been declared src/gui/guiinterface.h:41: error: expected ‘,’ or ‘...’ before ‘<’ token src/gui/qt/guiwrapper.h:43: error: ‘boost’ has not been declared src/gui/qt/guiwrapper.h:43: error: expected ‘,’ or ‘...’ before ‘<’ token src/gui/qt/guiwrapper.h:127: error: ‘boost’ has not been declared src/gui/qt/guiwrapper.h:127: error: expected ‘,’ or ‘...’ before ‘<’ token src/config/configfile.h:55: error: ‘boost’ has not been declared src/config/configfile.h:55: error: ISO C++ forbids declaration of ‘recursive_mut ex’ with no type src/config/configfile.h:55: error: expected ‘;’ before ‘m_configMutex’ src/pokerth.cpp: In function ‘int main(int, char**)’: src/pokerth.cpp:112: error: ‘boost’ was not declared in this scope src/pokerth.cpp:112: error: parse error in template argument list src/pokerth.cpp:112: error: invalid operands of types ‘<unresolved overloaded fu nction type>’ and ‘const char [24]’ to binary ‘operator>’ src/pokerth.cpp:117: error: ‘boost’ is not a class or namespace src/pokerth.cpp:117: error: expected primary-expression before ‘>’ token src/pokerth.cpp:117: error: ‘myGuiInterface’ was not declared in this scope src/pokerth.cpp:119: error: ‘boost’ is not a class or namespace src/pokerth.cpp:119: error: expected primary-expression before ‘>’ token src/pokerth.cpp:119: error: ‘session’ was not declared in this scope make[1]: *** [obj/pokerth.o] Error 1 make[1]: Leaving directory `/home/rwise/dl/pokerth' make: *** [sub-pokerth_game-pro-install_subtargets-ordered] Error 2
HUH?
I even went to the extra step of installing these programs even though the install says this is automatic: I have installed QT4, Open SSL, Boost, to get thse libs. libSDL is not listed in the search from http://www.libsdl.org/libraries.php?order=name&category=-1&completed=0&os=-1&match_name=libSDL&perpage=50
HUH? What gives? Ok I am a little bit of a newbie with Gutsy, but can anyone see where I went wrong?
It looks to me like even though I attempted a FULL install of Boost to get on simple lib file (almost a one hour process) Poker is not recognising the files location, Poker is looking in the wrong place, OR the install is messed up.
Anyone done this with Gutsy and QT4.3.2?
Please help!
Rodney scTech
|