On 01/08/2013 07:11 PM, Ole Jørgen Legård wrote: >> I am trying to compile Automake on QNX 6.5.0, but get the following error >> message: >> >> # make >> CDPATH="${ZSH_VERSION+.}:" && cd . && >> "/tmp/automake-1.13/t/wrap/aclocal-1.13" >> >The automatic rebuild rules are kicking in before the aclocal and automake >scripts have been build. This should not happen.
>> Can't locate /tmp/automake-1.13/aclocal in @INC (@INC contains: >> /tmp/automake-1.13/ /root/localperl/lib/site_perl/5.16.2/x86pc-nto >> ...) >> make: *** [aclocal.m4] Error 2 >> >> What could be the problem, and how should I solve it? >> >Can you specify the exact list of command you have used to get the automake >tarball, extract it, configure it and finally build it? >From there, we could try to start debugging your problem. The QNX computer is not connected to the internet so I downloaded http://ftp.gnu.org/gnu/automake/automake-1.13.tar.xz on my Windows PC and extracted the files using 7-zip. I copied the 'automake-1.13' folder to the /tmp folder on QNX. Then 'chmod -R 755 automake-1.13/'. Then # ./configure checking whether make supports nested variables... yes checking build system type... i386-pc-nto-qnx6.5.0 checking host system type... i386-pc-nto-qnx6.5.0 checking for a BSD-compatible install... lib/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... lib/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for perl... /usr/bin/perl checking whether /usr/bin/perl supports ithreads... no checking for tex... no checking for yacc... yacc checking for lex... lex checking whether autoconf is installed... yes checking whether autoconf works... yes checking whether autoconf is recent enough... yes checking whether ln works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F configure: will now look for a sturdy POSIX shell, for our testsuite checking for sh... /bin/sh checking for sh5... no checking for dash... no checking for ash... no checking for bash... no checking for zsh... no checking for ksh... /bin/ksh checking for pdksh... no checking whether /bin/sh supports $(cmd)... yes checking whether /bin/sh supports $((expr))... yes checking whether /bin/sh supports ${#var}... yes checking whether /bin/sh supports ${var#glob} and ${var%glob}... yes checking whether /bin/sh preserves exit traps with "set -e"... yes checking whether /bin/sh can define exit traps in a shell function... yes checking whether /bin/sh corrupts stderr with "set -x"... yes checking whether /bin/sh can return early from "dot-sourced" files... yes checking whether /bin/sh supports alias named like shell builtins... yes checking whether /bin/sh supports "test -e"... yes configure: shell /bin/sh is acceptable, but we might do better checking whether /bin/ksh supports $(cmd)... yes checking whether /bin/ksh supports $((expr))... yes checking whether /bin/ksh supports ${#var}... yes checking whether /bin/ksh supports ${var#glob} and ${var%glob}... yes checking whether /bin/ksh preserves exit traps with "set -e"... yes checking whether /bin/ksh can define exit traps in a shell function... yes checking whether /bin/ksh corrupts stderr with "set -x"... yes checking whether /bin/ksh can return early from "dot-sourced" files... yes checking whether /bin/ksh supports alias named like shell builtins... yes checking whether /bin/ksh supports "test -e"... yes configure: shell /bin/ksh is acceptable, but we might do better configure: will use /bin/ksh as the testsuite shell configure: will now look for generic compilers checking for cc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for aCC... no checking for CC... CC 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 CC accepts -g... yes checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgfortran... no checking for pgf95... no checking for lf95... no checking for ftn... no checking for nagfor... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for g95... no checking for gfortran... no checking whether the Fortran compiler works... no configure: WARNING: Fortran compiler cannot create executables configure: tests requiring the Fortran compiler will be skipped checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for g77... no checking for gfortran... no checking whether the Fortran 77 compiler works... no configure: WARNING: Fortran 77 compiler cannot create executables configure: tests requiring the Fortran 77 compiler will be skipped configure: will now look for GNU compilers configure: cc is already a GNU C compiler configure: WARNING: botched installation for GNU C compiler configure: tests requiring the GNU C compiler will be skipped configure: CC is already a GNU C++ compiler configure: WARNING: botched installation for GNU C++ compiler configure: tests requiring the GNU C++ compiler will be skipped checking for gfortran... no checking for g77... no checking for gfortran... no checking for gcj... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating t/wrap/aclocal-1.13 config.status: creating t/wrap/automake-1.13 then I try 'make' and get the error earlier. I have also downloaded perl-5.16.2, autoconf-2.69, and m4-1.4.16 and './configure && make && make install'. I had some errors when testing perl, but most things seems to have installed OK. Regards, Ole