This is documented in README.solaris

make install prefix=/tmp/net-snmp exec_prefix=/tmp/net-snmp

>I'm currently working on a "real" Solaris package for net-snmp (i,e, 
>using Sun's pkgadd and friends.)  The process basically involves 
>installing to a dummy directory, building the package, then 
>substituting in the real directory for the dummy one inside of the 
>newly created package.  So, I'm doing a make install with an 
>INSTALL_PREFIX of /tmp/net-snmp (for example).  Here's my make command:

>    $MAKE install INSTALL_PREFIX=/tmp/net-snmp \
>         persistentdir=/tmp/net-snmp/var/snmp  \
>         || exit


>This goes and processes the header files just fine (since they're in 
>the top level Makefile), but when we call the lower level Makefiles to 
>install the libraries and application, they attempt to install in the 
>original locations, because the INSTALL_PREFIX is not being propagated 
>down the make chain.

>Is there a better way to do this?

When you get it all working, please tell us how you did it.  





This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to