To Kenneth Heafield (sorry I get msgs in digest form): $HOME makes no difference.
No previous version of Moses installed. For Boost, version 48 (I think) got installed into /usr/lib via Ubuntu package. The local installation of version 55 (or 56) is into /usr/local/lib/ Walter On Mon, Sep 15, 2014 at 8:51 PM, <[email protected]> wrote: > Send Moses-support mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 > (Kenneth Heafield) > 2. Re: linking problem trying to build on Ubuntu 12.04 (Hieu Hoang) > 3. Re: linking problem trying to build on Ubuntu 12.04 > (Walter Mebane) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 15 Sep 2014 20:47:24 -0400 > From: Kenneth Heafield <[email protected]> > Subject: Re: [Moses-support] linking problem trying to build on Ubuntu > 12.04 > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Try > > ./bjam --with-boost=$HOME/src/boost_1_55_0 -j4 -a > > Also, is there some old version installed on the system? > > > On 09/15/14 20:38, Walter Mebane 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] > > <mailto:[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] > > <mailto:[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] > > <mailto:[email protected]> > > Professor cell: 607/592-0546 > > <tel:607%2F592-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] <mailto:[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] > > <mailto:[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 > > > > > ------------------------------ > > Message: 2 > Date: Tue, 16 Sep 2014 02:48:18 +0200 > From: Hieu Hoang <[email protected]> > Subject: Re: [Moses-support] linking problem trying to build on Ubuntu > 12.04 > To: Walter Mebane <[email protected]> > Cc: moses-support <[email protected]> > Message-ID: > < > caekmkbhune84x_4hep9hpfmxby4f3royvcbthrf5jqzgt18...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20140916/85f7c277/attachment-0001.htm > > ------------------------------ > > Message: 3 > Date: Mon, 15 Sep 2014 20:51:06 -0400 > From: Walter Mebane <[email protected]> > Subject: Re: [Moses-support] linking problem trying to build on Ubuntu > 12.04 > To: Hieu Hoang <[email protected]> > Cc: moses-support <[email protected]> > Message-ID: > < > camfh1uowcw1vbzgx4jho6ftv3fc8yh0tve3fkgpbm2aun6v...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I do have permission. That's why it's "sudo ./b2". > > Walter > > On Mon, Sep 15, 2014 at 8:48 PM, Hieu Hoang <[email protected]> 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 <[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 > > > > > > > -- > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://mailman.mit.edu/mailman/private/moses-support/attachments/20140915/b7c5ae41/attachment.htm > > ------------------------------ > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > > End of Moses-support Digest, Vol 95, Issue 23 > ********************************************* > -- 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
