Inte
User
 Junior Boarder
| Posts: 8 |   | Karma: 0
|
SVN compiling issues / missing boost/filesystem.h - 2007/09/28 04:22
I'm writing an ebuild (gentoo) for PokerTH's svn. Obviously there's something wrong:
| Code: | Checked out revision 884.
* working copy: /var/tmp/portage/games-board/pokerth-9999/distdir}/svn-src//pokerth/pokerth
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-board/pokerth-9999/work/pokerth ...
/usr/bin/qmake pokerth_lib.pro -unix -o Makefile.pokerth_lib
make -f Makefile.pokerth_lib
make[1]: Entering directory `/var/tmp/portage/games-board/pokerth-9999/work/pokerth'
g++ -c -pipe -O2 -march=pentium-m -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -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/
libircclient/include -Isrc/core -Imocs -Iuics -o obj/game.o src/game.cpp
g++ -c -pipe -O2 -march=pentium-m -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -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/
libircclient/include -Isrc/core -Imocs -Iuics -o obj/session.o src/session.cpp
g++ -c -pipe -O2 -march=pentium-m -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -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/
libircclient/include -Isrc/core -Imocs -Iuics -o obj/playerdata.o src/playerdata.cpp
g++ -c -pipe -O2 -march=pentium-m -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -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/
libircclient/include -Isrc/core -Imocs -Iuics -o obj/configfile.o src/config/configfile.cpp
src/config/configfile.cpp:31:32: error: boost/filesystem.hpp: No such file or directory
src/config/configfile.cpp: In constructor 'ConfigFile::ConfigFile(int, char**)':
src/config/configfile.cpp:148: error: 'boost::filesystem' has not been declared
src/config/configfile.cpp:148: error: expected `;' before 'startPath'
src/config/configfile.cpp:153: error: 'startPath' was not declared in this scope
src/config/configfile.cpp: In member function 'void ConfigFile::fillBuffer()':
src/config/configfile.cpp:321: warning: statement has no effect
src/config/configfile.cpp: In member function 'void ConfigFile::updateConfig(ConfigState)':
src/config/configfile.cpp:384: error: 'boost::filesystem' has not been declared
src/config/configfile.cpp:384: error: expected `;' before 'startPath'
src/config/configfile.cpp:456: error: 'startPath' was not declared in this scope
src/config/configfile.cpp:487: warning: statement has no effect
make[1]: *** [obj/configfile.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-board/pokerth-9999/work/pokerth'
make: *** [sub-pokerth_lib-pro-make_default-ordered] Error 2
|
Got it
DEPEND=">=dev-libs/boost-1.34"
Jabber: kral@jabber.org |