Boost logo

Boost Users :

Subject: Re: [Boost-users] Help with compiling boost for Debian (receiving file not found error when compiling boost-dependant program)
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-08-21 12:43:07


Jónatan Nilsson wrote:

> 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

You might be missing either --prefix=/usr above...

> ./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

... or --with-boost=/usr/local option to the configure of your project,
if that supports it.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net