[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc-2.0.96 build problems



In message <r24su0umyb.fsf@happy.cygnus.com>, Ulrich Drepper writes:
>Nils Lohner <lohner@typhoon.icd.teradyne.com> writes:
>
>> >
>>   Looks better, but then where is the problem?  It seems somehow the 
>> configuration is not picking up that header file... or at least not 
adding
>> the correct -I<something> to the compile flags... I don't see any 
>
>Everything works as expected.  The linux/sparc specific header is
>simply not updated.
>
  Sorry, I'm missing something here... is the fact that it fails to build 
cleanly OK then?  Did I misconfigure something, or what's up?  I'm just 
trying to help you guys get rid of stuff that prevents clean installs...

Nils.


One more thing I saw... in timezone, a make install gives the following:
(from the Makefile)
tzcompile = $(zic-cmd)$(target-zone-flavor) -L $(word 3,$^) \
            -y $(dir $(word 4,$^))$(notdir $(word 4,$^)) $<

yields
...
mv -f /usr/bin/tzselect.new /usr/bin/tzselect
../elf/ld-linux.so.2 --library-path ..:../math:../elf:../nss:../nis:../db2:..
/rt:../resolv:../linuxthreads ./zic -d /usr/share/zoneinfo -L /dev/null -y 
./yearistype antarctica
"/dev/null", line 1: input line of unknown type
"/dev/null", line 2: input line of unknown type
"/dev/null", line 3: input line of unknown type
...
"/dev/null", line 726: input line of unknown type
make: *** [/usr/share/zoneinfo/Antarctica/Casey] Error 1
[root@xia01 timezone]#

I took the -L $(word 3,$^) out and it worked

mv -f /usr/bin/tzselect.new /usr/bin/tzselect
if test -r /etc/localtime; then \
  echo Site timezone NOT reset to Factory.; \
else \
  rm -f /etc/localtimeT; \
  /bin/sh ../scripts/rellns-sh /usr/share/zoneinfo/Factory /etc/localtimeT; \
  mv -f /etc/localtimeT /etc/localtime; \
fi
../elf/ld-linux.so.2 --library-path ..:../math:../elf:../nss:../nis:../db2:..
/rt:../resolv:../linuxthreads ./zic -d /usr/share/zoneinfo -p 
America/New_York
"(null)", line 0: warning: hard link failed, symbolic link used
/usr/bin/install -c -m 644 iso3166.tab /usr/share/zoneinfo/iso3166.tab
/usr/bin/install -c -m 644 zone.tab /usr/share/zoneinfo/zone.tab
/usr/bin/install -c zic /usr/sbin/zic.new
mv -f /usr/sbin/zic.new /usr/sbin/zic
/usr/bin/install -c zdump /usr/sbin/zdump.new
mv -f /usr/sbin/zdump.new /usr/sbin/zdump
[root@xia01 timezone]#




Reply to: