After further testing, I've found some improvements to the script.
Here's what's changed:
1. Change the make install command to use INSTALL_PREFIX instead of
prefix and exec-prefix. My research shows that the intention of
INSTALL_PREFIX is to allow package maintainers to install packages, and
Looks like SF rejected my zip file, but Bruce should have a copy it.
Jason
On Nov 4, 2004, at 5:35 PM, Jason Frank wrote:
I've completed the work on a Solaris packaging script (actually 2 of
them.) There will be a documentation change, but not more than a
couple paragraphs, and possi
GNU Make worked just ducky. I'll need today to get the packaging code
finished (got some other items on my plate) and hopefully it can be
added to CVS.
Jason
On Nov 2, 2004, at 9:02 AM, Bruce Shaw wrote:
I'll add that in.
You're absolutely right. I've used /usr/ccs/bin/make. and
/usr/xpg4/bin/
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
Tested that out too. Same problem exists, it's not passing the prefix
or exec_prefix down either:
bash-2.05$ make install prefix=`pwd`/pkgroot/ exec_prefix=`pwd`/pkgroot/
.
.
.
making installlibs in /home/jfrank/net-snmp-5.1.2/snmplib
mkdir /opt/net-snmp
mkdir: Failed to make directory "/opt/net
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 do