I'm trying to build wxPython for Ubuntu 7.10 (Gutsy) on a PPC64 architecture. I've been following
directions from BuildingDebianPackages - wxPyWiki
However running:
and have a directory that looks like this:
wxwidgets2.8_2.8.7.1-0.diff.gz
wxwidgets2.8_2.8.7.1-0.dsc
wxwidgets2.8_2.8.7.1.orig.tar.gz
Then I run the commands:
dpkg-source -x wxwidgets2.8_2.8.7.1-0.dsc
cd wxwidgets2.8-2.8.7.1
fakeroot debian/rules binary
After compiling for a while, I get this error message:
dh_testdir
touch docs/lgpl.txt
cd wxPython && \
python2.4 ./setup.py build \
WX_CONFIG='/home/kyle/wxpython-src/wxwidgets2.8-2.8.7.1/objs_gtk_sh/wx-config --no_rpath' \
WXPORT=gtk2 \
UNICODE=1 \
BUILD_GLCANVAS=1 \
FLAVOUR=
/bin/sh: python2.4: not found
make: *** [build-gtk-py2.4-stamp] Error 127
What am I missing to make this compile for python 2.5.1? I don't have python 2.4 installed at all.
You'll probably need to install 2.4. The debian/rules file uses the output of `pyversions -vs` to know which version(s) of Python are supported by the distribution and therefore which versions to build for. Gutsy's Python debhelper and related packages are all geared for building extensions for both python's.
Once you've got the packages built however you will be able to remove Python 2.4 if you want to. It should only be needed at build time.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!