Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/unix/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unix 使用pkgmk在solaris 10上创建包_Unix_Package_Solaris 10 - Fatal编程技术网

Unix 使用pkgmk在solaris 10上创建包

Unix 使用pkgmk在solaris 10上创建包,unix,package,solaris-10,Unix,Package,Solaris 10,我正在尝试在Solaris10x86上使用pkgmk创建一个包。我的Makefile.am运行正常,直到我点击以下命令: pkgmk -o -b $(HOME)/solbuild/pkg_solaris 然后我得到这个错误: ## Building pkgmap from package prototype file. ERROR in prototype: > found in search pathinfo > found in search pathuest > fo

我正在尝试在Solaris10x86上使用pkgmk创建一个包。我的Makefile.am运行正常,直到我点击以下命令:

 pkgmk -o -b $(HOME)/solbuild/pkg_solaris
然后我得到这个错误:

## Building pkgmap from package prototype file.
ERROR in prototype:
> found in search pathinfo
> found in search pathuest
> found in search pathtinstall
> found in search pathtremove
> found in search pathinstall
> found in search pathremove
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.
这个错误意味着什么?我似乎找不到明确的答案。我的原型正在查找我的文件,但仍然失败

这是我的原型文件,如果有帮助的话:

i pkginfo
i request
i postinstall
i postremove
i preinstall
i preremove

d none start/opt/path/directory 0755 root sys
f none start/opt/path/to/file 0400 root sys
f none start/opt/path/to/file2 0744 root sys
d none start/opt/path/directory2 0755 root sys 
f none start/opt/path/to/file3 0755 root sys
f none start/opt/path/to/file4 0744 root sys
d none start/opt/path/to/direcotory3 0755 root sys
e none start/opt/path/to/anotherfile 0744 root sys
e none start/opt/path/to/anotherfile2 0744 root sys

问题是这些文件没有使用unix行结尾,这是一个很大的问题。所以我使用的是
dos2unix文件>tempFile;mv tempFile file
这就解决了它