[Aboriginal] "sh: gettext: command not found" during host compile
rob at landley.net
Mon Jul 11 04:36:03 PDT 2011
On 07/10/2011 02:02 AM, Matthew J Fletcher wrote:
> I get this printed several thousand times during compile, it does not
> seem to effect the build process, i.e for various targets it runs to
Um, during compile of what? While building a system image on a host?
Or while building another source package natively under a system image?
> How would i go about finding what sh is trying to invoke ?
I have infrastructure that wraps all the command line utilities and
saves a log of every command line called, in order. It's described here:
> I am running Mandriva 2010.2 on x86_64
We have an "airlock step" that isolates the build from the host
environment, which is apparently failing here.
In theory the host-tools.sh stage is supposed to build command line
utilities to replace the existing $PATH (mostly busybox), and then point
the $PATH to that new directory (build/host) and nothing else.
That way, the ./configure stages of later packages won't find gettext
and such in the $PATH, thus won't try to use them. This means that it
won't go "hey, you've got python installed, let me add python support to
the result that will break if python isn't installed on the target". It
also makes the build more consistent: it does the same thing on fedora
and ubuntu and such because it's building with the same tools (the
busybox ones). The only things it uses from the host are the compiler
This does not seem to be working for you, and I'm not sure why. Are you
using build.sh, or did you run the build stages individually?
P.S. I note that for the Linux From Scratch native build, I'm using a
package to stub out the gettext library support:
download || dienow
But that's not for the gettext command line, that's for "man 3 gettext"
(not "man 1 gettext" which you're having trouble with here).
More information about the Aboriginal