RE: How do I update ONLY GLib?

Yeti, Wow!  I am learning all kinds of useful skills today!  Good stuff.  I
had just a few questions on the procedure you outlined below...
1.  Is the difference between a tar.gz and a tar.bz2 just different
compression algorithms?
2.  I did not see any obvious errors from the rpmbuild command and the last
line displayed "exit 0"... Is there anything else I should look for in the
3.  I see that I now have 2 rpms in ~/rpmbuild/RPMS/i386, regular and devel
versions.  Since everything went well with the rpmbuild, is the idea now
that I install one of these rpms "for real"?  And if something doesn't work
right, I can uninstall the rpm?
4.  What extras do I get with the devel rpm?

Thanks for all the good input -- Warren

-----Original Message-----
From: gtk-list-bounces gnome org [mailto:gtk-list-bounces gnome org] On
Behalf Of David Necas (Yeti)
Sent: Wednesday, December 20, 2006 5:29 PM
To: gtk-list gnome org
Subject: Re: How do I update ONLY GLib?

On Wed, Dec 20, 2006 at 04:50:56PM -0600, Warren Fenlon wrote:
> Ok, that sounds like an interesting possibility, but I am something of a
> neophyte when it comes to compiling system "stuff".  I DO know how to
> install rpms anyway.  My assumption from the src.rpm name is that it is
> source only files and after installing it there is a build step,


> 1. What is the "spec" file?,

A recipe to build the package, it's inside the src.rpm.

> 2. How do I "inform" the build process where my new glib files are?

> 3. What is the build syntax?

> Probably pretty basic questions, but I really do NOT want to screw up my
> system :-).

Well, then it's really preferable to install it to
a non-system location following Tristan's instructions.
Anyway (as a user, not root):

# Set up the build tree in ~/rpmbuild
echo "%_topdir $HOME/rpmbuild" >>~/.rpmmacros
mkdir -p
# Fix the pkg
rpm -i glib2-2.4.7-1.src.rpm
cp glib-2.12.6.tar.bz2 ~/rpmbuild/SOURCES/
vim ~/rpmbuild/SPECS/glib2.spec
[... change Version field ...]
# Build
rpmbuild -bb ~/rpmbuild/SPECS/glib2.spec


gtk-list mailing list
gtk-list gnome org

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