i think for the b2 command, you must copy exactly what's on the page
   http://www.statmt.org/moses/?n=Development.GetStarted
don't add any extra args, don't take out any args. Specifically, the
argument
  --prefix=$PWD
tells bjam to install the lib files to the current directory, rather than
the system directory, which you don't have permission

On 16 September 2014 02:38, Walter Mebane <[email protected]> wrote:

> Same failure when following GetStarted by building Boost via
>
> ./bootstrap.sh
> sudo ./b2 --clean
> sudo ./b2 -a --layout=tagged link=static threading=multi,single install
> --with-thread --with-filesystem
>
> and then trying to build Moses via
>
> ./bjam --with-boost=~/src/boost_1_55_0 -j4 -a
>
> build.log.z attached.
>
> Walter
>
> On Mon, Sep 15, 2014 at 7:48 PM, Hieu Hoang <[email protected]> wrote:
>
>> did you do
>>   bootstrap.sh
>> or
>>   ./bootstrap.sh
>> ?
>> If you copy and paste the boost compiling instructions here
>>    http://www.statmt.org/moses/?n=Development.GetStarted
>> it should work out of the box. No need for extra flags
>>
>> On 16 September 2014 01:34, Walter Mebane <[email protected]> wrote:
>>
>>> Problems trace to messages (in build.log) like
>>>
>>> undefined reference to `boost::thread::join_noexcept()'
>>>
>>> I get the same problem when using either boost_1_55_0 or boost_1_56_0.
>>>  To install boost-1-55-0 I used
>>>
>>> bootstrap.sh --with-icu --with-python=/usr/bin/python
>>> ./b2 -a --layout=tagged link=static threading=multi,single install
>>> --with-thread --with-filesystem
>>>
>>> It also failed in the same way when I omitted the two --with options.
>>>
>>> The Moses build attempt command was
>>>
>>> ./bjam -a --with-boost=~/src/boost_1_55_0 -j4
>>>
>>> It also failed in the same way when I used the boost version installed
>>> via libboost-all-dev and used
>>>
>>> ./bjam -a -j4
>>>
>>> I saw some similiar complaints in the Mail Archive.  The attempt using
>>> boost-1_55_0 follows what's on
>>> http://www.statmt.org/moses/?n=Development.GetStarted
>>>
>>> Walter
>>> --
>>> Walter R. Mebane, Jr.           email:  [email protected]
>>> Professor                             cell:  607/592-0546
>>> Departments of Political Science and of Statistics
>>> University of Michigan            WWW:  http://www.umich.edu/~wmebane
>>>
>>> 7735 Haven Hall
>>> 505 S. State St.
>>> Ann Arbor, MI 48109-1045
>>>
>>> _______________________________________________
>>> Moses-support mailing list
>>> [email protected]
>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>
>>
>> --
>> Hieu Hoang
>> Research Associate
>> University of Edinburgh
>> http://www.hoang.co.uk/hieu
>>
>>
>
>
> --
> Walter R. Mebane, Jr.           email:  [email protected]
> Professor                             cell:  607/592-0546
> Departments of Political Science and of Statistics
> University of Michigan            WWW:  http://www.umich.edu/~wmebane
>
> 7735 Haven Hall
> 505 S. State St.
> Ann Arbor, MI 48109-1045
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


-- 
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to