the cmake build system on mgiza is difficult to use.
I create an alternative compile script for mgiza. If you've download
mgiza via svn, you should find my script in
mgizapp/manual-compile/compile.sh
Look at it, change the paths for your own needs
On 02/04/2014 11:34, Gideon wrote:
Dear Moses support team
I was wondering if MGIZA++ has been test-compiled on a Fedora Linux
system where Boost has been installed using yum, as I'm encountering
some problems. I'm working on a Fedora 20 system with x86_64
architecture. So far I have done the following:
yum install boost.x86_64
yum install boost-devel.x86_64 (version 1.54 was installed)
yum install gcc
yum install gcc-c++
yum install gperftools
Downloaded and installed IRSTLM
./bjam --with-irstlm=/home/kotzegj/tools/irstlm-5.80.03 -j4
--with-boost=/usr/lib64
export BOOST_ROOT=/usr/lib64
export
BOOST_BUILD_PATH=/home/kotzegj/tools/mosesdecoder/jam-files/boost-build
./bjam --with-irstlm=/usr/local/irstlm -j4
I have tested Moses with sample-models and it seems OK.
However, MGIZA++ does not find Boost on its own:
-- Could NOT find Boost
CMake Error at CMakeLists.txt:59 (MESSAGE):
Boost not found, please set the BOOST_ROOT and BOOST_LIBRARYDIR
environment
variables
I have no success with setting either of these variables to:
- /usr/lib64
- /usr/include
- /usr/include/boost
- /home/kotzegj/tools/mosesdecoder/jam-files/boost-build
etc.
or if I download Boost manually, set the decompressed directory as
BOOST_ROOT, and symlink lib64 as a child and set that as
BOOST_LIBRARYDIR. (I've tried all kinds of stuff.)
I have the feeling (after some Googling) that the yum installation
does not result in the file structure that cmake is looking for, and
that instead I should try a manual installation. I hope that I'm wrong?
Thank you for your time.
Best regards,
Gideon Kotzé
---
[email protected] <mailto:[email protected]>
www.gideonkotze.nl <http://www.gideonkotze.nl/>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support