On Fri, Apr 21, 2006 at 12:18:24PM +0200, Andrei A. Voropaev wrote:
> Hello!
> 
> I'm using LFS live CD version 6.1.1 to build my base system (i686).
> 
> When trying to build gettext package in Chapter 6, my make failed with
> the following messages.
> 
> ....
> gcc -DLOCALEDIR=\"/usr/share/locale\" 
> -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJEXE=0 
> -DGETTEXTJEXEDIR=\"/usr/lib/gettext\" 
> -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\" 
> -DGETTEXTDATADIR=\"/usr/share/gettext\" 
> -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. 
> -I/LFS/build/gettext-0.14.3/gettext-tools/src -I..  -I. 
> -I/LFS/build/gettext-0.14.3/gettext-tools/src -I.. 
> -I/LFS/build/gettext-0.14.3/gettext-tools/libgrep 
> -I/LFS/build/gettext-0.14.3/gettext-tools/libuniname -I../lib 
> -I/LFS/build/gettext-0.14.3/gettext-tools/lib -I../intl 
> -I/LFS/build/gettext-0.14.3/gettext-tools/../gettext-runtime/intl  
> -DINSTALLDIR=\"/usr/bin\" -g -O2 -c -o msginit-localealias.o `test -f 
> '../../gettext-runtime/intl/localealias.c' || echo 
> '/LFS/build/gettext-0.14.3/gettext-tools/src/'`../../gettext-runtime/intl/localealias.c
> make[4]: *** No rule to make target `../intl/localename.lo', needed by 
> `msginit'.  Stop.
> make[4]: Leaving directory `/LFS/build/gettext-0.14.3/gettext-tools/src'
> make[3]: *** [all] Error 2

> What could be the problem here? In the google I've found someone else
> reporting the same problem on the scratchbox users list, but there was
> no answer to it.

 This is a strange error - gettext uses its internal version of
libtool to build .lo files (.libtool objects).  For some reason,
make doesn't know how to do this, as if the default .SUFFIXES rule
has been stripped out by supplying an empty rule, but without putting
anything in its place.  Is there something unusual about your system,
or have you deviated from the book ?

 I've just tried to build 0.14.3 on this box, and in
gettext-runtime/intl/Makefile I can see
.SUFFIXES:
.SUFFIXES: .c .y .o .lo .sin .sed

 and in gettext-tools/intl/Makefile I can see the same SUFFIXES and
I can also find localename in three places

( within SOURCES )
  langprefs.c \
  localename.c \
  log.c \

( within OBJECTS )
  langprefs.$lo \
  localename.$lo \
  log.$lo \

( within a long list of rules for .lo files)
localename.lo: $(srcdir)/localename.c
        $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localename.c

 Clearly, at least one of these differs in your configured tree,
with luck it will point to the problem.

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
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