Moses-support Digest, Vol 206, Issue 3

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
https://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. Moses Build with Boost 1.68.0 Fails (Andrew Beaton)
2. Re: Moses Build with Boost 1.68.0 Fails (Hieu Hoang)


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

Message: 1
Date: Fri, 24 May 2024 15:51:43 +0200
From: "Andrew Beaton" <andrew.beaton@uni-potsdam.de>
To: moses-support@mit.edu
Subject: [Moses-support] Moses Build with Boost 1.68.0 Fails
Message-ID: <ximss-25675184@n-cgpro-be-02.mail.uni-potsdam.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hello,
I'm currently trying to build Moses with Boost 1.68.0 (not the latest
version, but this is for compatibility reasons with a project I'm using for
my thesis). However, the build fails with the following error (full error
log is attached):

/home/users/abeaton/project/thesis/VTLM2/data/mosesdecoder2/opt/boost_1_68_0/tools/build/src/tools/types/docbook.jam:8:
in load
ERROR: rule "Copyright" unknown in module "docbook".

And here is the exact command I used to build Moses:

./bjam --with-boost=opt/boost_1_68_0

Is this a known problem, and is there a fix besides using a more current
version of Boost? I've also tried with the latest version (1.85.0), but then
I receive another error since the boost_1_85_0/tools/build/src/bootstrap.jam
file seems to be missing in the latest version.

Best,
Andrew

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: build.log.gz.txt
URL: <https://mailman.mit.edu/mailman/private/moses-support/attachments/20240524/69ff6f45/attachment-0001.txt>

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

Message: 2
Date: Fri, 24 May 2024 08:23:57 -0700
From: Hieu Hoang <hieuhoang@gmail.com>
To: Andrew Beaton <andrew.beaton@uni-potsdam.de>
Cc: moses-support@mit.edu
Subject: Re: [Moses-support] Moses Build with Boost 1.68.0 Fails
Message-ID:
<CAEKMkbj_DmwxSkPBr_+9Wdu=vgDgN60zA3mfCPCB4wH8aXRd0Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

boost 1.68 worked for me (on Ubuntu 22.04, gcc 11.4). Make sure you use
absolute paths in you bjam command arguments. This is what I use to compile
boost
./bootstrap.sh
./b2 -j4 --prefix=$PWD --libdir=$PWD/lib64 --layout=system link=static
install
This is what I use to compile moses
./bjam -j 6 --with-boost=/home/hihoan/local/workspace/github/boost_1_68_0



Hieu Hoang
https://hieuhoang.github.io/


On Fri, 24 May 2024 at 08:21, Andrew Beaton <andrew.beaton@uni-potsdam.de>
wrote:

> Hello,
> I'm currently trying to build Moses with Boost 1.68.0 (not the latest
> version, but this is for compatibility reasons with a project I'm using
> for
> my thesis). However, the build fails with the following error (full error
> log is attached):
>
> /home/users/abeaton/project/thesis/VTLM2/data/mosesdecoder2/opt/boost_1_68_0/tools/build/src/tools/types/docbook.jam:8:
>
> in load
> ERROR: rule "Copyright" unknown in module "docbook".
>
> And here is the exact command I used to build Moses:
>
> ./bjam --with-boost=opt/boost_1_68_0
>
> Is this a known problem, and is there a fix besides using a more current
> version of Boost? I've also tried with the latest version (1.85.0), but
> then
> I receive another error since the
> boost_1_85_0/tools/build/src/bootstrap.jam
> file seems to be missing in the latest version.
>
> Best,
> Andrew
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> https://mailman.mit.edu/mailman/listinfo/moses-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.mit.edu/mailman/private/moses-support/attachments/20240524/190599a2/attachment-0001.htm>

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

Subject: Digest Footer

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


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

End of Moses-support Digest, Vol 206, Issue 3
*********************************************

0 Response to "Moses-support Digest, Vol 206, Issue 3"

Post a Comment