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: Build fails on my Mac (Hieu Hoang)
2. Call for Papers: [ICETC2016] The Third International
Conference on Education Technologies and Computers - Lebanon
(Sandra Evans)
3. Re: Build fails on my Mac (Hieu Hoang)
----------------------------------------------------------------------
Message: 1
Date: Wed, 4 Nov 2015 22:25:38 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Build fails on my Mac
To: Nicolas P?cheux <nicolas.pecheux@limsi.fr>
Cc: moses-support <moses-support@mit.edu>
Message-ID: <563A85E2.4030501@gmail.com>
Content-Type: text/plain; charset="utf-8"
I use OSX Yosemite, but have used various versions of OSX previously.
Some things to note:
1. The compile.sh script doesn't work on OSX. You need to use bjam
directly. I've added the notes on how to use it back onto the website.
I've also added a section on compiling on OSX.
http://www.statmt.org/moses/?n=Development.GetStarted
2. Don't install any other gcc compiler, especially from Macports
etc. Only use the default compiler that comes with OSX/XCode. If you
have installed gcc from Macports you must delete the ENTIRE Macport
directory (/opt/local). Failure to do so causes confusion in the libraries
3. I personally compile Boost myself rather than rely on Macport. You
can install it via Macport, but you need to understand the environment
variables that affect compilation.
https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
On 04/11/2015 17:21, Nicolas P?cheux wrote:
> Dear Hieu,
>
> Many thanks for your answer.
>
> My compiler is the one shipped with my mac:
>
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
> build 5658) (LLVM build 2336.11.00)
> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc.
> build 5658) (LLVM build 2336.11.00)
>>
>> what happens when you delete 'typename' in
>> TargetPhraseCollectionCache.cpp line 28?
> If I do this, then this file do compile (cf. build_target_phrase.log.gz)
>
> However I still get a typename error in:
>
> moses/TranslationModel/CompactPT/PhraseDictionaryCompact.cpp:47:
> error: using ?typename? outside of template
>
> But if I also remove that typename the build still does not works (cf.
> build_phrase_dictionary.log.gz)
>
> I also installed an upgraded gcc version (5.2.0). The builds works (I
> have tons of warnings though) but I am not able to run the binaries:
>
> $ ~/moses/bin/extractor
> dyld: Library not loaded: libboost_thread.dylib
> Referenced from: /Users/pecheux/moses/bin/extractor
> Reason: image not found
> Trace/BPT trap: 5
>
> I tried to provide the BOOST install path by adding the following line
> in my .bash_profile, without success
>
> DYLD_LIBRARY_PATH="~/moses/opt/lib"
>
> I also tried to compile with the --static option (./compile --static),
> but the build then fails (cf. build_gcc52_static.log.gz)
>
> If you have any idea what else I should try.
>
> Best regards,
>
> Nicolas
>>
>> Hieu Hoang
>> http://www.hoang.co.uk/hieu
>>
>> On 1 November 2015 at 20:01, Nicolas P?cheux
>> <nicolas.pecheux@limsi.fr <mailto:nicolas.pecheux@limsi.fr>> wrote:
>>
>> Dear moses-support,
>>
>> I am experimenting trouble trying to install Moses on my own
>> laptop. I have successfully installed Moses previously on other
>> machines.
>>
>> My configuration is MacOsX 10.7.5 (Lion). I have installed Macports.
>>
>> I first ran as suggested
>>
>> make -f contrib/Makefiles/install-dependencies.gmake
>>
>> and everything seemed to work as expected (I do see the install
>> in ./opt)
>>
>> But then
>>
>> ./compile.sh
>>
>> fails on 83 targets.
>>
>> Attached is the /build.log.gz. /The recommended command to get
>> this was
>>
>> ./jam-files/bjam --with-irstlm=./opt --with-boost=./opt
>> --with-cmph=./opt --with-xmlrpc-c=./opt -j 1
>> --debug-configuration -d2 |gzip >build.log.gz
>>
>> but this seems to fail as /boost-build.jam/ is not found. I ran
>> instead
>>
>> ./bjam --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt
>> --with-xmlrpc-c=./opt -j 1 --debug-configuration -d2 |gzip
>> >build.log.gz
>>
>> Maybe I am doing something wrong. Is there some variable I need
>> to adjust so the internal BOOST build is found?
>>
>> Many thanks for your help.
>>
>> --
>> Nicolas P?cheux
>> Univ. Paris XI, LIMSI-CNRS
>> Bur : 27 - LIMSI Bat. S
>> nicolas.pecheux@limsi.fr <mailto:nicolas.pecheux@limsi.fr>
>> http://nicolas.pecheux.fr
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Nicolas P?cheux
> Univ. Paris XI, LIMSI-CNRS
> Bur : 27 - LIMSI Bat. S
> nicolas.pecheux@limsi.fr
> http://nicolas.pecheux.fr
--
Hieu Hoang
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151104/2cc03047/attachment-0001.html
------------------------------
Message: 2
Date: Thu, 5 Nov 2015 01:21:01 -0800
From: Sandra Evans <sandra.sdiwc@gmail.com>
Subject: [Moses-support] Call for Papers: [ICETC2016] The Third
International Conference on Education Technologies and Computers -
Lebanon
To: moses-support@mit.edu
Message-ID:
<CAEjUHKVdxs9QoWhmweb5UPS=58y1J4MBL4vvs=9+03=5RaPfNQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
The submission is open until March 21, 2016. Please consider submitting
your papers to ICETC2016.
****All registered papers will be published in publisher's Digital
Library.****
BEST registered papers will be published in one of the following special
issues provided that the author do major improvements and extension within
the time frame set by the conference and his/her paper is approved by the
chief editor.
=================================================================================================
The Third International Conference on Education Technologies and Computers
(ICETC2016)
April 21-23, 2016 ? Beirut, Lebanon
Faculty of Engineering - Lebanese University
Website: http://sdiwc.net/conferences/icetc2016/
================
IMPORTANT DATES
================
Submission Dates Open from now until March 21, 2016
Notification of Acceptance March 31, 2016 or 4 weeks from the submission
date
Camera Ready Submission Open until April 11, 2016
Registration Open until April 11, 2016
Conference Dates April 21-23, 2016
You are invited to participate in The Third International Conference on
Education Technologies and Computers (ICETC2016) that will be held at
Faculty of Engineering ? Lebanese University, Campus of Hadath, Beirut,
Lebanon on April 21-23, 2016. The event will be held over three days, with
presentations delivered by researchers from the international community,
including presentations from keynote speakers and state-of-the-art lectures.
ICETC2016 welcomes papers on the following (but not limited to) Education
Technologies and Computers and related research topics.
SUBMISSION LINK:
http://sdiwc.net/conferences/icetc2016/openconf/openconf.php
EMAIL:
icetc16@sdiwc.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151105/5a7e98d4/attachment-0001.html
------------------------------
Message: 3
Date: Thu, 5 Nov 2015 10:51:56 +0000
From: Hieu Hoang <hieuhoang@gmail.com>
Subject: Re: [Moses-support] Build fails on my Mac
To: Nicolas P?cheux <nicolas.pecheux@limsi.fr>, moses-support
<moses-support@mit.edu>
Message-ID: <563B34CC.30800@gmail.com>
Content-Type: text/plain; charset="utf-8"
great. fyi, i've replaced nproc with something else, compile.sh now
works on osx too.
https://github.com/moses-smt/mosesdecoder/commit/befd1a4ebb1ad0a19bb51185a5391fb6fea86bdd
On 05/11/2015 00:31, Nicolas P?cheux wrote:
> Dear Hieu,
>
> Many thanks for your answer. Everything is working as expected now. I
> compiled both boost and moses with the toolset=clang option and got no
> errors (just a buch of warnings) and the sample-model example works fine.
>
> The compile.sh seems to work well on my mac (only the 'nproc' command
> does not exist so I replace that one, as well as in the makefile to
> install boost).
>
> Thanks again for your immediate support.
>
> Nicolas
>> I use OSX Yosemite, but have used various versions of OSX previously.
>> Some things to note:
>> 1. The compile.sh script doesn't work on OSX. You need to use bjam
>> directly. I've added the notes on how to use it back onto the
>> website. I've also added a section on compiling on OSX.
>> http://www.statmt.org/moses/?n=Development.GetStarted
>>
>> 2. Don't install any other gcc compiler, especially from Macports
>> etc. Only use the default compiler that comes with OSX/XCode. If you
>> have installed gcc from Macports you must delete the ENTIRE Macport
>> directory (/opt/local). Failure to do so causes confusion in the
>> libraries
>>
>> 3. I personally compile Boost myself rather than rely on Macport.
>> You can install it via Macport, but you need to understand the
>> environment variables that affect compilation.
>> https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
>>
>>
>> On 04/11/2015 17:21, Nicolas P?cheux wrote:
>>> Dear Hieu,
>>>
>>> Many thanks for your answer.
>>>
>>> My compiler is the one shipped with my mac:
>>>
>>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple
>>> Inc. build 5658) (LLVM build 2336.11.00)
>>> i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple
>>> Inc. build 5658) (LLVM build 2336.11.00)
>>>>
>>>> what happens when you delete 'typename' in
>>>> TargetPhraseCollectionCache.cpp line 28?
>>> If I do this, then this file do compile (cf. build_target_phrase.log.gz)
>>>
>>> However I still get a typename error in:
>>>
>>> moses/TranslationModel/CompactPT/PhraseDictionaryCompact.cpp:47:
>>> error: using ?typename? outside of template
>>>
>>> But if I also remove that typename the build still does not works
>>> (cf. build_phrase_dictionary.log.gz)
>>>
>>> I also installed an upgraded gcc version (5.2.0). The builds works
>>> (I have tons of warnings though) but I am not able to run the binaries:
>>>
>>> $ ~/moses/bin/extractor
>>> dyld: Library not loaded: libboost_thread.dylib
>>> Referenced from: /Users/pecheux/moses/bin/extractor
>>> Reason: image not found
>>> Trace/BPT trap: 5
>>>
>>> I tried to provide the BOOST install path by adding the following
>>> line in my .bash_profile, without success
>>>
>>> DYLD_LIBRARY_PATH="~/moses/opt/lib"
>>>
>>> I also tried to compile with the --static option (./compile
>>> --static), but the build then fails (cf. build_gcc52_static.log.gz)
>>>
>>> If you have any idea what else I should try.
>>>
>>> Best regards,
>>>
>>> Nicolas
>>>>
>>>> Hieu Hoang
>>>> http://www.hoang.co.uk/hieu
>>>>
>>>> On 1 November 2015 at 20:01, Nicolas P?cheux
>>>> <nicolas.pecheux@limsi.fr> wrote:
>>>>
>>>> Dear moses-support,
>>>>
>>>> I am experimenting trouble trying to install Moses on my own
>>>> laptop. I have successfully installed Moses previously on other
>>>> machines.
>>>>
>>>> My configuration is MacOsX 10.7.5 (Lion). I have installed
>>>> Macports.
>>>>
>>>> I first ran as suggested
>>>>
>>>> make -f contrib/Makefiles/install-dependencies.gmake
>>>>
>>>> and everything seemed to work as expected (I do see the install
>>>> in ./opt)
>>>>
>>>> But then
>>>>
>>>> ./compile.sh
>>>>
>>>> fails on 83 targets.
>>>>
>>>> Attached is the /build.log.gz. /The recommended command to get
>>>> this was
>>>>
>>>> ./jam-files/bjam --with-irstlm=./opt --with-boost=./opt
>>>> --with-cmph=./opt --with-xmlrpc-c=./opt -j 1
>>>> --debug-configuration -d2 |gzip >build.log.gz
>>>>
>>>> but this seems to fail as /boost-build.jam/ is not found. I ran
>>>> instead
>>>>
>>>> ./bjam --with-irstlm=./opt --with-boost=./opt --with-cmph=./opt
>>>> --with-xmlrpc-c=./opt -j 1 --debug-configuration -d2 |gzip
>>>> >build.log.gz
>>>>
>>>> Maybe I am doing something wrong. Is there some variable I need
>>>> to adjust so the internal BOOST build is found?
>>>>
>>>> Many thanks for your help.
>>>>
>>>> --
>>>> Nicolas P?cheux
>>>> Univ. Paris XI, LIMSI-CNRS
>>>> Bur : 27 - LIMSI Bat. S
>>>> nicolas.pecheux@limsi.fr <mailto:nicolas.pecheux@limsi.fr>
>>>> http://nicolas.pecheux.fr
>>>>
>>>>
>>>> _______________________________________________
>>>> Moses-support mailing list
>>>> Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>>>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>>>
>>>>
>>>
>>>
>>> --
>>> Nicolas P?cheux
>>> Univ. Paris XI, LIMSI-CNRS
>>> Bur : 27 - LIMSI Bat. S
>>> nicolas.pecheux@limsi.fr
>>> http://nicolas.pecheux.fr
>>
>> --
>> Hieu Hoang
>> http://www.hoang.co.uk/hieu
>
>
> --
> Nicolas P?cheux
> Univ. Paris XI, LIMSI-CNRS
> Bur : 27 - LIMSI Bat. S
> nicolas.pecheux@limsi.fr
> http://nicolas.pecheux.fr
--
Hieu Hoang
http://www.hoang.co.uk/hieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151105/1c518a97/attachment.html
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 109, Issue 12
**********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 109, Issue 12"
Post a Comment