autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure complexity


From: Bruce Korb
Subject: Re: configure complexity
Date: Thu, 09 May 2013 12:30:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

On 05/09/13 09:24, Mona Pinjani wrote:
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 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

That is derived from two loops in the configure script:
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?
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]