Turns out the solution is to set --enable-boost. Once I do that things configure and compile correctly.
In my previous unsuccessful attempts, I must have been setting --with-boost but not --enable boost. Cheers, Lane On Mon, May 23, 2011 at 5:29 AM, Barry Haddow <[email protected]> wrote: > Hi Lane > > On our servers the boost libraries are in /usr/lib64 and it works find. > Could > you run > > ls -l /usr/lib64/libboost_* > > and send me the output? > > cheers - Barry > > On Monday 23 May 2011 10:25, Barry Haddow wrote: > > Hi Lane > > > > Looking at the macro, it should check /usr/lib64, so I don't know why > it's > > not finding the boost libraries for you. > > > > The usual problem with centos is that it has a very old automake - did > you > > install an up-to-date one? > > > > Could you send me your config.log ? > > > > cheers - Barry > > > > On Friday 20 May 2011 19:22, Lane Schwartz wrote: > > > I'm running on Centos 5, and as such have an older version of boost > 1.39 > > > in /usr/include, with the boost libraries in /usr/lib64. > > > > > > In older versions of Moses, I was able to compile Moses with boost by > > > providing a flag to configure --with-boost-libdir=/usr/lib64. This > option > > > is no longer present in trunk. > > > > > > In the current version of trunk, the only relevant option seems to > > > be --with-boost. When I run configure without this option, configure > > > correctly finds the headers in /usr/include, but make fails to find the > > > libraries in /usr/lib64. When I run configure with > > > --with-boost=/usr/lib64, configure fails to find the headers > (presumably > > > because it's looking for them in /usr/lib64!). > > > > > > The old way of being able to specify just the libdir for boost was > > > exactly what I needed. Does anyone know why this option disappeared? Or > > > know of a current way to compile in this situation? > > > > > > Thanks, > > > Lane > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > -- When a place gets crowded enough to require ID's, social collapse is not far away. It is time to go elsewhere. The best thing about space travel is that it made it possible to go elsewhere. -- R.A. Heinlein, "Time Enough For Love"
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
