relocatable RPMS & autoconf
Derek Atkins
warlord at MIT.EDU
Tue Jan 16 09:41:55 EST 2001
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).
More information about the Discuss
mailing list