RE: Choose destination directory at installation

"Sauterel Fabrice" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
If I do ./configure --prefix=/here/
Then make
And then make install prefix=/tmp/some/where/else
exec-prefix=/tmp/some/where/else (that is different from 'configure')

Then the directories 'include', 'share' etc.. are indeed moved to
/tmp/some/where/else BUT 'bin', 'sbin' and 'lib' are still built under
/here/. It seem that the directive exec-prefix does not work with "make
install"

FYI: I am running net-snmp-5.2.3 under IBM AIX-5.3

Regards - Fabrice

>I do this all of the time to handle package building on Solaris.
>Basically, you install into a temporary directory and create your
package off of that.  Here's what I use:
>
>make install prefix=${TMP}/${prefix} exec_prefix=${TMP}${prefix}
>
>In my case, the value of $prefix is the same prefix that was passed
into configure.  So, your question about changing paths doesn't >really
apply to my situation.
>
>But I can't think of any paths that get hardcoded in the programs
anywhere.  Net-SNMP doesn't use a .pc file, and I'm not sure what
>else there might be that would need to be fixed.  You'll have to set
your LD_LIBRARY_PATH, PATH, and MANPATH appropriately if you
>chose some whacky install dir, but that's whether it's done at
configure or install time.
>
>Jason

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
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.