It does look like a space might be missing. I just did a grep -ri through
the code for release 1.5.10 or SRILM for the string "gcc-m32" and it didn't
find it. I was able to find references to -m32 GCC_FLAGS in these files:

./common/Makefile.machine.i686:   GCC_FLAGS = -m32 -mtune=pentium3
-Wreturn-type -Wimplicit -Wformat
./common/Makefile.machine.i686-ubuntu:   GCC_FLAGS = -m32 -mtune=pentium3
-Wreturn-type -Wimplicit -Wformat

See what you get back with this command at the top of your SRILM folder
where you're trying to build it:

grep -ri gcc-m32 ./


Kind regards,

Lee Ball
Infrastructure Manager
lee.b...@appliedlanguage.com
Skype ID: lee.ball_appliedlanguage
Tel: +44 (0)844 854 8945

Applied Language Solutions
High quality language solutions delivered on time...with a smile!

www.appliedlanguage.com
Tel (UK): +44 (0)845 367 7000
Tel (US): +1 (800) 579-5010

Riverside Court, Huddersfield Road, Delph, Oldham, OL3 5FZ. UK
Registered in the UK 5122429

Pride in everything we do | Respect everyone like a friend
[image: An Environmentally Friendly Company]Think of the environment; please
don't print this e-mail unless you really need to.

[image: Fast Track 100 2009][image: Queens Award for Business]
<http://twitter.com/appliedlanguage>



On 21 January 2011 10:44, Raphael Payen <raphael.pa...@gmail.com> wrote:

> It's weird. Your computer is trying to use gcc-m32 instead of using
> gcc with flag -m32. Maybe you changed something manuallly in the
> Makefile and forgot the space between gcc and $(GCC_FLAGS) ?
>
> If not, I think you should try again from the start and if you have
> the same problem, ask about it on the srilm mailing-list.
>
> In any case, think about using kenlm, you wouldnt have this problem.
>
> PS: you dont need sudo for make, only for make install maybe.
>
>
> Raphael
>
>
> 2011/1/21 Muhammad Shamsuddeen Muhammad <mshamsudde...@gmail.com>:
> > Can someone pls help me out and tell me what i need to do in order to fix
> > this problem. I get this error after entering "$ sudo make" in the
> terminal
> > when trying to make srilm =>>
> >
> > ...
> > make[1]: Entering directory `/home/integ/tools/srilm'
> > for subdir in misc dstruct lm flm lattice utils; do \
> >         (cd $subdir/src; make SRILM=/home/integ/tools/srilm
> > MACHINE_TYPE=i686 OPTION= MAKE_PIC= release-libraries) || exit 1; \
> >     done
> > make[2]: Entering directory `/home/integ/tools/srilm/misc/src'
> > /usr/bin/gcc-m32 -mtune=pentium3 -Wall -Wno-unused-variable
> > -Wno-uninitialized -D_FILE_OFFSET_BITS=64   ‐I/usr/include/tcl8.4/ -I.
> > -I../../include   -c -g -O3 -o ../obj/i686/option.o option.c
> > make[2]: /usr/bin/gcc-m32: Command not found
> > make[2]: *** [../obj/i686/option.o] Error 127
> > make[2]: Leaving directory `/home/integ/tools/srilm/misc/src'
> > make[1]: *** [release-libraries] Error 1
> > make[1]: Leaving directory `/home/integ/tools/srilm'
> > make: *** [World] Error 2
> >
> > I think it has something to do with the gcc-m32 missing, but i checked
> and i
> > already have the latest gcc installed, so do i need a previous version or
> > does it have anything to do with the 32/64 bit version. Im using Ubuntu
> > 10.04 on a 32 bit machine by the way.
> >
> > Thanks in advance.
> >
> > --
> > Muhammad Shamsuddeen Muhammad
> >
> > "There is no knowledge that is not power".
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > Moses-support@mit.edu
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> >
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to