i think it's ./bjam rather than bjam perhaps we should rename it ./run-bjam to avoid confusion
On Wed, Jan 18, 2012 at 4:58 PM, Stefan Dumitrescu < [email protected]> wrote: > Hello! > > Me again, this time with on a different server and with a different moses > bjam build issue. > > I partially hijacked this thread because it seems to be somewhat related. > > So, building moses on a ubuntu 64 10.10 server (after building mgiza and > srilm without problems), i run: > > sdumitrescu /usr/local/trans/tools/moses > bjam > --with-srilm=/usr/local/trans/tools/srilm > --with-giza=/usr/local/trans/tools/mgiza/bin > > Jamroot:73: in modules.load > *** argument error > * rule option.get ( name : default-value ? ) > * called with: ( clean : : yes ) > * extra argument yes > /usr/share/boost-build/util/option.jam:11:see definition of rule 'get' > being called > /usr/share/boost-build/build/project.jam:312: in load-jamfile > /usr/share/boost-build/build/project.jam:68: in load > /usr/share/boost-build/build/project.jam:170: in project.find > /usr/share/boost-build/build-system.jam:248: in load > /usr/share/boost-build/kernel/modules.jam:261: in import > /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build > /usr/share/boost-build/boost-build.jam:1: in module scope > > I suspect it is boost-related, but after searching for solutions without > any success, i come to you for advice :) > > Boost seems to be ok, it was installed by default with the server. Tried > to reinstall: > sdumitrescu /usr/local/trans/tools/moses > sudo apt-get install > --reinstall libboost-all-dev > [sudo] password for sdumitrescu: > Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not > upgraded. > Need to get 0 B/1,498 B of archives. > After this operation, 0 B of additional disk space will be used. > (Reading database ... 113706 files and directories currently installed.) > Preparing to replace libboost-all-dev 1.42.0.1ubuntu1 (using > .../libboost-all-dev_1.42.0.1ubuntu1_amd64.deb) ... > Unpacking replacement libboost-all-dev ... > Setting up libboost-all-dev (1.42.0.1ubuntu1) ... > > Same for boost-build: > sdumitrescu /usr/local/trans/tools/moses > sudo apt-get install > --reinstall boost-build > Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not > upgraded. > Need to get 0 B/365 kB of archives. > After this operation, 0 B of additional disk space will be used. > (Reading database ... 113706 files and directories currently installed.) > Preparing to replace boost-build 2.0-m12-2 (using > .../boost-build_2.0-m12-2_all.deb) ... > Unpacking replacement boost-build ... > Setting up boost-build (2.0-m12-2) ... > > > Thanks for your suggestions, > Stefan > > > > On 1/12/2012 7:42 AM, Hieu Hoang wrote: > > You have to move boost into the correct directories for gcc to see it. I > personally install boost using macports which takes care of those things > > On Thursday, January 12, 2012, Hobli Taffame <[email protected]> wrote: > > Hi, > > I am trying to setup moses on Mac OS X 10.7.2 using the using the steps > from: http://www.statmt.org/moses_steps.html#versions > > The steps I have successfully configured are: > > > > download and compile GIZA++ and mkcls > > download and compile SRILM > > download and compile IRSTLM > > download and compile boost > > clone moses > > > > But when I try to compile it: > > ./jam --with-srilm=/path/to/this/directory > --with-irstlm=/path/to/this/directory --with-giza=/path/to/the/bin -j2 > > I just get the following error: > > -> Boost does not seem to be installed or g++ is confused. > > Please can you help me to fix this? > > Best regards > > Thayd > > _______________________________________________ > Moses-support mailing > [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support > > > > _______________________________________________ > 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
