[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure complexity
From: |
Mona Pinjani |
Subject: |
Re: configure complexity |
Date: |
Thu, 9 May 2013 19:44:59 +0000 |
User-agent: |
Microsoft-MacOutlook/14.3.2.130206 |
Hi Bruce,
Thanks for the quick reply. There is no install-sh in $HOME. Here is the
output you requested
-bash-4.1$ build-aux/config.guess
x86_64-unknown-linux-gnu
-bash-4.1$ grep 'Generated by GNU Autoconf' configure
# Generated by GNU Autoconf 2.69 for Complexity 1.0.
Mona
On 5/9/13 2:30 PM, "Bruce Korb" <address@hidden> wrote:
>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