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



On Fri, 19 Sep 2003, Owen Taylor wrote:

> On Fri, 2003-09-19 at 16:52, Phillip Pi wrote:
> > 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]
> 
> [..]
> 
> > -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.)
> 
> This has been fixed in CVS. Simplest way to work around it for you
> is to simply comment 'make check' out of the spec file. This problem
> only occurs in an uninstalled test program.

Hi Owen. Thank you for the speedy reply. How do I edit this so I can 
recompile .src.rpm? I am not a Linux expert.

Thank you in advance. :)




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