Re: fake install path
Thanks,Paul. It works as you directed. Allen Liu IP Application Design and Engineering Bell Canada (613) 781-7368, [EMAIL PROTECTED] 1240 -160 Elgin St, Ottawa,ON, K2P 2C4 - Original Message - From: Paul Bijnens [EMAIL PROTECTED] To: Brandon D. Valentine [EMAIL PROTECTED] Cc: Jonathan Dill [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 01, 2004 7:08 PM Subject: Re: fake install path Brandon D. Valentine wrote: On Mon, Mar 01, 2004 at 10:10:13PM +0100, Paul Bijnens wrote: Jonathan Dill wrote: make install VARIABLE=/tmp/amanda-2.4.4p2 The prefix= can be specified to override the configure prefix like: make install prefix=/tmp/amanda-2.4.4p2 This is not what you want, Jonathan. DESTDIR is the correct variable to overload for package building at the make install stage. PREFIX is defined at configure time as the install location. DESTDIR will be prepended to PREFIX at make install time. Thanks for correcting me. I also found a decent explanation: http://sources.redhat.com/autobook/autobook/autobook_107.html -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
fake install path
I vaguely recall that there is variable that you can pass to 'make' to install to a different root, similar to what happens during building a binary RPM, for example: make install VARIABLE=/tmp/amanda-2.4.4p2 The result is that you end up with all of the amanda files in /tmp/amanda-2.4.4p2/usr/local and so on. Then you can do something like this: cd /tmp/amanda-2.4.4p2 tar cvzf amanda-tarball.tgz . Then you can ftp the tarball to a different machine, cd / and extract the tarball. Does anybody remember what VARIABLE is supposed to be or how to do this? My goal is to set up a Snap Appliance 4500 as an amanda server--Yeah, I have already seen Preston Smith's page about setting up amanda client on a Snap 4400, and I also know that Snap Appliance won't take responsibility if I somehow manage to screw up my Snap. Thanks, --jonathan
Re: fake install path
Jonathan Dill wrote: I vaguely recall that there is variable that you can pass to 'make' to install to a different root, similar to what happens during building a binary RPM, for example: make install VARIABLE=/tmp/amanda-2.4.4p2 The prefix= can be specified to override the configure prefix like: make install prefix=/tmp/amanda-2.4.4p2 -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
Re: fake install path
Thanks, that worked: make install prefix=/tmp/amanda-2.4.4p2/usr/local cd /tmp/amanda-2.4.4p2 tar cvzf ../amanda-tarball.tgz Paul Bijnens wrote: The prefix= can be specified to override the configure prefix like: make install prefix=/tmp/amanda-2.4.4p2
Re: fake install path
On Mon, Mar 01, 2004 at 10:10:13PM +0100, Paul Bijnens wrote: Jonathan Dill wrote: I vaguely recall that there is variable that you can pass to 'make' to install to a different root, similar to what happens during building a binary RPM, for example: make install VARIABLE=/tmp/amanda-2.4.4p2 The prefix= can be specified to override the configure prefix like: make install prefix=/tmp/amanda-2.4.4p2 This is not what you want, Jonathan. DESTDIR is the correct variable to overload for package building at the make install stage. PREFIX is defined at configure time as the install location. DESTDIR will be prepended to PREFIX at make install time. HTH, Brandon D. Valentine -- [EMAIL PROTECTED] http://www.geekpunk.net Pseudo-Random Googlism: february is national pet dental health month
Re: fake install path
Brandon D. Valentine wrote: On Mon, Mar 01, 2004 at 10:10:13PM +0100, Paul Bijnens wrote: Jonathan Dill wrote: make install VARIABLE=/tmp/amanda-2.4.4p2 The prefix= can be specified to override the configure prefix like: make install prefix=/tmp/amanda-2.4.4p2 This is not what you want, Jonathan. DESTDIR is the correct variable to overload for package building at the make install stage. PREFIX is defined at configure time as the install location. DESTDIR will be prepended to PREFIX at make install time. Thanks for correcting me. I also found a decent explanation: http://sources.redhat.com/autobook/autobook/autobook_107.html -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***