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



Perfect! No errors. I learned something new. Thanks again. :)
-- 
     "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
    ( )

On Sat, 20 Sep 2003, Owen Taylor wrote:

> On Fri, 2003-09-19 at 17:13, Phillip Pi wrote:
> > 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.
> 
> Well, most simply:
> 
> # rpm -Uvh blah.src.rpm
> # cd /usr/src/redhat/SPECS
> # <your favorite editor> blah.spec
> # rpmbuild -bb blah.spec
> [ 7.1 might still have been just 'rpm', not 'rpmbuild'; hard to
>   remember at this point ]
> Built RPMS will be in /usr/src/redhat/RPMS/i386




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