Re: [gtk-list] RE: Some basic questions



"Rolling our own RPM", a very mini HOWTO (and only tested by me on
Mandrake and RH)

[in the directory where the gtk tar.gz file is]
% su

% rpm -ta --target=i386 gtk+-1.2.6.tar.gz


The resulting RPMS (which will be both devel and a "normal" one) should
be in /usr/src/RPM/RPMS/i386/  (You may want to check to make sure that
folder's there before you start, else the whole process will go on and
then die at the end.)

If you have a .src RPM, it's (as root):

% rpm --rebuild --target=i386 gtk+-1.2.6.tar.gz


You can set the compiler flags for the different platforms in
/usr/lib/rpm/rpmrc.


Thank you, GTK developers, for making a nice spec file and keeping this
so easy to do.  :-)



--Mike


"Arjan J. Molenaar" wrote:
> 
> > -----Original Message-----
> > From: Jason Forbes [mailto:jasonforbes@students.wisc.edu]
> > Sent: Monday, December 13, 1999 7:10 AM
> > To: gtk-list@redhat.com
> > Subject: [gtk-list] Some basic questions
> >
> >
> > Hi all,
> >
> > Sorry if these questions are not the normal scope of this list, but I
> > didn't get any docs from the mailserver that explain usage of this
> > list...
> >
> > Anyway, I'm running RedHat 6.1 and gtk+ 1.2.5 was installed from the
> > rpms on the redhat install cd. i went to upgrade to 1.2.6 and there
> > weren't any rpm files of it, i was wondering if they are available
> > anywhere, or if they will be in the future?
> >
> > also, i dl'ed the source tar.gz's of 1.2.6 and installed but now it
> > seems that both versions are installed on my system. i was
> > wondering how
> > i can update everything so that it is all the new version, or
> > uninstall
> > the new version so that everything is 'in sync' .. i am unable to
> > compile gtk apps because of this (a problem with 2 different
> > versions of
> > gtk-config returning different version numbers).. any help would be
> > greatly appreciated..
> >
> 
> The RPM version is placed in the /usr directories (/usr/bin, /usr/lib, etc.) while the tarball is placed in /usr/local by default. The tarball however contains a .spec file that is used by RPM to create a package. you should check out the man page for the exact parameters to build a package (and probably also a devel-package) from the tar.gz file directly.
> 
> Once you have those rpms you can update the old packages using the -U flag.
> 
> You can also force uninstallation of the rpm version, but well.. RPM's are just so easy to use... I dont think you want that ;-).
> 
> regards,
> 
> Arjan
> 
> > thanks
> >
> > jason
> >
> > --
> > To unsubscribe: mail -s unsubscribe
> > gtk-list-request@redhat.com < /dev/null
> >
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



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