Moses-support Digest, Vol 100, Issue 33

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: compilation error Moses v3.0 (Kenneth Heafield)
2. Re: compilation error Moses v3.0 (Hieu Hoang)
3. Re: training tools missing from R-3 binaries (Tom Hoar)
4. Re: training tools missing from R-3 binaries (Hieu Hoang)


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

Message: 1
Date: Mon, 09 Feb 2015 09:03:42 -0500
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] compilation error Moses v3.0
To: moses-support@mit.edu
Message-ID: <54D8BE3E.5060700@kheafield.com>
Content-Type: text/plain; charset=windows-1252

Hi,

The problem is that BOOST_TEST_DYN_LINK needs to be defined if and only
if boost_unit_test_framework is linked dynamically.

Apparently the build system was defining BOOST_TEST_DYN_LINK and linking
statically in some cases, which was broken. So Hieu did this:

commit d7f5bb41faaac5ca93b9cbb723ad558b2c67d3c2
Author: Hieu Hoang <hieuhoang@gmail.com>
Date: Tue Jan 27 16:22:15 2015 +0000

don't define TEST_DYN_LINK. Doesn't work on OSX with manually
compiled boost

That fixed the cases where it's linked statically and being defined, but
broke all the dynamic link cases, including yours.

I'll try to figure out a better test.

Kenneth

On 02/09/2015 08:49 AM, Fabienne Cap wrote:
> Hi folks,
>
> I just tried to compile the newest Moses version (3.0) on this machine:
>
> Linux falke1.ims.uni-stuttgart.de 3.14.23-100.fc19.x86_64 #1 SMP Thu Oct
> 30 18:36:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> The exact command I used was:
> ./bjam -j8
> --with-giza=/mount/arbeitsdaten9/projekte/morphosynt/fritzife/Moses_Fed19_1.0/giza/
> -a
>
> I attached the logfile to this Email.
>
> I had no problem compiling Moses 2.1.1 with exact that command on the
> same machine...
>
> Thanks for any help, hints and comments!
>
> Cheers,
>
> Fabienne
>
> ------------------------------------------
> Dr. Fabienne Cap (geb. Fritzinger)
> Institut fuer Maschinelle Sprachverarbeitung
> Universitaet Stuttgart
> Tel. 0711/685-84582
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>


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

Message: 2
Date: Mon, 09 Feb 2015 14:07:30 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] compilation error Moses v3.0
To: Fabienne Cap <cap@ims.uni-stuttgart.de>, moses-support@mit.edu
Message-ID: <54D8BF22.2010907@gmail.com>
Content-Type: text/plain; charset="windows-1252"

hiya

there seems to be issues with the unit tests when they are compiled with
certain versions of boost. I tried to fix it but i think it breaks for
some people.

Have the binaries in /bin been successfully compiled? If yes, then
1. ignore the unit test errors
2. use your own version of boost. By following the instructions here
http://www.statmt.org/moses/?n=Development.GetStarted
Basically
i. Download & unzip the boost code
ii. Run
./bootstrap.sh
./b2 -j8 --prefix=$PWD --libdir=$PWD/lib64
--layout=system link=static install || echo FAILURE
If no, then you must do (2)

On 09/02/15 13:49, Fabienne Cap wrote:
> ing Mos

--
Hieu Hoang
Research Associate (until March 2015)
** searching for interesting commercial MT position **
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/20150209/085e0faf/attachment-0001.htm

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

Message: 3
Date: Mon, 09 Feb 2015 23:36:44 +0700
From: Tom Hoar <tahoar@precisiontranslationtools.com>
Subject: Re: [Moses-support] training tools missing from R-3 binaries
To: moses-support <moses-support@mit.edu>
Message-ID: <54D8E21C.4040209@precisiontranslationtools.com>
Content-Type: text/plain; charset=utf-8; format=flowed

I'd like to try building to have the bugfixes after release.

Do you have the Moses and MGIZA++ build instructions for Cygwin? A grep
for "cygwin" in Moses shows many bjam/jam-files references. Is it as
simple as running bjam and (cmake for MGIZA++) on Cygwin?



On 02/08/2015 09:01 AM, Tom Hoar wrote:
> These files are in the Cygwin32 binaries releases folder and in the
> Linux64 folder (less .exe name). They are missing from the Cygwin64
> folder.
>
> d4norm.exe
> hmmnorm.exe
> mgiza.exe
> symal.exe
>
>
>



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

Message: 4
Date: Mon, 9 Feb 2015 16:42:23 +0000
From: Hieu Hoang <Hieu.Hoang@ed.ac.uk>
Subject: Re: [Moses-support] training tools missing from R-3 binaries
To: Tom Hoar <tahoar@precisiontranslationtools.com>
Cc: moses-support <moses-support@mit.edu>
Message-ID:
<CAEKMkbgeCfQ+8nDLA5yPZrtiwbjnE9Sg868RvRGB_dYOP+wvNQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

yep, but i always build my own boost library and link to it. The
executables are more portable that way

Hieu Hoang
Research Associate (until March 2015)
** searching for interesting commercial MT position **
University of Edinburgh
http://www.hoang.co.uk/hieu


On 9 February 2015 at 16:36, Tom Hoar <tahoar@precisiontranslationtools.com>
wrote:

> I'd like to try building to have the bugfixes after release.
>
> Do you have the Moses and MGIZA++ build instructions for Cygwin? A grep
> for "cygwin" in Moses shows many bjam/jam-files references. Is it as
> simple as running bjam and (cmake for MGIZA++) on Cygwin?
>
>
>
> On 02/08/2015 09:01 AM, Tom Hoar wrote:
> > These files are in the Cygwin32 binaries releases folder and in the
> > Linux64 folder (less .exe name). They are missing from the Cygwin64
> > folder.
> >
> > d4norm.exe
> > hmmnorm.exe
> > mgiza.exe
> > symal.exe
> >
> >
> >
>
> _______________________________________________
> 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/20150209/239f6aa9/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 100, Issue 33
**********************************************

0 Response to "Moses-support Digest, Vol 100, Issue 33"

Post a Comment