"'printf' not being declared" - I don't think so. Our scripts worked on previous versions, but Ubuntu 11.10 includes Linux kernel 3.0, gcc 4.6.1 and GNU Make 3.81. Compiling RandLM with these failed with a message that it couldn't find boost libraries even though they were installed via the package manager. Strangely, MGIZA++ and moses decoder which both rely on Boost compiled fine.
Miles found this stackoverflow question that references a similar problem with an answer that traces a problem to the order you declare the order you import the libraries and write the source files: http://stackoverflow.com/questions/7755668/linking-against-boost-thread-fails-under-ubuntu-11-10 Tom On Tue, 3 Apr 2012 08:38:19 +0100, Oliver Wilson <[email protected]> wrote: > Hi there Tom, > > I've kind of lost track of the bugs from the last release. Was yours > to > do with 'printf' not being declared? > > Oliver > > On Tue, Apr 03, 2012 at 07:05:06AM +0700, Tom Hoar wrote: >> Miles, >> >> I never had a chance to do anything with the compiler/linker >> problem >> (below). Was that also addressed in this release? If not, we're >> starting >> our updates to support the newer Linux kernels (3.2, etc) and I'll >> forward any fixes to you. >> >> Tom >> >> >> On Mon, 2 Apr 2012 17:06:12 +0100, Miles Osborne >> <[email protected]> >> wrote: >> > RandLM now supports language models that are served on multiple >> > machines. This means that language models can be very large, they >> > now >> > have a zero-time start up when used in Moses and they can be >> shared >> > across multiple decoders. As they say in the trade, not bad. >> > >> > http://sourceforge.net/projects/randlm/ >> > >> > Note that batching in the decoder (ie changing the search >> strategy) >> > has not been implemented yet. Significant effort has gone into >> > making >> > the LM itself time and space efficient, >> > >> > Miles and Oliver >> > -- >> > 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 >> >> >> -------- Original Message -------- >> Subject: Re: [Moses-support] RandLM compile error on Ubuntu 11.10 >> Date: Tue, 22 Nov 2011 20:33:51 +0700 >> From: Tom Hoar <[email protected]> >> To: Miles Osborne <[email protected]> >> Cc: Moses support <[email protected]> >> >> Thanks Miles. I should have looked there myself. It's interesting, >> however, that both MGIZA++ and moses decoder both rely on Boost and >> they >> both compile nicely on 11.10. >> >> I have an inside contact at Canonical (Ubuntu's parent company) who >> has >> helped update Moses dependencies with past changes in gcc. I'll ask >> him >> to review the issues between randlm and 11.10 and revert any >> updates on >> RandLM. >> >> Tom >> >> On Tue, 22 Nov 2011 13:24:59 +0000, Miles Osborne >> <[email protected]> >> wrote: >> > this looks like a problem with Ubuntu rather than RandLM: >> > >> > >> > >> http://stackoverflow.com/questions/7755668/linking-against-boost-thread-fails-under-ubuntu-11-10 >> > >> > if you post to the RandLM Sourceforge site and raise an error, we >> may >> > get around to fixing it >> > >> > (the Moses list is not really the best place) >> > >> > Miles >> > >> > On 19 November 2011 08:02, Tom Hoar >> > <[email protected]> wrote: >> >> I can't compile RandLM, 0.20 on Ubuntu 11.10. RandLM was >> configured >> >> with >> >> boost and multithreading support. The same configuration compiles >> >> under >> >> Ubuntu 10.04, 10.10 and 11.04. >> >> >> >> From the error log, it looks like RandLM can't find boost >> libraries >> >> on the >> >> new distro. Log attached. Any suggestions? >> >> >> >> Changes in 11.10 include: Linux kernel 3.0 >> >> gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1 >> >> GNU Make 3.81 >> >> >> >> Tom >> >> >> >> _______________________________________________ >> >> 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 >> > > -- > 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 _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
