Bruce Korb
2013-05-09 19:30:24 UTC
Hi,
I downloaded complexity-1.0 from http://ftp.gnu.org/gnu/complexity/
I am trying to run configure and I get this error
-bash-4.1$ pwd
/home/monap/complexity-1.0
-bash-4.1$ ./configure
## -------------------------- ##
## Configuring complexity 1.0 ##
## -------------------------- ##
configure: error: cannot run /bin/sh ./../config.sub
How can I install complexity ?
Hi Mona,I downloaded complexity-1.0 from http://ftp.gnu.org/gnu/complexity/
I am trying to run configure and I get this error
-bash-4.1$ pwd
/home/monap/complexity-1.0
-bash-4.1$ ./configure
## -------------------------- ##
## Configuring complexity 1.0 ##
## -------------------------- ##
configure: error: cannot run /bin/sh ./../config.sub
How can I install complexity ?
I do not know because that should work. I guess somehow
ac_aux_dir became set to "./..". It should be "build-aux"
$ fgrep ac_aux_dir= cfg.log
+ ac_aux_dir=
+ ac_aux_dir=./..
+ ac_aux_dir=
+ ac_aux_dir=build-aux
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
elif test -f "$ac_dir/shtool"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
ac_aux_dir=
for ac_dir in build-aux "$srcdir"/build-aux; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
elif test -f "$ac_dir/shtool"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
Perhaps you have an "install-sh" script in the superior directory?+ ac_aux_dir=
+ ac_aux_dir=./..
+ ac_aux_dir=
+ ac_aux_dir=build-aux
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
elif test -f "$ac_dir/shtool"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
ac_aux_dir=
for ac_dir in build-aux "$srcdir"/build-aux; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
break
elif test -f "$ac_dir/install.sh"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install.sh -c"
break
elif test -f "$ac_dir/shtool"; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/shtool install -c"
break
fi
done
Or, maybe, the second loop was skipped?
Or, maybe, config.sub got invoked before the second search took place?
Could you please:
1. ensure there is no install-sh script in /home/monap, and
2. run build-aux/config.guess and provide the output, and last:
3. grep 'Generated by GNU Autoconf' configure
Thanks. - Bruce