Hi
thanks a lot for the advices...

I compiled again the boost libraries 1.41.0 using the flag --prefix=/usr.
Now i have:
1)all the headers are inside the /usr/include/boost.
2)an old version (1.33) of the boost libboost_* are in /usr/lib64
3)new version of the boost libboost_* are in boost_1_41_0/bin.v2/libs/

I run
./configure --with-srilm=/home/turchmo/Libraries/srilm/
--with-xmlrpc-c=/home/turchmo/Libraries/xmlrpc-c/xmlrpc-c-config
--with-boost=/home/turchmo/Libraries/boost_1_41_0/
--with-boost-thread=boost_thread-gcc41-mt --enable-threads

but i got the same messsage:
checking for boostlib >= 1.35.0... configure: error: ....

the problem is that the configure finds an old version (1.33...) that has
been installed with linux...

Thanks a lot
Marco


On Sat, Nov 21, 2009 at 11:17 AM, Barry Haddow <[email protected]> wrote:

> Hi Marco
>
> Yes, the boost automake is a bit awkward. You could try
> replacing --with-boost-thread=boost_thread-gcc43-mt
> with --with-boost-thread=boost_thread-gcc41-mt, since you're using gcc 4.1.
> This label is part of the versioning suffix that boost adds to the shared
> libraries.
>
> Also, check that the boost include files are
> in /home/turchmo/Libraries/boost_1_41_0/include. This is probably where it
> is
> looking for them.
>
> If none of this works, then post your config.log so I can have a look at
> it,
>
> regards
> Barry
>
> On Friday 20 November 2009 18:35:34 marco turchi wrote:
> > Hi,
> > I'm trying to install Moses server on a linux machine at 64-bit, gcc
> > 4.1.2-46. I have installed the boost library, but when I run the
> configure
> > file, it does not find them:
> >
> > ./configure --with-srilm=/home/turchmo/Libraries/srilm/
> > --with-xmlrpc-c=/home/turchmo/Libraries/xmlrpc-c/xmlrpc-c-config
> > --with-boost=/home/turchmo/Libraries/boost_1_41_0/  --enable-threads
> >
> > ...
> >
> > checking for ranlib... ranlib
> > checking for XMLRPC-C... ok
> > configure: Building threaded moses
> > checking for boostlib >= 1.35.0... configure: error: We could not detect
> > the boost libraries (version 1.35 or higher). If you have a staged boost
> > library (still not installed) please specify $BOOST_ROOT in your
> > environment and do not give a PATH to --with-boost option.  If you are
> sure
> > you have boost installed, then check your version number looking in
> > <boost/version.hpp>. See http://randspringer.de/boost for more
> > documentation.
> >
> > in the moses documentation it is written that if i work on 64-bit
> machine,
> > I may have to add:
> > --with-boost-thread=boost_thread-gcc43-mt
> >
> > I tried but I got the same error. What is it the label
> > "boost_thread-gcc43-mt"?  is it a link to something?
> >
> > Please can u help to understand what it is going here?
> >
> > Thanks
> > Marco
>
>
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to