Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

relocatable RPMS & autoconf



You generally want:

./configure --prefix=/opt/[project-dir]

make ...

make install DESTDIR=/tmp/[project-dir]

(NOTE: Some systems don't support DESTDIR, which means you'll probably
need to use "prefix" again).

-derek

linuxguy at ici.net writes:

> Greetings,
> 
> I was wondering if anyone on this list speaks RPM fluently :-)
> 
> I want to build packages that get installed in /tmp/[project-dir] but
> end up being RPM installed in /opt/[project-dir].
> 
> I do understand the RPM relocatable package process, but I'm missing the
> link where I tell autoconf/configure to build/compile for /opt/[dir]
> and then when I run 'make install' it's all gets stuffed into /tmp/[dir].
> 
> If you understand what Im asking, then surely you must know the answer...
> 
> FYI, I'll be at LinuxWorld again this year :-)
> 
> - christoph
> 
> 
> 
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org