简体   繁体   English

创建.deb包 - 无法获取依赖项

[英]Create .deb package - can't get dependencies

I am trying to create a simple .deb package by following a wonderful tutorial , and my problem is that when I try to get the dependencies of the package by executing this command: 我试图通过遵循一个很棒的教程创建一个简单的.deb包,我的问题是当我尝试通过执行此命令获取包的依赖项时:

dpkg-depcheck -d ./configure

I get this error: 我收到此错误:

strace: ./configure: command not found
Running strace failed (command line:
strace -e trace=open,execve -f -q -o /tmp/depchqCdeiv ./configure

which I don't understand. 我不明白。 Do you have any idea about what could be causing this? 你对这可能导致什么有什么想法吗? This on Ubuntu 12.04. 这个在Ubuntu 12.04上。

I think that tutorial is not the better approach to create quality deb packages. 我认为该教程不是创建高质量deb包的更好方法。

Better resources would be: 更好的资源将是:

About the error, I imagine that the software that you are trying to package doesn't use autotools, and for that reason it doesn't have any configure script. 关于错误,我想你试图打包的软件不使用autotools,因此它没有任何configure脚本。 The way that the dependencies are checked depends on the build system used. 检查依赖项的方式取决于使用的构建系统。 If you don't have a configure script, maybe your project root directory has a SConstructp , a setup.py or simply a Makefile . 如果您没有configure脚本,那么您的项目根目录可能包含SConstructpsetup.pyMakefile

Giving more information about the software you are trying to package I can provide further help. 提供有关您尝试打包的软件的更多信息,我可以提供进一步的帮助。

Best regards 最好的祝福

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM