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 <[email protected]>:
> 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
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to