Re: rpm



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

On Thu, 20 Aug 1998, Kenneth Christiansen wrote:

> To: gnome-list@gnome.org
> Subject: rpm
> From: Kenneth Christiansen <kenth@writeme.com>
> 
> All my gnome is installed into /usr/local. But what should i do if I want
> to install
> the rpms into the same directory (/usr/local/; they install into /usr by
> default)

Fetch the SRPM and change the

%define prefix /usr

to

%define prefix /usr/local

in the SPEC file. You can then rebuild the RPM and get a binary one that
installs in /usr/local.

Note that GNOME RPMS are normally *NOT* relocable (the panel will look in
/usr/share/pixmaps and so on) so it will probable not work if you simply
install them somewhere else (with `rpm --prefix', probable you also need
to use `--force', I don't tried this out).

Martin

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

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   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

iQCVAwUBNdwXyoA8K7jIF4Q1AQExZAQAp87zM7PK9jIzUDp4sU0x9s0V9YzdsYXR
hH0WD8a8XY3sSQURbkLoNyF6kqwTQ5Jpr8cXOcTtfuax5WdjEDO+skZj5bCUp4IW
3ivOeue9uDPwMSObyADvRQD2CGQSkqKjwxExMOcV7Pb8sBpdRT2i3JHmol/9vmvJ
sJWo4ShF06A=
=gm2h
-----END PGP SIGNATURE-----



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