Re: DESTDIR support

Mike Schmidt <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

Oddly enough, Frank's method seems to work:

Instead of my original attempt, which was : edit Makefile, set 
DESTDIR=/root/tmp, then run make install
the second attempt:

restore Makefile
make install INSTALL_PREFIX=/root/net-snmp

that worked. I don't understand, because the Makefile says 
'INSTALL_PREFIX=$(DESTDIR), so both methods should have been the same.

Thanks Frank.

Mike

Frank, Jason wrote:
> Here's what I use:
>
> TMP=`pwd`/pkgroot
> make install INSTALL_PREFIX=${TMP}
>
> As a matter of fact, I've got a whole script that build a Solaris
> package, if you'd like that.
>
> Jason 
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Mike
> Brodbelt
> Sent: Wednesday, December 13, 2006 9:28 AM
> To: [email protected]
> Subject: DESTDIR support
>
> Hi,
>
> Building Net-SNMP 5.4, I notice that there appears to be support for
> installation to a packaging tree via setting DESTDIR. but this actually
> doesn't work, with most stuff ignoring DESTDIR.
>
> Is this going to be fixed, or is there a different recommended way of
> installing to a temporary packaging tree?
>
> Mike
>
>
> This message (including any attachments) may contain confidential or otherwise
> privileged information and is intended only for the individual(s) to which it
> is addressed.  If you are not the named addressee you should not disseminate, 
> distribute or copy this e-mail.  Please notify the sender immediately by e-mail
> if you have received this e-mail by mistake and delete this e-mail from your
> system.  E-mail transmission cannot be guaranteed to be secured or error-free
> as information could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete, or contain viruses.  The sender therefore does not accept liability
> for any errors or omissions in the contents of this message or that arise as a
> result of e-mail transmission.  If verification is required please request a
> hard-copy version from the sender.
>
> SOURCECORP, Incorporated
> www.srcp.com
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
mike.vcf (text/x-vcard, 354 B)
begin:vcard
fn:Mike Schmidt
n:Schmidt;Mike
org:Intello Technologies Inc. 
adr;quoted-printable;quoted-printable:;;580 1=C3=A8re Rue;Saint-Jean-sur-Richelieu;Qu=C3=A9;J2X 3B4;Canada
email;internet:[email protected]
title:Vice-President
tel;work:450-358-2266 x223
tel;cell:514-835-9497
x-mozilla-html:FALSE
url:http://www.intello.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.