[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf/232: autoconf/232: install.sh not found in AC_CONFIG_AUX_DIR su
autoconf/232: autoconf/232: install.sh not found in AC_CONFIG_AUX_DIR subdirectory
Wed, 1 Dec 2004 12:55:08 -0600 (CST)
The following reply was made to PR autoconf/232; it has been noted by GNATS.
Subject: autoconf/232: install.sh not found in AC_CONFIG_AUX_DIR subdirectory
Date: Mon, 10 Mar 2003 05:25:46 -0500
>Synopsis: install.sh not found in AC_CONFIG_AUX_DIR subdirectory
>Arrival-Date: Mon Mar 10 05:25:46 -0500 2003
>Originator: Simon Butcher
>Release: autoconf 2.57 (known to occur on 2.53, and others)
mothership:~$ uname -a && for p in autogen automake bash m4; do echo $p:; $p
Linux mothership 2.4.19 #2 Thu Sep 19 13:12:05 EST 2002 i586 unknown
autogen - The Automated Program Generator - Ver. 5.4.7
automake (GNU automake) 1.7.3
Written by Tom Tromey <address@hidden>.
Copyright 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GNU bash, version 2.05.0(1)-release (i386-slackware-linux-gnu)
Copyright 2000 Free Software Foundation, Inc.
GNU m4 1.4
I've used AC_CONFIG_AUX_DIR for a while to keep my package neatly organised.
After moving to automake, and letting it install files automatically (with
automake --add-missing --copy), it copies the install-sh script into the aux
subdirectory. Logically, to me, this is where it should go.
Autoconf/Automake generate their respective files happily, however when it
comes to running the generated configure script, the following error appears:
configure: error: cannot find install-sh or install.sh in . ./.. ./../..
It appears that the generated configure script isn't looking in the directory
supplied by AC_CONFIG_AUX_DIR for install.sh/install-sh?
Upon copying install-sh into the top directory of the package (where the
configure script is generated/run from), the problem disappears.
Simple. Create an configure.ac which sets AC_CONFIG_AUX_DIR to a subdirectory,
and uses something which requires install.sh (i.e. AC_CANONICAL_HOST). With
install.sh installed in the aux subdirectory (and not the directory the
configure script is to be run from), run the configure script.
Add AC_CONFIG_AUX_DIR to the search path for install.sh/install-sh?
|[Prev in Thread]
||[Next in Thread]|
- autoconf/232: autoconf/232: install.sh not found in AC_CONFIG_AUX_DIR subdirectory,