Re: Choose destination directory at installation

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 19/10/06, Sauterel Fabrice <[email protected]> wrote:
> I typed "make install prefix=/myDir/ exec-prefix=/myDir/ " instead of
> exec_prefix=/myDir/ (underscore!!!!!) then it is working well. That is,
> everything is installed in /myDir/
> But then if I look, e.g., in the following file /myDir/lib/libnetsnmp.la
> it still contains this
> ....
> # Directory that this library needs to be installed in:
> libdir=/the_prefix_I_gave_to_the_configure_script/
> It also seems that sbin/snmpd still depends on the prefix I gave to the
> configure script.


That is correct.
The purpose of "prefix" and "exec_prefix" is to help with building packages,
where there may already be another installed version of the software on the same
system (which should not interfere with the version being packaged, or
vice versa).

These are purely temporary during the packaging process, and should be
invisible once the resulting package has been installed on the destination
system(s).

The final location of the software should match what was specified to configure.
It *might* be possible to install some things elsewhere (especially if binaries
are linked statically), but I can't help feeling that you're trying to
stretch the
installation process beyond what is reasonable.

Dave

-------------------------------------------------------------------------
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.