Moses-support Digest, Vol 97, Issue 37

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) (Hieu Hoang)


----------------------------------------------------------------------

Message: 1
Date: Sun, 16 Nov 2014 16:09:36 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Cannot install moses, bjam failes due to
not finding boost libraries (lib64 in particular)
To: moses-support@mit.edu, takeshidanny@gmail.com
Message-ID: <5468CC40.1050509@gmail.com>
Content-Type: text/plain; charset="windows-1252"

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 list
> Moses-support@mit.edu
> http://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/13de09aa/attachment-0001.htm

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 97, Issue 37
*********************************************

0 Response to "Moses-support Digest, Vol 97, Issue 37"

Post a Comment