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