[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "required file `./ltmain.sh' not found" ?
From: |
Jules Colding |
Subject: |
Re: "required file `./ltmain.sh' not found" ? |
Date: |
Thu, 5 Mar 2009 16:31:31 +0100 |
On 05/03/2009, at 16.27, Jules Colding wrote:
Hi,
I'm trying to fix a script which checks out a subversion repository
and builds it. Unfortunately I get this:
autoreconf: running: automake --add-missing --copy --force-missing --
warnings=all
configure.ac:58: installing `./config.guess'
configure.ac:58: installing `./config.sub'
configure.ac:27: installing `./install-sh'
configure.ac:58: required file `./ltmain.sh' not found
configure.ac:27: installing `./missing'
src/OCI/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: automake failed with exit status: 1
Consequently the build fails. That guilty part of the script looks
like this:
export LORICA_BUILD_DIR="$(pwd)/lorica"
(
svn co svn+ssh://address@hidden/home/svn/lorica/trunk
$LORICA_BUILD_DIR
cd $LORICA_BUILD_DIR && autoreconf --warnings=all --force --
verbose --install
exit $?
)
wait
The 'autoreconf' command is really part of a bigger bootstrap
script, but just using autoreconf directly gives exactly the same
outcome. The strange thing is that if I go down into the svn
checkout directory and executes the command there, then it works?
OK, an update. I actually have to execute autoreconf twice before it
works, manually or otherwise. I've pasted the output in below.
An autoreconf bug?
Best,
jules
address@hidden ~/work/src/42tools/rubicon-1.0/install/Julia.build/
lorica $ autoreconf --warnings=all --force --verbose --install
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
configure.ac:34: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:34: You should run autoupdate.
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
configure.ac:34: the top level
configure.ac:57: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:57: You should run autoupdate.
aclocal.m4:7470: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: AC_LIBTOOL_DLOPEN: Remove this warning and
the call to _LT_SET_OPTION when you
configure.ac:57: put the `dlopen' option into LT_INIT's first parameter.
configure.ac:58: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:58: You should run autoupdate.
aclocal.m4:123: AC_PROG_LIBTOOL is expanded from...
configure.ac:58: the top level
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting macros in `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configure.ac and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros
in-tree.
autoreconf: running: /opt/local/bin/autoconf --force --warnings=all
configure.ac:34: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:34: You should run autoupdate.
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
configure.ac:34: the top level
configure.ac:57: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:57: You should run autoupdate.
m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: AC_LIBTOOL_DLOPEN: Remove this warning and
the call to _LT_SET_OPTION when you
configure.ac:57: put the `dlopen' option into LT_INIT's first parameter.
configure.ac:58: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:58: You should run autoupdate.
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:58: the top level
autoreconf: running: /opt/local/bin/autoheader --force --warnings=all
autoreconf: running: automake --add-missing --copy --force-missing --
warnings=all
configure.ac:58: installing `./config.guess'
configure.ac:58: installing `./config.sub'
configure.ac:27: installing `./install-sh'
configure.ac:58: required file `./ltmain.sh' not found
configure.ac:27: installing `./missing'
src/OCI/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: automake failed with exit status: 1
address@hidden ~/work/src/42tools/rubicon-1.0/install/Julia.build/
lorica $ autoreconf --warnings=all --force --verbose --install
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
configure.ac:34: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:34: You should run autoupdate.
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
configure.ac:34: the top level
configure.ac:57: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:57: You should run autoupdate.
m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: AC_LIBTOOL_DLOPEN: Remove this warning and
the call to _LT_SET_OPTION when you
configure.ac:57: put the `dlopen' option into LT_INIT's first parameter.
configure.ac:58: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:58: You should run autoupdate.
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:58: the top level
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configure.ac and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros
in-tree.
autoreconf: running: /opt/local/bin/autoconf --force --warnings=all
configure.ac:34: warning: The macro `AC_GNU_SOURCE' is obsolete.
configure.ac:34: You should run autoupdate.
../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
configure.ac:34: the top level
configure.ac:57: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:57: You should run autoupdate.
m4/ltoptions.m4:110: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:57: the top level
configure.ac:57: warning: AC_LIBTOOL_DLOPEN: Remove this warning and
the call to _LT_SET_OPTION when you
configure.ac:57: put the `dlopen' option into LT_INIT's first parameter.
configure.ac:58: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:58: You should run autoupdate.
m4/libtool.m4:102: AC_PROG_LIBTOOL is expanded from...
configure.ac:58: the top level
autoreconf: running: /opt/local/bin/autoheader --force --warnings=all
autoreconf: running: automake --add-missing --copy --force-missing --
warnings=all
autoreconf: Leaving directory `.'