Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris10 Package Creation with variable

Status
Not open for further replies.

Sarath420

Technical User
Jul 6, 2010
3
DE
Dear All,

I am trying to build a solaris package with a variable, so that it can be installed with an environment. The prototype file contains the variables for user and group that can be parameterised during the package installation. The following is the prototype file and the error when building the package,

i pkginfo
i copyright
f none libiculx.so 0755 $dan $egroup
f none libicuuc.so 0755 $dan $egroup
f none libicui18n.so 0755 $dan $egroup


bash-3.00# pkgmk -o -r ./tree -d /var/spool/pkg/ -f prototype
## Building pkgmap from package prototype file.
ERROR in prototype:
garbled entry
- pathname: libiculx.so
- problem: no value defined for build variable <$dan>.
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.

Thanks for your valuable suggestions in advance

Sanchan
 
You should update that your question was answered on the OTN Discussion Forums.
 
...and perhaps post a summary of the solution here for completeness.

The internet - allowing those who don't know what they're talking about to have their say.
 
Thanks blarneyme, my comment was actually for the OP, but what the hey.

The internet - allowing those who don't know what they're talking about to have their say.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top