We have tested and mgizapp compiles/installs on Ubuntu 12.10. Here are the dependencies you'll need:
apt-get install build-essential libboost-all-dev cmake I attached two scripts we use in our setup. You can modify them to suite your locations. You'll notice that in make-mgizapp.sh, we re-run cmake if the first run failed. The newer linker/compilers are more sensitive to the order of include statements. It seems the first failed attempt leaves something in place and allows a successful second run. This was done for Ubuntu 10.04 but I haven't tested if the error-trap engages on newer versions. I would suggest you try to use 12.04 LTS. The last we tried 12.10 (3 weeks ago), the UI and many add-on components were buggy. 12.04 is more stable and reliable as an LTS. My favorite is still 10.04. Tom On 2012-12-25 06:38, Peter Yu wrote: > Boost: 1.49 (installed via apt-get) > cmake: 2.8.9 > gcc/g++: 4.7.2 > ubuntu: 12.10 > > Thanks! > > On 12/24/12 6:25 PM, Hieu Hoang wrote: > >> what is your gcc, cmake, boost and ubuntu versions? >> >> On 24/12/2012 22:23, Peter Yu wrote: >> >>> I've tried cmake also. It stops with the same error... >>> >>> Sent from my mobile phone >>> >>> -------- Original message -------- >>> From: 高勤 <[email protected]> >>> Date: >>> To: Peter Yu <[email protected]>,[email protected] >>> Subject: RE: [Moses-support] MGIZA++ compile error >>> >>> Hi Peter, >>> >>> We have switched mgiza to cmake, you may try cmake then make. >>> >>> Thank you >>> >>> Sent from my Windows Phone >>> From: Peter Yu >>> Sent: 12/24/2012 2:38 PM >>> To: [email protected] >>> Subject: [Moses-support] MGIZA++ compile error >>> Happy Holidays everyone! >>> >>> I've been trying to install mgiza (I've successfully compiled giza++ >>> already), but having a hard time doing so. I know this problem is not >>> exactly Moses related, but I tried Stackoverflow with no avail. Since >>> Moses relies on tools like mgiza and giza++, I thought people on this >>> list may be able to help me out. >>> >>> To keep things simple, I'll provide the link to my question on Stack >>> over flow. In short, I think it has something to do with Boost, but not >>> too sure. >>> >>> Here's the link: >>> http://stackoverflow.com/questions/14016886/mgiza-compile-error [2] >>> >>> Thank you very much and Happy Holidays! >>> >>> Peter >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] >>> http://mailman.mit.edu/mailman/listinfo/moses-support [1] >>> >>> _______________________________________________ >>> Moses-support mailing list >>> [email protected] >>> http://mailman.mit.edu/mailman/listinfo/moses-support [1] >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support [1] > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support [1] Links: ------ [1] http://mailman.mit.edu/mailman/listinfo/moses-support [2] http://stackoverflow.com/questions/14016886/mgiza-compile-error
make-mgizapp.sh
Description: Bourne shell script
install-mgizapp.sh
Description: Bourne shell script
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
