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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |