Hi Alex Good to hear you got boost working. However moses shouldn't dump core, and the current svn version passes all regression tests for me.
Can you get a stack trace from the core file? You may have to do a non- optimised build to get something sensible (run export CXXFLAGS=-g before ./configure, I think), cheers - Barry On Saturday 12 Mar 2011 11:39:56 Alexander Fraser wrote: > Hi Barry, > > Thanks for the reminder to check config.log, it was picking up > /home/users6/fraser/include/boost-1_34_1_AMF_DISABLED_THIS rather than > /home/users6/fraser/include/boost. > > It now compiles, and you can get a usage. (I had to upgrade IRSTLM > from 5.50.02 (which there is currently a warning message about) to > 5.60.1 to compile (I got 5.60.01 from the IRSTLM home page, > sourceforge offers 5.50.01); I also no longer need the > LD_LIBRARY_PATH). > > However, it dumps core as soon as you try to do anything (e.g., the > regression tests on both chart and phrase decoders). > > I tried a fresh checkout, with *no* configure flags (i.e., no external > language models, no boost). This also dumps core. Let me know if you > can not repeat this, and thanks for your help! > > Cheers, Alex > > On Fri, Mar 11, 2011 at 7:09 PM, Barry Haddow <[email protected]> wrote: > > Hi Alex > > > > The boost macro was recently changed to this one > > https://github.com/tsuna/boost.m4 > > which seems to work better in most circumstances. > > > > Do you have boost installed in /home/users6/fraser (with lib and > > include), or just compiled there? Is its version > 1.36? Can you send me > > your config.log? > > > > best regards - Barry > > > > On Friday 11 March 2011 17:46, Alexander Fraser wrote: > >> Hi Folks, > >> > >> There seems to be some brokenness in configure for version 3926. I > >> have boost 1.45 installed in my home directory, and the check fails: > >> > >> % ./regenerate-makefiles.sh > >> % ./configure --with-srilm=/home/users6/fraser/statmt/srilm-1.5.7 > >> --with-irstlm=/home/users6/fraser/statmt/irstlm-5.50.02 > >> --with-randlm=/home/users6/fraser/statmt/randlm-v0.20 --enable-threads > >> --with-boost=/home/users6/fraser --with-boost-thread=boost_thread > >> ... > >> configure: WARNING: unrecognized options: --with-boost-thread > >> ... > >> configure: Using Boost library > >> checking for Boost headers version >= 103600... no > >> configure: error: cannot find Boost headers version >= 103600 > >> > >> > >> It works fine in version 3725: > >> > >> % ./regenerate-makefiles.sh > >> % ./configure --with-srilm=/home/users6/fraser/statmt/srilm-1.5.7 > >> --with-irstlm=/home/users6/fraser/statmt/irstlm-5.50.02 > >> --with-randlm=/home/users6/fraser/statmt/randlm-v0.20 --enable-threads > >> --with-boost=/home/users6/fraser --with-boost-thread=boost_thread > >> ... > >> % make -j 4 > >> ... > >> % export LD_LIBRARY_PATH=/home/users6/fraser/lib > >> % moses-cmd/src/moses > >> (prints usage) > >> > >> > >> Thanks!! > >> > >> Cheers, Alex > >> _______________________________________________ > >> Moses-support mailing list > >> [email protected] > >> http://mailman.mit.edu/mailman/listinfo/moses-support > > > > -- > > The University of Edinburgh is a charitable body, registered in > > Scotland, with registration number SC005336. > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
