Send Moses-support mailing list submissions to
moses-support@mit.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu
You can reach the person managing the list at
moses-support-owner@mit.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."
Today's Topics:
1. Re: Cannot install moses, bjam failes due to not finding
boost libraries (lib64 in particular) (Daniel Seita)
----------------------------------------------------------------------
Message: 1
Date: Sun, 16 Nov 2014 09:41:09 -0800
From: Daniel Seita <takeshidanny@gmail.com>
Subject: Re: [Moses-support] Cannot install moses, bjam failes due to
not finding boost libraries (lib64 in particular)
To: Hieu Hoang <hieuhoang@gmail.com>
Cc: moses-support@mit.edu
Message-ID:
<CAKUmyF5CnjLfs96z95FAp6v2PHUAzUNFuy=tg24Yd1UdUarY8Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thanks for the assistance. Unfortunately, I am still running into problems.
First, to answer the questions about libboost_thread, I have the following
files:
/usr/local/Cellar/boost/1.56.0/lib/libboost_thread-mt.a
/usr/local/Cellar/boost/1.56.0/lib/libboost_thread-mt.dylib
I'm not sure what the difference of libboost_thread-mt.a versus
libboost_thread.a means.
But in any case, I just uninstalled boost and tried to install it again
using your way and the sourceforge link. Notice that this installs boost
*1.55* instead of 1.56. I installed boost, put it in my home directory, and
then untarred it, and boostrapped it. But then this command fails:
./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static
install || echo failure
There were so many errors that this gave me that I'm not sure how to
interpret them, so I've attached it in a log file in case it helps. I got
the log by running:
./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static
install >> boost_build.log
And in any case I do not see any file that contains "libboost_thread" in it
in the lib64 directory. I am not sure what the issue is with boost.
Thanks,
Daniel
On Sun, Nov 16, 2014 at 8:09 AM, Hieu Hoang <hieuhoang@gmail.com> wrote:
> Hi daniel
>
> On 15/11/14 22:02, Daniel Seita wrote:
>
> Hello everyone,
>
> I'm having some trouble installing boost, because it fails when running
> ./bjam -j8. I'm using Mac OS X 10.9.5. I have *g++* installed in:
>
> /usr/local/bin/g++-4.9
>
> fyi, I think bjam will use the default c++ compiler on your laptop, unless
> you tell it to. So it's actually using clang, not g++, as you can see in
> the error message below
>
>
> and *boost* installed, via homebrew, in:
>
> ls /usr/local/Cellar/boost/1.56.0/
> INSTALL_RECEIPT.json include lib
>
> Notice that the above directory has the *include *and the *lib*
> directories, as required (according to bjam --help). Here is the command I
> ran:
>
> ./bjam --with-boost=/usr/local/Cellar/boost/1.56.0 -j8
>
> And I get a ton of errors that look the same, e.g.,
>
> darwin.link
> lm/bin/darwin-4.2.1/release/debug-symbols-on/link-static/threading-multi/query
> ld: warning: directory not found for option
> '-L/usr/local/Cellar/boost/1.56.0/lib64'
> ld: library not found for -lboost_thread
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> *It seems like the error is that the installer expects 'lib64' instead
> of 'lib'.* (Or could it be 'lib64' *and* 'lib'?) I did some searching but
> wasn't sure how to get the lib64 files. Does anyone have any idea? I have
> attached my build log.
>
> the compiler looks in both lib and lib64 (if available) for the library
> files. In your lib directory, is there a file called
> libboost_thread.so
> or
> libboost_thread.a
> ?
> Personally, I would uninstall the boost library from homebrew and compile
> my own boost library. Follow these instructions if you want to do the same
> http://www.statmt.org/moses/?n=Development.GetStarted
>
>
> Thanks,
> Daniel
>
>
> _______________________________________________
> Moses-support mailing listMoses-support@mit.eduhttp://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20141116/e328b11e/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost_build.log
Type: application/octet-stream
Size: 60187 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20141116/e328b11e/attachment.obj
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 97, Issue 38
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 97, Issue 38"
Post a Comment