
there are boost 1.38 debian packages. if you use debian stable, go to packages.debian.org, search for "libboost-dev" and choose distribution "any". you'll find libboost1.38-dev or something like that. download that and all the required dependencies you don't already have, and you'll get boost 1.38 without building it yourself and without updating debian to testing or unstable. Am Friday 21 August 2009 15:03:02 schrieb Jónatan Nilsson:
Hi all.
I am trying to compile Ghost++, a Warcraft 3 dedicated server program and one of it's dependency is Boost. The following is the instruction on how to compile Boost from the Ghost++ documentation (a.k.a. the readme file):
-------------------------------- You'll need Boost version 1.38.0 (or potentially any newer versions). If your package manager has this version available please use it instead of installing it manually. To install Boost manually:
7. Download and extract Boost 1.38.0 from http://www.boost.org/ 8. su to root. 9. ./configure --prefix=/usr --with-libraries=date_time,thread,system,filesystem,regex 10. Edit the newly created Makefile with your favourite text editor. The second line should be "BJAM_CONFIG=". Replace it with "BJAM_CONFIG= --layout=system". 11. make install --------------------------------
Unfortunately you have removed the ./confiigure and make and replaced them with new commands: bootstrap & bjam. I tried running the following commands:
-------------------------------- ./bootstrap.sh --with-libraries=date_time,thread,system,filesystem,regex ./bjam install --------------------------------
But when I try to 'make' Ghost++ I get the following error:
-------------------------------- # make ... bnet.cpp:38:32: error: boost/filesystem.hpp: No such file or directory bnet.cpp:39:27: error: boost/regex.hpp: No such file or directory ... --------------------------------
What am I doing wrong :S I am using debian linux and I tried to apt-get install boost but the newest version there was 1.35 and when I tried running 'make' on Ghost++ after installing those packages I received a new set of errors:
-------------------------------- bnet.cpp:1739: error: âclass boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std: :basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >â has no member named âfilenameâ bnet.cpp:1741: error: âclass boost::filesystem::basic_directory_entry<boost::filesystem::basic_path<std: :basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >â has no member named âfilenameâ bnet.cpp:1757: error: âstruct boost::filesystem::pathâ has no member named âfilenameâ make: *** [bnet.o] Error 1 --------------------------------
Now I am stuck with no idea on what could be wrong with the boost installation... Much help appreciated :)
Sincerely: Jonatan Nilsson Iceland _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users