pdeploy and Linux packages

Hello, I’m trying to build a package for Linux with pdeploy. I’ve the file main.py:

import direct.directbase.DirectStart
run()

and I build the package minimal_0.1_amd64.deb with:

packp3d -o minimal.p3d
pdeploy -v 0.1 -P linux_amd64 minimal.p3d installer

When I try to install it, I obtain (my machine is Ubuntu 9.10 with Panda 1.7.0):

$ sudo dpkg -i minimal_0.1_amd64.deb 
dpkg: error processing minimal_0.1_amd64.deb (--install):
 parse error, in file '/var/lib/dpkg/tmp.ci/control' near line 7 package 'minimal':
 `Depends' field, syntax error after reference to package `libx11-6'
Errors were encountered while processing:
 minimal_0.1_amd64.deb

(if I try with other commands e.g. gdebi, I obtain similar errors) Where am I wrong? Thanks!

Can you upload or e-mail the resulting .deb file? That makes it easier for me to diagnose the problem.

Yes, sure! It’s here: http://jump.fm/XWSQU
Thanks!

Hm… I opened the .deb with ‘ar x *.deb’, unzipped the control tarball with ‘tar -xvf control.tar.gz’, and noticed that the control file had a syntax error. I’ve just checked in a fix to CVS.

My apologies for this mistake. But in the meantime, you could manually edit the resulting .deb file to fix this mistake, or you could get the latest direct/src/p3d/DeploymentTools.py from CVS.
It will be fixed in the upcoming 1.7.1 version of Panda3D.

Very thanks!