On 12/6/05, Kirk Heller <[EMAIL PROTECTED]> wrote:
>  It seems it MAY be a problem with the isntallation of Gettext... but
> through no fault of mine.
>
>  The command it's getting hung up on, in the Makefile down in
> /sources/binutil-build/bfd/po is GMSGFMT. Specifically,
>
>  gmsfmt = PATH=../src:$$PATH no
>
>  gmsfmt appears to be another command that is supposed to be installed by
> gettext. But get thus, gmsfmt isn't even in the sources in the gettext tar.
> It doesn't appear as though the code even exists to install it, at  least as
> far as the LFS livecd is concerned.

No, gmsgfmt would be installed only if another, non-gnu msgfmt existed
already or you weren't running linux.  However, since your /tools is
empty to start, you should have /tools/bin/msgfmt.  Do you have
/tools/bin/msgfmt?  If not, your gettext installation from Ch.5 didn't
go correctly.

I just compiled the old 2.15.94.0.2.2 on my system to see what should
happen.  Here goes.  When you run make, the configure script in bfd
will try to figure out GMSGFMT.  In fact, it looks for msgfmt and
gmsgfmt.  Here's what my log looks like, keeping in mind that I'm not
I'm not doing an LFS and everything should be in /usr:

[...]
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
[...]

Do you get output like this?  In bfd/Makefile, what is GMSGFMT set to?
[06:22 PM [EMAIL PROTECTED] grep "^GMSGFMT" bfd/Makefile
GMSGFMT = /usr/bin/msgfmt

If it's not finding msgfmt, then you should look at bfd/config.log and
see what happened.  Here's what mine looks like.  If yours wasn't
successful then you'll have a bunch of output from trying to compile a
test program that failed.

[...]
configure:7594: checking for msgfmt
configure:7621: result: /usr/bin/msgfmt
[...]
configure:7732: checking for gmsgfmt
configure:7763: result: /usr/bin/msgfmt
[...]

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to