Either you haven't installed SRILM properly or you have put the wrong path. What's the -I flag for in your path? I would try removing that and seeing if you make better progress.
Quoting Jespa <[EMAIL PROTECTED]>: > > Sir, > I am jespa. > I have installed SRILM,GIZA++,MKCLS & MOSES properly. > but when I configure moses with srilm error comes like below. > please tell me the reason > [EMAIL PROTECTED] moses]# ./configure > --with-srilm=-I/root/jespa/project/language_model/srilm/include > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for ranlib... ranlib > checking how to run the C++ preprocessor... g++ -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking Ngram.h usability... no > checking Ngram.h presence... no > checking for Ngram.h... no > configure: error: Cannot find SRILM! > [EMAIL PROTECTED] moses]# make -j 4 > /bin/sh ./config.status --recheck > running /bin/sh ./configure > --with-srilm=/home/vk/Dumps/Statistical-MT/programming/language_model/srilm > --no-create --no-recursion > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for ranlib... ranlib > checking how to run the C++ preprocessor... g++ -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking Ngram.h usability... no > checking Ngram.h presence... no > checking for Ngram.h... no > configure: error: Cannot find SRILM! > make: *** [config.status] Error 1 > [EMAIL PROTECTED] moses]# > _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
