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?

Jason



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