Can't compile glib2-2.2.3-1.1.src.rpm in old Red Hat Linux 7.1



Hello. I am trying to upgrade glib2 libraries, but not able to do with 
both RPMs and src.rpms:

[root ANTux-P3 download]# rpm -q glib2 
glib2-2.0.4-1

[root ANTux-P3 download]# rpm -Uvh glib2-2.2.3-1.1.i386.rpm
error: failed dependencies:
        libc.so.6(GLIBC_2.3)   is needed by glib2-2.2.3-1.1
        libpthread.so.0(GLIBC_2.3.2)   is needed by glib2-2.2.3-1.1
        glib2 = 2.0.4 is needed by glib2-devel-2.0.4-1


[snipped from rpm --rebuild glib2-2.2.3-1.1.src.rpm]
make[1]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/glib'
Making check in gobject
make[1]: Entering directory `/usr/src/redhat/BUILD/glib-2.2.3/gobject'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/gobject'
Making check in gmodule
make[1]: Entering directory `/usr/src/redhat/BUILD/glib-2.2.3/gmodule'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/gmodule'
Making check in gthread
make[1]: Entering directory `/usr/src/redhat/BUILD/glib-2.2.3/gthread'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/gthread'
Making check in tests
make[1]: Entering directory `/usr/src/redhat/BUILD/glib-2.2.3/tests'
make  array-test cxx-test date-test dirname-test gio-test hash-test 
iochannel-test list-test mainloop-test 
module-test node-test patterntest queue-test qsort-test rand-test 
relation-test shell-test slist-test spawn-test 
strfunc-test string-test strtod-test thread-test threadpool-test tree-test 
type-test unicode-caseconv 
unicode-encoding uri-test markup-test
make[2]: Entering directory `/usr/src/redhat/BUILD/glib-2.2.3/tests'
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c array-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o array-test  
array-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/array-test 
array-test.o  
../glib/.libs/libglib-2.0.so
creating array-test
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../gmodule 
-DG_DISABLE_CAST_CHECKS  -pthread  -O2 -march=i386 
-mcpu=i686 -c cxx-test.C
/bin/sh ../libtool --mode=link c++  -O2 -march=i386 -mcpu=i686  -o 
cxx-test  cxx-test.o  ../glib/libglib-2.0.la  
c++ -O2 -march=i386 -mcpu=i686 -o .libs/cxx-test cxx-test.o  
../glib/.libs/libglib-2.0.so
creating cxx-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c date-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o date-test  
date-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/date-test 
date-test.o  
../glib/.libs/libglib-2.0.so
creating date-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c dirname-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o dirname-test  
dirname-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o 
.libs/dirname-test dirname-test.o  
../glib/.libs/libglib-2.0.so
creating dirname-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c gio-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o gio-test  gio-test.o  
../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/gio-test 
gio-test.o  
../glib/.libs/libglib-2.0.so
creating gio-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c hash-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o hash-test  
hash-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/hash-test 
hash-test.o  
../glib/.libs/libglib-2.0.so
creating hash-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c iochannel-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o iochannel-test  
iochannel-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o 
.libs/iochannel-test iochannel-test.o  
../glib/.libs/libglib-2.0.so
creating iochannel-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c list-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o list-test  
list-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/list-test 
list-test.o  
../glib/.libs/libglib-2.0.so
creating list-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c mainloop-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o mainloop-test  
mainloop-test.o ../gthread/libgthread-2.0.la -pthread   
../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o 
.libs/mainloop-test mainloop-test.o -pthread  
../gthread/.libs/libgthread-2.0.so -lpthread 
/usr/src/redhat/BUILD/glib-2.2.3/glib/.libs/libglib-2.0.so 
../glib/.libs/libglib-2.0.so
creating mainloop-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c module-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o module-test 
-Wl,--export-dynamic module-test.o ../gmodule/libgmodule-2.0.la -ldl  
../glib/libglib-2.0.la   
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o 
.libs/module-test -Wl,--export-dynamic module-test.o  
../gmodule/.libs/libgmodule-2.0.so 
/usr/src/redhat/BUILD/glib-2.2.3/glib/.libs/libglib-2.0.so -ldl 
../glib/.libs/libglib-2.0.so
creating module-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c node-test.c
/bin/sh ../libtool --mode=link i386-redhat-linux-gcc  -O2 -march=i386 
-mcpu=i686 -Wall  -o node-test  
node-test.o  ../glib/libglib-2.0.la  
i386-redhat-linux-gcc -O2 -march=i386 -mcpu=i686 -Wall -o .libs/node-test 
node-test.o  
../glib/.libs/libglib-2.0.so
creating node-test
i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib 
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  
-O2 -march=i386 -mcpu=i686 -Wall -c patterntest.c
patterntest.c: In function `verbose':
patterntest.c:35: parse error before `*'
patterntest.c:38: `msg' undeclared (first use in this function)
patterntest.c:38: (Each undeclared identifier is reported only once
patterntest.c:38: for each function it appears in.)
make[2]: *** [patterntest.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glib-2.2.3/tests'
make: *** [check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18258 (%build)

Any ideas? Thank you in advance. :)
-- 
     "Look not to the windmill's turning while the ant still burrows."
                                                             --unknown
  /\___/\
 / /\ /\ \        Phillip Pi (Ant); The Ant Farm: http://antfarm.ma.cx
| |o   o| |
   \ _ /                E-mail: philpi apu edu or philpi earthlink net
    ( )




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