Skip to main content
Post Reopened by Gilles 'SO- stop being evil', Michael Mrozek
added 115 characters in body
Source Link
Michael Mrozek
  • 95.8k
  • 40
  • 245
  • 236

I'm trying to build Moses, but when I run make I get the following errors when I compile my projectoutput:

ButThe error message says ./check-dependencies.pl is "not found", but I see the file present in the scripts folder. So why does this error occur?

I get the following errors when I compile my project:

But check-dependencies.pl is present in the scripts. So why does this error occur?

I'm trying to build Moses, but when I run make I get the following output:

The error message says ./check-dependencies.pl is "not found", but I see the file present in the scripts folder. So why does this error occur?

added 38 characters in body; edited tags; edited title
Source Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k

error occur during make command/bin/sh: ./check-dependencies.pl: not found — but check-dependencies.pl exists!

I get the following errors when I compile my project:

But check-dependencies.plcheck-dependencies.pl is present in scripts, sothe scripts. So why does this error occur. Please help me if possible.?

error occur during make command

But check-dependencies.pl is present in scripts, so why this error occur. Please help me if possible.

/bin/sh: ./check-dependencies.pl: not found — but check-dependencies.pl exists!

I get the following errors when I compile my project:

But check-dependencies.pl is present in the scripts. So why does this error occur?

Post Closed as "not a real question" by Gilles 'SO- stop being evil', jasonwryan, daisy, phunehehe, Renan
added 740 characters in body
Source Link
Mat
  • 54.9k
  • 11
  • 164
  • 143

minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release

Compile the parts

make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts'

Building memscore may fail e.g. if boost is not available.

We ignore this because traditional scoring will still work and memscore isn't used by default.

cd training/memscore ;
./configure && make
|| ( echo "WARNING: Building memscore failed.";
echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=pwd;
for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do
make -C training/$subdir || exit 1;
echo "### Compiler $subdir";
cd $pwd;
done make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5'

Compiler cmert-0.5

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract'

Compiler phrase-extract

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal'

Compiler symal

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr'

Compiler mbr

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering'

Compiler lexical-reordering

All files that need compilation were compiled

make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: Permission denied make: *** [release] Error 126 minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release

Compile the parts

make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts'

Building memscore may fail e.g. if boost is not available.

We ignore this because traditional scoring will still work and memscore isn't used by default.

cd training/memscore ;
./configure && make
|| ( echo "WARNING: Building memscore failed.";
echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=pwd;
for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do
make -C training/$subdir || exit 1;
echo "### Compiler $subdir";
cd $pwd;
done make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5'

Compiler cmert-0.5

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract'

Compiler phrase-extract

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal'

Compiler symal

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr'

Compiler mbr

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering'

Compiler lexical-reordering

All files that need compilation were compiled

make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: not found make: *** [release] Error 127

minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release # Compile the parts make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts' # Building memscore may fail e.g. if boost is not available. # We ignore this because traditional scoring will still work and memscore isn't used by default. cd training/memscore ; \ ./configure && make \ || ( echo "WARNING: Building memscore failed."; \ echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=`pwd`; \ for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do \ make -C training/$subdir || exit 1; \ echo "### Compiler $subdir"; \ cd $pwd; \ done make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' ### Compiler cmert-0.5 make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' ### Compiler phrase-extract make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' ### Compiler symal make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' ### Compiler mbr make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' ### Compiler lexical-reordering ## All files that need compilation were compiled make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: Permission denied make: *** [release] Error 126 minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release # Compile the parts make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts' # Building memscore may fail e.g. if boost is not available. # We ignore this because traditional scoring will still work and memscore isn't used by default. cd training/memscore ; \ ./configure && make \ || ( echo "WARNING: Building memscore failed."; \ echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=`pwd`; \ for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do \ make -C training/$subdir || exit 1; \ echo "### Compiler $subdir"; \ cd $pwd; \ done make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' ### Compiler cmert-0.5 make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' ### Compiler phrase-extract make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' ### Compiler symal make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' ### Compiler mbr make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' ### Compiler lexical-reordering ## All files that need compilation were compiled make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: not found make: *** [release] Error 127 

But check-dependencies.pl is present in scripts, so why this error occur. Please help me if possible..thanku so mch

minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release

Compile the parts

make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts'

Building memscore may fail e.g. if boost is not available.

We ignore this because traditional scoring will still work and memscore isn't used by default.

cd training/memscore ;
./configure && make
|| ( echo "WARNING: Building memscore failed.";
echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=pwd;
for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do
make -C training/$subdir || exit 1;
echo "### Compiler $subdir";
cd $pwd;
done make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5'

Compiler cmert-0.5

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract'

Compiler phrase-extract

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal'

Compiler symal

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr'

Compiler mbr

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering'

Compiler lexical-reordering

All files that need compilation were compiled

make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: Permission denied make: *** [release] Error 126 minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release

Compile the parts

make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts'

Building memscore may fail e.g. if boost is not available.

We ignore this because traditional scoring will still work and memscore isn't used by default.

cd training/memscore ;
./configure && make
|| ( echo "WARNING: Building memscore failed.";
echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory /home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=pwd;
for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do
make -C training/$subdir || exit 1;
echo "### Compiler $subdir";
cd $pwd;
done make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5'

Compiler cmert-0.5

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract'

Compiler phrase-extract

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal'

Compiler symal

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr'

Compiler mbr

make[2]: Entering directory /home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering'

Compiler lexical-reordering

All files that need compilation were compiled

make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: not found make: *** [release] Error 127

But check-dependencies.pl is present in scripts, so why this error occur. Please help me if possible..thanku so mch

minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release # Compile the parts make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts' # Building memscore may fail e.g. if boost is not available. # We ignore this because traditional scoring will still work and memscore isn't used by default. cd training/memscore ; \ ./configure && make \ || ( echo "WARNING: Building memscore failed."; \ echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=`pwd`; \ for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do \ make -C training/$subdir || exit 1; \ echo "### Compiler $subdir"; \ cd $pwd; \ done make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' ### Compiler cmert-0.5 make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' ### Compiler phrase-extract make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' ### Compiler symal make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' ### Compiler mbr make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' ### Compiler lexical-reordering ## All files that need compilation were compiled make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: Permission denied make: *** [release] Error 126 minakshi@minakshi-Vostro-3500:~/Desktop/working-dir/moses/scripts$ make release # Compile the parts make all make[1]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts' # Building memscore may fail e.g. if boost is not available. # We ignore this because traditional scoring will still work and memscore isn't used by default. cd training/memscore ; \ ./configure && make \ || ( echo "WARNING: Building memscore failed."; \ echo 'training/memscore/memscore' >> ../../release-exclude ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for boostlib >= 1.31.0... yes checking for cos in -lm... yes checking for gzopen in -lz... yes checking for cblas_dgemm in -lgslcblas... no checking for gsl_blas_dgemm in -lgsl... no 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 n_gram.h usability... no checking n_gram.h presence... no checking for n_gram.h... no checking for size_t... yes checking for ptrdiff_t... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make all-am make[3]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[3]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/memscore' touch release-exclude # No files excluded by default pwd=`pwd`; \ for subdir in cmert-0.5 phrase-extract symal mbr lexical-reordering; do \ make -C training/$subdir || exit 1; \ echo "### Compiler $subdir"; \ cd $pwd; \ done make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/cmert-0.5' ### Compiler cmert-0.5 make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/phrase-extract' ### Compiler phrase-extract make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/symal' ### Compiler symal make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/mbr' ### Compiler mbr make[2]: Entering directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts/training/lexical-reordering' ### Compiler lexical-reordering ## All files that need compilation were compiled make[1]: Leaving directory `/home/minakshi/Desktop/working-dir/moses/scripts' /bin/sh: ./check-dependencies.pl: not found make: *** [release] Error 127 

But check-dependencies.pl is present in scripts, so why this error occur. Please help me if possible.

Source Link
jenn
  • 31
  • 1
  • 2
Loading