Subject: Re: [Boost-build] Help. "Boost does not seem to be installed or g++ is confused"
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-01-04 12:29:19
On 01/04/2014 06:50 AM, Asad A.Malik wrote:
> I am trying to install MOSES and to do so I have to install Boost 1st. I've managed to install Boost 1.55 and after that I tried to run this commad:
> ./bjam --prefix=/home/asad/moses/bin/decoder/
> but it says
> Failed to run bash -c "g++ -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep '#define BOOST_'"
> Boost does not seem to be installed or g++ is confused.
> I don't know what is wrong. kindly help me out
Try ./bjam --prefix=... install
Also, you probably need to add -I/home/asad/moses/bin/decoder/include/
to the gcc command line.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk