From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Autoreconf is using host tools
Date: Wed, 10 Dec 2008 09:30:48 +0100 [thread overview]
Message-ID: <20081210093048.175f7964@surf> (raw)
Hi,
Compiling the fontconfig package breaks here, with the following
messages:
>>> fontconfig 2.6.0 Running autoreconf
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 186.
Use of uninitialized value $libtoolize in pattern match (m//) at /usr/bin/autoreconf line 186.
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal -I /home/thomas/local/buildroot2/build_arm/staging_dir/usr/share/aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 290, <GEN3> line 4.
autoreconf: failed to run libtoolize: No such file or directory
make: ***
[/home/thomas/local/buildroot2/build_arm/fontconfig-2.6.0/.stamp_autoconfigured]
Error 1
The problem is that it tries to use "libtoolize" of my host (Ubuntu
system) and not the host-libtool that was compiled by Buildroot and
installed in $(STAGING_DIR). I don't really get how all this AUTORECONF
stuff works, so I don't know how it selects the tools.
FWIW, I have no libtool on my Ubuntu system because the latest Ubuntu
version ships a 2.2.4 version of libtool, which doesn't work with many
packages. It fails with messages like:
./libtool: line 466: CDPATH: command not found
./libtool: line 1144: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.4
Debian-2.2.4-0ubuntu4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
Debian-2.2.4-0ubuntu4
But that's not the issue, since Buildroot is not supposed to use
libtool from the host, but libtool from the $(STAGING_DIR).
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
next reply other threads:[~2008-12-10 8:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 8:30 Thomas Petazzoni [this message]
2008-12-11 8:32 ` [Buildroot] Autoreconf is using host tools Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081210093048.175f7964@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox