Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Problems compiling a pokerth svn version on ubuntu (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Problems compiling a pokerth svn version on ubuntu
#911
BuZZdEE (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Problems compiling a pokerth svn version on ubuntu 1 Year, 2 Months ago Karma: 0  
I have some problems to compiling a svn-version of pokerth on ubuntu 7.04. I used this howto: http://www.pokerth.net/components/com_mambowiki/index.php?title=Installation#Compiling_a_svn_version

1.)


BuZZ-dEE@AFK:~$ cd pokerth
BuZZ-dEE@AFK:~/pokerth$ ls
ChangeLog Makefile pokerth.ico src
COPYING Makefile.pokerth_game pokerth_lib.pro TODO
data Makefile.pokerth_lib pokerth.png ts
docs mocs pokerth.pro uics
INSTALL obj pokerth.rc
lib pokerth_game.pro pokerth_server.pro
mac_post_make.sh pokerth.icns qrc_resources.cpp
BuZZ-dEE@AFK:~/pokerth$ export QTDIR=/usr/share/qt4
BuZZ-dEE@AFK:~/pokerth$ export QMAKESPEC=$QTDIR/mkspecs/linux-g++
BuZZ-dEE@AFK:~/pokerth$ export PATH=$PATH:$QTDIR/bin
BuZZ-dEE@AFK:~/pokerth$ export MANPATH=$MANPATH:/usr/lib/man-db <=== i don't know if this is right
BuZZ-dEE@AFK:~/pokerth$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig <=== i don't know if this is right
BuZZ-dEE@AFK:~/pokerth$ $QTDIR/bin/qmake pokerth.pro
BuZZ-dEE@AFK:~/pokerth$ make
make -f Makefile.pokerth_lib
make[1]: Betrete Verzeichnis '/home/BuZZ-dEE/pokerth'
g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/gui/qt -Isrc/gui/qt/qttools -Isrc/gui/qt/qttools/qthelper -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/core/tinyxml -Isrc/core -I/usr/include/qt3 -Iuics/ -Imocs/ -o obj/configfile.o src/config/configfile.cpp
In file included from src/gui/qt/qttools/qttoolswrapper.h:24,
from src/config/configfile.cpp:22:
src/gui/qt/qttools/qthelper/qthelper.h:15:18: error: QtCore: No such file or directory
src/gui/qt/qttools/qthelper/qthelper.h:19: Fehler: expected class-name before »{« token
src/gui/qt/qttools/qthelper/qthelper.h:20: Fehler: ISO-C++ verbietet Deklaration von »Q_OBJECT« ohne Typ
src/gui/qt/qttools/qthelper/qthelper.h:21: Fehler: expected »;« before »public«
src/gui/qt/qttools/qthelper/qthelper.h:29: Fehler: »QString« bezeichnet keinen Typ
make[1]: *** [obj/configfile.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/BuZZ-dEE/pokerth'
make: *** [sub-pokerth_lib-pro-make_default-ordered] Fehler 2

and after i used this howto: http://wiki.ubuntuusers.de/Spiele/PokerTH#head-ec3e4e85bd75d0dcd5a719182a0e9e364f5bfab6

2.)

BuZZ-dEE@AFK:~$ cd pokerth
BuZZ-dEE@AFK:~/pokerth$ ls
ChangeLog Makefile pokerth.ico src
COPYING Makefile.pokerth_game pokerth_lib.pro TODO
data Makefile.pokerth_lib pokerth.png ts
docs mocs pokerth.pro uics
INSTALL obj pokerth.rc
lib pokerth_game.pro pokerth_server.pro
mac_post_make.sh pokerth.icns qrc_resources.cpp
BuZZ-dEE@AFK:~/pokerth$ /usr/bin/qmake-qt4 pokerth.pro
BuZZ-dEE@AFK:~/pokerth$ make
make -f Makefile.pokerth_lib
make[1]: Betrete Verzeichnis '/home/BuZZ-dEE/pokerth'
g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/gui/qt -Isrc/gui/qt/qttools -Isrc/gui/qt/qttools/qthelper -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/core/tinyxml -Isrc/core -I/usr/include/qt3 -Iuics/ -Imocs/ -o obj/configfile.o src/config/configfile.cpp
In file included from src/gui/qt/qttools/qttoolswrapper.h:24,
from src/config/configfile.cpp:22:
src/gui/qt/qttools/qthelper/qthelper.h:15:18: error: QtCore: No such file or directory
src/gui/qt/qttools/qthelper/qthelper.h:19: Fehler: expected class-name before »{« token
src/gui/qt/qttools/qthelper/qthelper.h:20: Fehler: ISO-C++ verbietet Deklaration von »Q_OBJECT« ohne Typ
src/gui/qt/qttools/qthelper/qthelper.h:21: Fehler: expected »;« before »public«
src/gui/qt/qttools/qthelper/qthelper.h:29: Fehler: »QString« bezeichnet keinen Typ
make[1]: *** [obj/configfile.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/BuZZ-dEE/pokerth'
make: *** [sub-pokerth_lib-pro-make_default-ordered] Fehler 2
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#912
heyn (User)
Gold Boarder
Posts: 266
graphgraph
User Offline Click here to see the profile of this user
Re:Problems compiling a pokerth svn version on ubu 1 Year, 2 Months ago Karma: 15  
Hi,
I wrote that wiki page as a placeholder (I thought it would be corrected in all kinds of places in no time, but it's all still there). And the two commands you marked as "maybe not right" may only be useful if you want to make a package (you can tell by the wiki page where I came up with these commands).
Anyway, all I can tell is that your system is trying to use qt3 instead of qt4 (both methods). I don't know what could be causing this. I often use a hacky way to make my system forget about qt3, it's detailed here http://www.pokerth.net/component/option,com_joomlaboard/Itemid,58/func,view/id,523/catid,14/limit,6/limitstart,6/ but be careful with that. I'll do some more research later.
heyn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#913
BuZZdEE (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:Problems compiling a pokerth svn version on ubu 1 Year, 2 Months ago Karma: 0  
The two commands I marked as "maybe not right", i can leave out. Ok. The hacky way is to tricky . I will try to find another solution by asking in ubuntu forums. I don't think my system uses qt3, because before a few days it worked fine to compiling the svn source.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#918
heyn (User)
Gold Boarder
Posts: 266
graphgraph
User Offline Click here to see the profile of this user
Re:error with svn on ubuntu 1 Year, 2 Months ago Karma: 15  
Although I don't know why it's doing that, I can guarantee that your system is falling back onto qt3. There's mention of /usr/share/qt3 and /usr/include/qt3 in your log, and the compile error is about qt stuff being unable to compile.
So that's your problem, I just don't know what to suggest as a solution
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#924
BuZZdEE (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
compiling a svn-version of pokerth on ubuntu 1 Year, 2 Months ago Karma: 0  
Now it has worked fine to compiling the pokerth svn (Revision 755) and I have as done everything as before (2.))
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com