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: linking problem trying to build on Ubuntu 12.04 (Hieu Hoang)
2. Re: linking problem trying to build on Ubuntu 12.04
(Walter Mebane)
----------------------------------------------------------------------
Message: 1
Date: Tue, 16 Sep 2014 05:05:28 +0200
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] linking problem trying to build on Ubuntu
12.04
To: Walter Mebane <wmebane@umich.edu>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbh9O4E412=PgRu3GVMgoFasCRK0yBTNBRy6MxR8ux8HRA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
oh, didn't see that. However, that's worrying as you may have multiple
versions of boost in your system directory.
as a comparison, we use ubuntu 12.04 on our own servers. Boost is not
installed in the system path, or only installed by apt-get, never with sudo.
Running the instruction on
http://www.statmt.org/moses/?n=Development.GetStarted
works out of the box
On 16 September 2014 02:51, Walter Mebane <wmebane@umich.edu> wrote:
> I do have permission. That's why it's "sudo ./b2".
>
> Walter
>
> On Mon, Sep 15, 2014 at 8:48 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk> wrote:
>
>> 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 <wmebane@umich.edu> 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 <Hieu.Hoang@ed.ac.uk> 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 <wmebane@umich.edu> 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: wmebane@umich.edu
>>>>> 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
>>>>> Moses-support@mit.edu
>>>>> 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: wmebane@umich.edu
>>> 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
>>> Moses-support@mit.edu
>>> 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: wmebane@umich.edu
> 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
>
--
Hieu Hoang
Research Associate
University of Edinburgh
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140916/7f34520b/attachment-0001.htm
------------------------------
Message: 2
Date: Mon, 15 Sep 2014 23:46:06 -0400
From: Walter Mebane <wmebane@umich.edu>
Subject: Re: [Moses-support] linking problem trying to build on Ubuntu
12.04
To: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAMFh1uq_2bzjOia_vm5=UasO1ibbbUO4aG8jdj-rGL-VN3id+A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
SUCCESS! Thanks.
Kenneth had it: linking via the ./bjam for Moses was being confused by
having multiple installs of boost. First I removed lib-boost-all installed
from Ubuntu. Then it was also necessary to remove the boost-installed
files from /usr/local/. The build operations worked even with the extra
flags in
./bootstrap.sh --with-icu --with-python=/usr/bin/python
Otherwise the build worked using the same steps as at
http://www.statmt.org/moses/?n=Development.GetStarted
Thanks.
Walter
On Mon, Sep 15, 2014 at 11:05 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk> wrote:
> oh, didn't see that. However, that's worrying as you may have multiple
> versions of boost in your system directory.
>
> as a comparison, we use ubuntu 12.04 on our own servers. Boost is not
> installed in the system path, or only installed by apt-get, never with sudo.
>
> Running the instruction on
> http://www.statmt.org/moses/?n=Development.GetStarted
> works out of the box
>
>
> On 16 September 2014 02:51, Walter Mebane <wmebane@umich.edu> wrote:
>
>> I do have permission. That's why it's "sudo ./b2".
>>
>> Walter
>>
>> On Mon, Sep 15, 2014 at 8:48 PM, Hieu Hoang <Hieu.Hoang@ed.ac.uk> wrote:
>>
>>> 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 <wmebane@umich.edu> 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 <Hieu.Hoang@ed.ac.uk>
>>>> 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 <wmebane@umich.edu> 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: wmebane@umich.edu
>>>>>> 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
>>>>>> Moses-support@mit.edu
>>>>>> 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: wmebane@umich.edu
>>>> 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
>>>> Moses-support@mit.edu
>>>> 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: wmebane@umich.edu
>> 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
>>
>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>
--
Walter R. Mebane, Jr. email: wmebane@umich.edu
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140915/0fcd6b6e/attachment.htm
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 95, Issue 25
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 95, Issue 25"
Post a Comment