无法编译.deb包; make package 命令返回错误
当我尝试使用
cd <name>
make package
then 编译适用于 iOS 5 的通知中心小部件时,出现以下错误:
make package requires dpkg-deb.
make: *** [package] Error 1
但我已使用安装了 dpkg-deb
sudo su
<enter your password>
cd /bin
curl http://debmaker-osx.googlecode.com/svn-history/r5/trunk/dpkg-deb > dpkg-deb
并且我已导航到 /bin
目录和 dpkg-deb 文件存在于文件夹中。我该怎么做才能让它发挥作用?我已经按照本教程了解如何安装 theos、dpkg-deb 以及如何创建 WeeAppPlugin,我只是坚持编译捆绑包... http://weeplugins.com/blog/?p=1
更新: 如果我运行此命令,我似乎无法访问 /bin/dpkg-deb 文件
cd /bin/dpkg-deb
,但会收到一条错误消息,指出我无权访问该文件。是否可以将文件移动到另一个文件夹以便我可以访问它?
When I try to compile a Notification Center widget for iOS 5 using
cd <name>
make package
then I get the following error:
make package requires dpkg-deb.
make: *** [package] Error 1
But I have installed dpkg-deb using
sudo su
<enter your password>
cd /bin
curl http://debmaker-osx.googlecode.com/svn-history/r5/trunk/dpkg-deb > dpkg-deb
And I have navigated to the /bin
directory and the dpkg-deb file exists in the folder. What can I do to make it work? I have followed this tutorial on how to install theos, dpkg-deb and how to create a WeeAppPlugin, I'm just stuck at compiling the bundle... http://weeplugins.com/blog/?p=1
Update:
It seems like I cannot access the /bin/dpkg-deb file if I run this command
cd /bin/dpkg-deb
I get an error that I don't have permission to access the file. Is it possible to maybe move the file to another folder so that i can access it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
除了 MacPorts 之外,我还必须安装 Xcode 命令行工具和 Fink http://www.finkproject.org/
Along with MacPorts I also had to install the Xcode command line tools and Fink http://www.finkproject.org/
您可以尝试执行“sudo make package”。这将为您提供超级用户权限。
You can try to do "sudo make package". This will give you superuser permissions.