More to the point, what happens without the 2>/dev/null ? When installing Boost on your own, the only supported method is in BUILD_INSTRUCTIONS.txt .
Kenneth On 09/24/12 10:54, Barry Haddow wrote: > Hi Herry > > I would strongly recommend that you use the standard boost packages from > your distribution - I think ubuntu 12.04 is on version 1.46 of boost. > > Probably boost is installed in a non-standard location, or in a > non-standard layout. What happens if you run the following? > > g++ -dM -x c++ -E /dev/null -include boost/version.hpp 2>/dev/null |grep > '#define BOOST_' > > cheers - Barry > > On 24/09/12 10:02, Herry Sujaini wrote: >> Hi, >> I'm trying to compile Moses on Ubuntu 12.04 (I'm using Boost ver 1.51.0) >> I get the following error message : "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 why? any ideas? >> I used to compile Moses in Ubuntu 11.10 (Boost ver 1.48.0), no problem >> as above. >> >> Regards, >> >> Herry S >> >> >> >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support > > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
