On 05/03/2017 11:38, Kuba wrote:
Hi
I'm building LFS 8.0 with Debian Stretch as the host and when I run
'make' in the gettext instructions I get:
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o msgcmp
msgcmp-msgcmp.o msgcmp-msgl-fsearch.o libgettextsrc.la -lm
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o msgunfmt
msgunfmt-msgunfmt.o msgunfmt-read-mo.o msgunfmt-read-java.o
msgunfmt-read-csharp.o msgunfmt-read-resources.o msgunfmt-read-tcl.o
libgettextsrc.la
libtool: error: cannot find the library
'/mnt/lfs/new/sources/gettext-0.19.8.1/gettext-tools/gnulib-lib/libgettextlib.la'
or unhandled argument
'/mnt/lfs/new/sources/gettext-0.19.8.1/gettext-tools/gnulib-lib/libgettextlib.la'
make[5]: *** [Makefile:2732: msgcmp] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: error: cannot find the library
'/mnt/lfs/new/sources/gettext-0.19.8.1/gettext-tools/gnulib-lib/libgettextlib.la'
or unhandled argument
'/mnt/lfs/new/sources/gettext-0.19.8.1/gettext-tools/gnulib-lib/libgettextlib.la'
make[5]: *** [Makefile:2789: msgunfmt] Error 1
make[5]: Leaving directory '/sources/gettext-0.19.8.1/gettext-tools/src'
[snip]
I tried building gettext with -j1, but the error still occurs. The
fact that it tries to access /mnt/lfs in the chroot part concerns me.
I'm doing it as a couple of shell scripts in case I want to experiment
with the commands later while still understanding everything. I
double-checked all my commands, but I don't see anything wrong. LFS
8.0 was released when I was in the middle of chapter 6, is there a
comprehensive diff I can look at to check if I missed anything while
updating? (I tried using jhalfs but after reading all the README it
was still throwing errors about non-existent directory structure so I
decided to stick with my scripts because I find modifying them easier
and I understand them more). Have you seen similar errors? Do you have
any idea where the faulty command might be? I've seen this error in
the archives, but in these cases simply deleting the source directory
and trying to build gettext again worked, which would mean that the
commands used in the first attempt had a mistake in them, right?
Or that the directory was not erased and extracted afresh after the
chapter 5 build...
I'd say try that first. But also check the PATH variable. And also that
ld found by configure is /usr/bin/ld (look for the phrase "ld used by
gcc" in the log).
Regards
Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style