Solaris pkgmk -> prototype errors...

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Solaris pkgmk -> prototype errors...
# 8  
Old 07-30-2002
The only thing I can think of is the \ to let the program know not to look at the next character as special. You would have to rename the file unless someone else has an idea on this one.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

apache 2.2.22 Solaris errors

Hi, I have installed apache 2.2.22 on solaris machine and trying to do some basic testing, but it is failing for one of the scenario. Seeing below in the error logs But noy sure why there is a need for AuthUserFile when i mentioned AuthldapURL. Please advise Thanks (1 Reply)
Discussion started by: prash358
1 Replies

2. Solaris

Solaris with Soft Errors in XIV

Hi guys, I had a solaris box, with veritas controled disk. 1 disc is showing soft errors, how can I repair the soft errors? Please help. Cheers; (4 Replies)
Discussion started by: Mujakol
4 Replies

3. Solaris

Error with pkgmk command

Hi guys I need some help with the following error # pkgmk -r 'pwd' ## Building pkgmap from package prototype file. ERROR in prototype: garbled entry - pathname: none - problem: extra tokens on input line pkgmk: ERROR: unable to build pkgmap from prototype file ##... (2 Replies)
Discussion started by: solaris_user
2 Replies

4. Linux

xset errors when trying to remote x11 from solaris

Hi all, Trying to achieve: Remote X11 app (advance trader workstation... really old) from solaris to linux. This app uses a startup script that loads some fonts via xset. I get an error from xset saying "incorrect font server address or syntax" Of course its not correct since i'm... (0 Replies)
Discussion started by: maverick72
0 Replies

5. Solaris

Errors in postfix configuration on solaris 10

Hi Geeks, I am trying to configure 'postfix' for sending mail only instead of 'sendmail'. I am getting following error when I try to send mail using mailx command. #echo "test" | mailx -s "test mail" <username> -- command executed from server --/var/log/syslog output : Jul 8 12:55:44... (0 Replies)
Discussion started by: abhkadam
0 Replies

6. Solaris

Solaris Zone errors

after booting up my zone i get following error # zlogin -C DB_zone Sep 29 09:18:46 svc.startd: Could not log for svc:/system/filesystem/root:default: write(51) failed with I/O error. Sep 29 09:18:47 svc.startd: Could not log for svc:/system/installupdates:default: write(17) failed with... (5 Replies)
Discussion started by: fugitive
5 Replies

7. Solaris

Solaris 9 lroundf errors

When I want to install some softwares from source with gcc/4.3 on a sparc solaris 9 I always have errors like this one : (example with lapack-3.2) ../../lapack_SUN4.a(slacn2.o): In function `slacn2_': slacn2.f:(.text+0x1b0): undefined reference to `lroundf' slacn2.f:(.text+0x370): undefined... (0 Replies)
Discussion started by: wolfhurt
0 Replies

8. Solaris

Solaris Installation errors Please help

Hi to all I have a sun Ultra 10 workstation with the following configuration SUN ULTRA-10 Workstation 440 Mhz CPU 1024 MB RAM 40 GB HDD Seagate (Connected as Primary master) FDD Samsung DVD Writer (connected as Secondary master) CABINET SMPS Sun keyboard and mouse the command -... (3 Replies)
Discussion started by: network45
3 Replies

9. Shell Programming and Scripting

Errors while executing cmds in sun solaris

Hi All, I am using mysql at sun solaris unix(Hp) server. I logged into mysql server with root as user. its logged in properly. Then i used 'show databases' mysql command. its display all the available databases. for example mysql > show databases; It displayed as follows. exampledb1 ... (1 Reply)
Discussion started by: dbsurf
1 Replies

10. UNIX for Dummies Questions & Answers

Pkgmk....question on prototype file

I've read the man page, but still unclear a bit.... I'm making some packages of files. My pkginfo file has a line BASEDIR=/base/path. I also have several prototype files (depending on the package), that either list the destination path as absolute: f non /abs/path/to/go/here/file1 or are... (0 Replies)
Discussion started by: Yinzer955i
0 Replies
Login or Register to Ask a Question
pkgmk(1)							   User Commands							  pkgmk(1)

pkgmk - produce an installable package SYNOPSIS
pkgmk [-o] [-a arch] [-b base_src_dir] [-d device] [-f prototype] [-l limit] [-p pstamp] [-r root_path] [-v version] [variable=value...] [pkginst] DESCRIPTION
The pkgmk utility produces an installable package to be used as input to the pkgadd(1M) command. The package contents will be in directory structure format. The command uses the package prototype(4) file as input and creates a pkgmap(4) file. The contents for each entry in the prototype file is copied to the appropriate output location. Information concerning the contents (checksum, file size, modification date) is computed and stored in the pkgmap file, along with attribute information specified in the prototype file. pkgmk searches for the files listed in the prototype(4) file as described in the following conditions. Note: If a prototype file contains the explicit location of the file to include in the package, then the following search explanations do not apply. 1. If neither -b nor -r options are specified, the file name component of each file path listed in the prototype(4) file is expected to be found in the same directory as the prototype(4) file 2. If -b is specified as a relative path (without a leading "/"), then base_src_dir is prepended to the relative file paths from the pro- totype(4) file. The resulting path is searched for in the root_path directories. If a root_path is not specified, it defaults to "/". 3. If -b is specified as an absolute path (with a leading "/"), then base_src_dir is prepended to the relative paths from the prototype(4) file and the result is the location of the file. root_path is not searched. 4. If -r is specified, then full file paths are used from the prototype(4) file. Relative paths have base_src_dir prepended. If base_src_dir is not specified, it defaults to "". The resulting path is searched for in each directory of the root_path. If you created your prototype file using "pkgproto a/relative/path" or "pkgproto a/relative/path=install/path", then you should use the -r root_path option to specify the location of a/relative/path so that pkgmk can correctly locate your source files. OPTIONS
The following options are supported: -a arch Overrides the architecture information provided in the pkginfo(4) file with arch. -b base_src_dir Prepends the indicated base_src_dir to locate relocatable objects on the source machine. Use this option to search for all objects in the prototype file. pkgmk expects to find the objects in /base_src_dir or to locate the objects by use of the -b and -r options, respectively. -d device Creates the package on device. device can be an absolute directory pathname or the identifiers for a floppy disk or remov- able disk (for example, /dev/diskette). The default device is the installation spool directory (/var/spool/pkg). -f prototype Uses the file prototype as input to the command. The default prototype filename is [Pp]rototype. -l limit Specifies the maximum size in 512 byte blocks of the output device as limit. By default, if the output file is a directory or a mountable device, pkgmk will employ the df(1M) command to dynamically calculate the amount of available space on the output device. This option is useful in conjunction with pkgtrans(1) to create a package with a datastream format. -o Overwrites the same instance; package instance will be overwritten if it already exists. -p pstamp Overrides the production stamp definition in the pkginfo(4) file with pstamp. -r root_path Uses the indicated root_path with the source pathname appended to locate objects on the source machine, using a comma (,) as the separator for the path elements. If this option is specified, look for the full destination path in each of the directories specified. If neither -b nor -r is specified, look for the leaf filename in the current directory. -v version Overrides the version information provided in the pkginfo(4) file with version. variable=value Places the indicated variable in the packaging environment. (See prototype(4) for definitions of variable specifications.) OPERANDS
The following operand is supported: pkginst A package designation by its instance. An instance can be the package abbreviation or a specific instance (for example, inst.1 or inst.2). All instances of a package can be requested by inst.*. The asterisk character (*) is a special character to some shells and may need to be escaped. In the C-Shell, "*" must be surrounded by single quotes (') or preceded by a backslash (). EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
pkgparam(1), pkgproto(1), pkgtrans(1), uname(1), df(1M), pkgadd(1M), pkginfo(4), pkgmap(4), prototype(4), attributes(5) Application Packaging Developer's Guide NOTES
Architecture information is provided on the command line with the -a option or in the prototype(4) file. If no architecture information is supplied, pkgmk uses the output of uname -m (see uname(1)). Version information is provided on the command line with the -v option or in the pkginfo(4) file. If no version information is supplied, a default based on the current date will be provided. Command line definitions for both architecture and version override the prototype(4) definitions. SunOS 5.10 10 Jan 2001 pkgmk(1)