variables in pathnames for packages
2007-12-24 19:45:00
solicit a base directory from the administrator. I have followed the
instructions in the Application Packaging Developers Guide to a T, and
continually fail on pkgmk with the following:
...
no object for <$TMCATHME/tomcat/logs/servlet.log> found in root
directory
...
WARNING: parametric paths may ignore BASEDIR
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.
What I have is in the pkginfo file an entry for a 'default setting of
the $TMCATHME variable:
TMCATHME=/usr/local
And then in the prototype files I have the path all specified as
$TMCATHME/tomcat/blah/blah/blah
This seems to fail whether BASEDIR is defined in pkginfo or not, and the
package builds (and installs) fine whenever I strip out the variable
definition in prototype file.
(define BASEDIR=/usr/local and prototype file just says:
tomcat/blah/blah/blah)
Any thoughts?
TIA
--
Matthew Boeckman (913) 327-5360
Manager - Systems Integration Saepio Technologies
Unix rules the land
Windows has been defeated
Peace is mine at last
Comments
Got something to say?
You must be logged in to post a comment.

