Installation problem on Debian

Hi,

I'm trying to install wxPython on my laptop (running Kanotix 2.6.11).

Because the required version of wxPython is not available as a Deb
package, I followed the instructions on
http://www.bitpim.org/developer.html, namely:

1. apt-get install alien
2. apt-get install libgtk2.0-dev freeglut3-dev python2.3-dev
3. wget http://voxel.dl.sourceforge.net/wxpython/wxPython2.6-2.6.1.0-1.src.rpm
4. rpmbuild --rebuild --define 'pyver 2.3' wxPython2.6-2.6.1.0-1.src.rpm
5. cd rpmdir
6. alien *py2.3*
7. dpkg -i *py2.3*.deb

Steps 1, 2 and 3 work just fine, but step 4 end s with this message:

···

------------------
make: *** [.pch/wxprec_monodll/wx/wxprec.h.gch] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.43432 (%build)
RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.43432 (%build)
------------------

I'm still a newbie when it comes to Linux (so much so that I
originally sent this mail to the wrong list...), so if anybody can
help me
fix this, I'd appreciate it. Please tell me if I have to post more
info.

Thanks
Ace

I'm trying to install wxPython on my laptop (running Kanotix 2.6.11).

It is not entirely accurate to claim you have problems installing on
Debian in the Subject of the message when it turns out you run
Kanotix, which is a derivative. They may be close, but they are not
the same. But I'll ignore that for the moment and try to help anyway.

What you were doing, trying to convert a package built for a different
distribution into a deb using alien seems like a whole lot of trouble
and a whole lot more error prone compared to either installing from
source or installing a deb made specifically for your distribution.

Because the required version of wxPython is not available as a Deb
package,

Kanotix claims to be based on mostly pure sid. wxPython is available in sid:

http://packages.debian.org/python-wxgtk2.6

I hope this helps.

If you have further trouble getting wxPython to work on Kanotix, you
should seek help through Kanotix support channels first.

Ben

···

On 10/4/05, Ace Frehley <afrehley@gmail.com> wrote: