Search code examples
objective-cioscompiler-errorsdebiandpkg

Can't compile .deb packages; make package command returns error


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?


Solution

  • You can try to do "sudo make package". This will give you superuser permissions.