[SRILM User List] Problems building SRILM

Jared Wein weinjared at gmail.com
Sat Apr 3 17:56:58 PDT 2010


I'm having problems building SRILM on my Ubuntu virtual machine.

I have tried `make World` with the following results:

jared at jared-desktop:~/Downloads/srilm$ make World

/bin/sh: /home/jared/Downloads/srilm/sbin/machine-type: not found

mkdir include lib bin

mkdir: cannot create directory `include': File exists

mkdir: cannot create directory `lib': File exists

mkdir: cannot create directory `bin': File exists

make: [dirs] Error 1 (ignored)

make init

/bin/sh: /home/jared/Downloads/srilm/sbin/machine-type: not found

make[1]: Entering directory `/home/jared/Downloads/srilm'

for subdir in misc dstruct lm flm lattice utils; do \

 (cd $subdir/src; make SRILM=~/Downloads/srilm MACHINE_TYPE= OPTION=
> MAKE_PIC= init) || exit 1; \

 done

/bin/sh: /home/jared/Downloads/srilm/sbin/machine-type: not found

make[2]: Entering directory `/home/jared/Downloads/srilm/misc/src'

/home/jared/Downloads/srilm/common/Makefile.common.variables:96:
> /home/jared/Downloads/srilm/common/Makefile.machine.: No such file or
> directory

make[2]: *** No rule to make target
> `/home/jared/Downloads/srilm/common/Makefile.machine.'.  Stop.

make[2]: Leaving directory `/home/jared/Downloads/srilm/misc/src'

make[1]: *** [init] Error 1

make[1]: Leaving directory `/home/jared/Downloads/srilm'

make: *** [World] Error 2


I have also tried `make MACHINE_TYPE=i686-ubuntu World` with the following
results:

jared at jared-desktop:~/Downloads/srilm$ make MACHINE_TYPE=i686-ubuntu World

/bin/sh: /home/jared/Downloads/srilm/sbin/machine-type: not found

mkdir include lib bin

mkdir: cannot create directory `include': File exists

mkdir: cannot create directory `lib': File exists

mkdir: cannot create directory `bin': File exists

make: [dirs] Error 1 (ignored)

make init

/bin/sh: /home/jared/Downloads/srilm/sbin/machine-type: not found

make[1]: Entering directory `/home/jared/Downloads/srilm'

for subdir in misc dstruct lm flm lattice utils; do \

 (cd $subdir/src; make SRILM=~/Downloads/srilm MACHINE_TYPE=i686-ubuntu
> OPTION= MAKE_PIC= init) || exit 1; \

 done

make[2]: Entering directory `/home/jared/Downloads/srilm/misc/src'

cd ..; ~/Downloads/srilm/sbin/make-standard-directories

/bin/sh: /home/jared/Downloads/srilm/sbin/make-standard-directories: not
> found

make[2]: [init] Error 127 (ignored)

make ../obj/i686-ubuntu/STAMP ../bin/i686-ubuntu/STAMP

make[3]: Entering directory `/home/jared/Downloads/srilm/misc/src'

make[3]: `../obj/i686-ubuntu/STAMP' is up to date.

mkdir ../bin/i686-ubuntu/

mkdir: cannot create directory `../bin/i686-ubuntu/': No such file or
> directory

make[3]: [../bin/i686-ubuntu/STAMP] Error 1 (ignored)

touch ../bin/i686-ubuntu/STAMP

touch: cannot touch `../bin/i686-ubuntu/STAMP': No such file or directory

make[3]: *** [../bin/i686-ubuntu/STAMP] Error 1

make[3]: Leaving directory `/home/jared/Downloads/srilm/misc/src'

make[2]: *** [init] Error 2

make[2]: Leaving directory `/home/jared/Downloads/srilm/misc/src'

make[1]: *** [init] Error 1

make[1]: Leaving directory `/home/jared/Downloads/srilm'

make: *** [World] Error 2


My machine is an Intel i7 920 running 64-bit Windows Vista and I'm trying to
compile on Ubuntu 9.10 on a VirtualBox virtual machine.

Any tips to what I can do to get this built?

Thanks,
Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20100403/3d89e2d3/attachment.html>


More information about the SRILM-User mailing list