You're absolutely right. I've used /usr/ccs/bin/make. and /usr/xpg4/bin/make, but haven't built GNU make yet. I'll get that done overnight and see if I don't get better results. Just for the record, this is not documented in README.solaris, and without it, it won't work correctly ;-)

Jason

On Nov 1, 2004, at 4:17 PM, Robert Story (Coders) wrote:

On Mon, 1 Nov 2004 11:16:00 -0600 Jason wrote:
JF> I'm currently working on a "real" Solaris package for net-snmp (i,e,
JF> using Sun's pkgadd and friends.) The process basically involves
JF> installing to a dummy directory, building the package, then
JF> substituting in the real directory for the dummy one inside of the
JF> newly created package. So, I'm doing a make install with an
JF> INSTALL_PREFIX of /tmp/net-snmp (for example). Here's my make command:
JF>
JF> $MAKE install INSTALL_PREFIX=/tmp/net-snmp \
JF> persistentdir=/tmp/net-snmp/var/snmp \
JF> || exit
JF>
JF>
JF> This goes and processes the header files just fine (since they're in
JF> the top level Makefile), but when we call the lower level Makefiles to
JF> install the libraries and application, they attempt to install in the
JF> original locations, because the INSTALL_PREFIX is not being propagated
JF> down the make chain.


I suspect that you are not using GNU make, as this works fine on the solaris
host I have access to. The makefiles consistently use $(MAKE), which should
pass the environment down to the lower level make files.


--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>


You are lost in a twisty maze of little standards, all different.


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



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