[SRILM User List] Problem installing SRILM

Gary Hess garyhess999 at hotmail.com
Tue Aug 1 08:37:07 PDT 2017


Hi -- I wonder if anyone can help with my installation problem. I decompressed the file "srilm-1.7.2.tar.gz" in the directory /home/gary/workspace/srilm. In the Makefile, I set "SRILM = /home/gary/workspace/srilm".


Machine info:

unknown:~/workspace/srilm> ./sbin/machine-type
i686-m64

unknown:~/workspace/srilm> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)


Now I switch to the TCH shell.


unknown:~/workspace/srilm> make World
make: execvp: /home/gary/workspace/srilm: Permission denied
make: *** /home/gary/workspace/srilm: Is a directory.  Stop.

There is a problem with the host name ("unknown"). Is that the real problem? I don't think so, but...

Otherwise, I am getting "make: execvp: /home/gary/workspace/srilm: Permission denied". It looks like a permission problem (which I googled quite a bit). I also tried it with "sudo" but get the same error.
Here is the directory listing:

unknown:~/workspace/srilm> ls -ld
drwxr-xr-x 15 gary gary 4096 Aug  1 15:28 .

unknown:~/workspace/srilm> ls -l
total 64340
-rw-r--r--  1 gary gary     4638 Jun 24  2015 ACKNOWLEDGEMENTS
-rw-r--r--  1 gary gary    92666 Nov  9  2016 CHANGES
drwxr-xr-x  2 gary gary    12288 May 25  2016 common
-rw-r--r--  1 gary gary      984 May 25  2016 Copyright
drwxr-xr-x  2 gary gary     4096 Apr  3  2013 doc
drwxr-xr-x  5 gary gary     4096 May 24  2013 dstruct
drwxr-xr-x  6 gary gary     4096 Feb  9  2011 flm
-rwxr-xr-x  1 gary gary      587 May  3  2016 go.build-android
-rwxr-xr-x  1 gary gary      588 May 10  2016 go.build-android-hard
-rwxr-xr-x  1 gary gary      581 May  4  2016 go.build-android-v8
-rw-r--r--  1 gary gary     6909 Apr  5  2014 INSTALL
drwxr-xr-x  6 gary gary     4096 Feb  9  2011 lattice
drwxr-xr-x  2 gary gary     4096 May 24  2013 lib
-rw-r--r--  1 gary gary    12528 Jun 24  2015 License
drwxr-xr-x  6 gary gary     4096 Feb  9  2011 lm
-rw-r--r--  1 gary gary     5063 Aug  1 15:26 Makefile
drwxr-xr-x 12 gary gary     4096 Oct 13  2015 man
drwxr-xr-x  5 gary gary     4096 Feb  9  2011 misc
-rw-r--r--  1 gary gary      587 Dec  2  2009 README
-rw-r--r--  1 gary gary        6 Nov  9  2016 RELEASE
drwxr-xr-x  2 gary gary     4096 Jul  3  2015 sbin
-rw-r-----  1 gary gary 65659816 Jul 31 10:44 srilm-1.7.2.tar.gz
drwxr-xr-x  6 gary gary     4096 Apr  4  2013 utils
drwxr-xr-x  3 gary gary     4096 Feb  9  2011 visual_studio
drwxr-xr-x  5 gary gary     4096 Aug  2  2013 zlib

Thanks in advance for any help.

Gary Hess

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speech.sri.com/pipermail/srilm-user/attachments/20170801/f8ad3643/attachment.html>


More information about the SRILM-User mailing list