Hello, I ran into the same problem with the "-lz" option. I just want to make sure the problem is not ignored since it does not seem to be in the latest version of mosesdecoder checked out with git. John
On 11/18/11, Guchun Zhang <[email protected]> wrote: > Hi, > > I found the problem that led to the "No such file or directory" error. When > I modified Makefile under scripts/training/lexical-reordering, I > accidentally change the file name score to scor. Once this is corrected, > everything is ok now. > > By the way, the change I have to make in Makefile under > scripts/training/lexical-reordering is from > > $(CXX) *-lz* score.cpp reordering_classes.o -o score > > to > > $(CXX) score.cpp reordering_classes.o *-lz* -o score > > Otherwise, the compiler will report errors. > > Cheers, > > Guchun > > > > On 17 November 2011 19:13, Barry Haddow <[email protected]> wrote: > >> Hi Guchun >> >> >> > checking for the toolset name used by Boost for g++... configure: >> WARNING: >> > could not figure out which toolset name to use for g++ >> >> This is a normal warning from the boost macro, and happens if you're using >> boost libraries without the compiler version in the library name. Nothing >> to >> worry about. >> >> >> > /home/guchun/Work/moses/moses-scripts//scripts-20111117-1818/ >> > rsync: link_stat >> > >> "/home/guchun/Work/moses/mosesdecoder/scripts/training/lexical-reordering/s >> > core" * failed: No such file or directory (2)* >> > rsync error: some files/attrs were not transferred (see previous errors) >> > (code 23) at main.c(1070) [sender=3.0.8] >> > make: *** [release] Error 23 >> >> This indicates that training/lexical-reordering/score was not built. If >> you >> look back at the build log you may find an error message. >> >> > >> > The script directory is actually created. As suggested, I looked back at >> > the compiling info and found the following errors -- >> > >> > ...... >> > configure: creating ./config.status >> > config.status: error: cannot find input file: Makefile.in >> > WARNING: Building memscore failed. >> > ...... >> > configure: creating ./config.status >> > config.status: error: cannot find input file: `Makefile.in' >> > WARNING: Building eppex failed. >> > ...... >> > configure: creating ./config.status >> > config.status: error: cannot find input file: `Makefile.in' >> > WARNING: Building compact rule table tools failed. >> > >> >> These errors refer to optional extensions, so it shouldn't matter if they >> fail. The errors are a bit odd though. If you can't find why lexical- >> reordering/score failed then it may be worth rerunning the build on a >> clean >> checkout, >> >> cheers - Barry >> >> -- >> The University of Edinburgh is a charitable body, registered in >> Scotland, with registration number SC005336. >> >> >> > -- Regards, John J Morgan _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
