building solaris package using mkpackage

Jesse Reynolds lizst at va.com.au
Thu May 20 06:17:44 CEST 2004


Hi

I see that in nagios 1.2 there is a script "mkpackage" which you can 
run with the option "solaris" to build a solaris package of nagios. 
Neat!

However this looks like it's basically all working, except that it 
complains about VERSION not being set.

Below is the tail end of the output of mkpackage:

pkgmk -o -r / -f Prototype -d /usr/local/sources/inst/nagios-1.2/pkg nagios
## Building pkgmap from package prototype file.
## Processing pkginfo file.
WARNING: missing directory entry for </etc>
WARNING: missing directory entry for </usr>
WARNING: missing directory entry for </usr/local>
pkgmk: ERROR: parameter <VERSION> cannot be null
## Packaging was not successful.
make: *** [pkg/nagios/pkgmap] Error 1


I've worked out that if you then edit the pkginfo file to give it a 
version, and then again run the pkgmk command given above, it'll 
happily build a package for you.

Regards

Jesse


-- 

   ::: Jesse Reynolds +61 (0)414 669 790 ::: AIM - jessedreynolds :::
   ::: Virtual Artists Pty Ltd, Adelaide ::: http://www.va.com.au :::


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list