building debian package on ubuntu

Jáchym Čepický jachym.cepicky at gmail.com
Wed Feb 7 07:25:27 PST 2007


Hi,
I would like to build fresh version of wxPython on Ubuntu (6.10) using
dpkg-buildpackage command.

Before this is possible, debian/control file has to be generated.

When I run

$ debian/rules build

or

$ debian/rules debian/control

I get:

debian/rules debian/control
sed -e 's/=V/2.8/g;s/=SOV/2.8-0-/usr/src/wxwidgets/wxPython-src-2.8.1.1/g;s/=PY/python2.4/g;s/=U//g'\
                < debian/control.in > debian/control
sed: -e expression #1, char 26: unknown option to `s'
make: *** [debian/control] Error 1

The problem is the second "s" statement for sed:

   s/=SOV/2.8-0-/usr/src/wxwidgets/wxPython-src-2.8.1.1/g

should be something like

   s/=SOV/2.8-0-\/usr\/src\/wxwidgets\/wxPython-src-2.8.1.1/g

Where to correct this ?

Thanks

Jachym
-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub




More information about the wxpython-users mailing list