Re: RPMs of Gnome



-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 7 Apr 1998, wes wrote:

> Is there any way to make the rpms relocatable?  I would like to put everything 
> under /usr/local with rpm --prefix /usr/local -iv <filename> but rpm replies 
> with:
> package <filename> is not relocatable
> error: cannot be installed

If it's all the same like with gnome-libs, there is a way, but you have to
compile the packages yourself. Fetch the source RPM, install it and edit
the spec file (this is gnome-libs.spec from CVS):

# Note that this is NOT a relocatable package
%define ver      0.13
%define rel      SNAP
%define prefix   /usr

Change this to whereever you want to have them installed, for instance

# Note that this is NOT a relocatable package
%define ver      0.13
%define rel      SNAP
%define prefix   /usr/local

After that, build a new binary RPM and install it:

  rpm -bb --clean gnome-libs.spec
  rpm -bi ../RPMS/<architecture>/gnome-libs....rpm

The build should work as any user, not only as root.

- -----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.com/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNSq+LYA8K7jIF4Q1AQGtawQAwF6djAm1Fg1L4sl/dQfqXo7ZyfBAtLES
pP9pco47g4OEHkRZzWXqUMCmEBITC91g2a+lwpXQuEVlO22znpfAfD1teQ/tFayc
Vb49Ks/kKODR3kEmxbM0GicHxolFxtBMCJTjJ1da2oz/aLsThBEVjbKdY3YA+CVR
R+jBjj3XbUw=
=I4Ro
-----END PGP SIGNATURE-----



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