preview directory of CD2 of RedHat 7.0 include a glibc package which is 
optimized for 2.4 and i686 architecture.
I run actually the official 2.4.0 on my redhat 7.0 fully up2date (very 
happy, any functioning).
So i would like to rebuild glibc-2.2-9.src.rpm for i686 and with 2.4 
optimisation like precise in a mail from Bill Notthingham @ RedHat:

Install source RPM; edit the spec file, change

%define linux24 0

to

%define linux24 1

and then rpm -ba glibc-2.2.spec.

Bill

but i meet this problem:
rpm -ba --target=i686 --clean glibc.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.88414
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf glibc-2.2
+ /bin/gzip -dc /usr/src/redhat/SOURCES/glibc-2.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd glibc-2.2
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
++ uname -r
+ find . -type f -size 0 -o -name '*.orig' -exec rm -f '{}' ';'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11067
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd glibc-2.2
+ rm -rf build-i686-linux
+ mkdir build-i686-linux
+ cd build-i686-linux
+ GCC=gcc
+ BuildFlags=-march=i686 -D__USE_STRING_INLINES -fstrict-aliasing
+ BuildFlags=-march=i686 -D__USE_STRING_INLINES -fstrict-aliasing 
-freorder-blocks -DNDEBUG=1
+ EnableKernel=--enable-kernel=2.4.0
+ EnableKernel=--enable-kernel=2.4.0 --disable-profile
+ CC=gcc
+ CFLAGS=-march=i686 -D__USE_STRING_INLINES -fstrict-aliasing 
-freorder-blocks -DNDEBUG=1 -g -O3
+ ../configure --prefix=/usr --enable-add-ons=yes --without-cvs 
--enable-kernel=2.4.0 --disable-profile i686-redhat-linux
creating cache ./config.cache
checking host system type... i686-redhat-linux-gnu
checking sysdep dirs... sysdeps/i386/elf 
linuxthreads/sysdeps/unix/sysv/linux/i386 
linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread 
linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix 
linuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386 
sysdeps/unix/sysv/linux/i386/i686 sysdeps/unix/sysv/linux/i386 
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common 
sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 
sysdeps/unix/sysv sysdeps/unix/i386/i686 sysdeps/unix/i386/i586 
sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu 
sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 
sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for pwd... /bin/pwd
checking build system type... i686-redhat-linux-gnu
checking for gcc... gcc
checking version of gcc... 2.96, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.79.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.10.35, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.0, ok
checking for gsed... no
checking for sed... sed
checking version of sed... 3.02, ok
checking whether the C compiler (gcc -march=i686 -D__USE_STRING_INLINES 
-fstrict-aliasing -freorder-blocks -DNDEBUG=1 -g -O3 ) works... yes
checking whether the C compiler (gcc -march=i686 -D__USE_STRING_INLINES 
-fstrict-aliasing -freorder-blocks -DNDEBUG=1 -g -O3 ) is a 
cross-compiler... (cached) no
checking whether we are using GNU C... yes
checking build system type... i686-redhat-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for ranlib...ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for mig... mig
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.
Bad exit status from /var/tmp/rpm-tmp.11067 (%build)

any help will be appreciate.

thxs in advance




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to