Re: DESTDIR support

This is a discussion on Re: DESTDIR support within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --------------070602070808030807010604 Content-Type: text/plain; charset=ISO-8859-1; format=flowed ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2006
Mike Schmidt
 
Posts: n/a
Default Re: DESTDIR support

This is a multi-part message in MIME format.
--------------070602070808030807010604
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Strange coincidence. I just tried that not 30 minutes ago and the same
thing happenned.
I'm on RH8, custom kernel, which I have no choice about in this
circumstance.
Here are my findings:

I set DESTDIR to /root/tmp
DESTDIR is used for the include directory, so we get
/root/tmp/usr/local/include ....
However, as soon as we get to the libs, we get (just some selected
output from the make install):

mkdir /root/tmp/usr/local/include/net-snmp/machine
/usr/bin/install -c -m 644 ./include/net-snmp/machine/generic.h
/root/tmp/usr/local/include/net-snmp/machine/generic.h
installing generic.h in /root/tmp/usr/local/include/net-snmp/machine

-- up to here we still had DESTDIR, from now on we don't

making installlibs in /root/net-snmp-5.4/snmplib
make[1]: Entering directory `/root/net-snmp-5.4/snmplib'
/usr/bin/install -c .libs/libnetsnmp.so.15.0.0
/usr/local/lib/libnetsnmp.so.15.0.0
(cd /usr/local/lib && { ln -s -f libnetsnmp.so.15.0.0 libnetsnmp.so.15
|| { rm -f libnetsnmp.so.15 && ln -s libnetsnmp.so.15.0.0
libnetsnmp.so.15; }; })
(cd /usr/local/lib && { ln -s -f libnetsnmp.so.15.0.0 libnetsnmp.so || {
rm -f libnetsnmp.so && ln -s libnetsnmp.so.15.0.0 libnetsnmp.so; }; })
/usr/bin/install -c .libs/libnetsnmp.lai /usr/local/lib/libnetsnmp.la
/usr/bin/install -c .libs/libnetsnmp.a /usr/local/lib/libnetsnmp.a
chmod 644 /usr/local/lib/libnetsnmp.a
ranlib /usr/local/lib/libnetsnmp.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib

from then on, the DESTDIR is ignored.

Mike Brodbelt wrote:
> 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 email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __________________________________________________ ____________________
>
> -------------------------------------------------------------------------
> 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?p...rge&CID=DEVDEV
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/...net-snmp-users
>


--------------070602070808030807010604
Content-Type: text/x-vcard; charset=utf-8;
name="mike.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="mike.vcf"

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:mike@intello.com
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


--------------070602070808030807010604
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
--------------070602070808030807010604
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--------------070602070808030807010604--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0