Re: DESTDIR support

This is a discussion on Re: DESTDIR support within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 2006-12-13 at 11:23 -0500, Mike Schmidt wrote: > Hi, > > Oddly enough, Frank's ...


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 Brodbelt
 
Posts: n/a
Default Re: DESTDIR support

On Wed, 2006-12-13 at 11:23 -0500, Mike Schmidt wrote:
> 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.


I tried that, and it didn't work for me :-(. I'm not entirely sure why.
I've brute forced it for now by doing it this way:-

find . -name Makefile -exec perl -p -i -e 's#^(DESTDIR[^=]*=).*#\1 /root/net-snmp#' {} \;
make install

It's kind of evil, but it does the job...

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
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 05:27 AM.


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