wxPython installation on Red Hat error

Hello,

I am running Red Hat Enterprise Linux version 4 update 4 on a Hewlett
Packard DL 380 server. I installed python 2.3.4 on it and wxGTK 2.8.0. I
am trying to install wxPython 2.7.2.0, but when I run:

python setup.py build_ext --inplace --debug

It comes back with the following error:

error: command 'gcc' failed with exit status 1

Do I need to do some exporting of LD_LIBRARY_PATH to point to some
directory?

On this server, whereis gcc returns:

/usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc /usr/share/man/man1/gcc.1.gz

Thank you so much for your help,
Ayush

Goyal, Ayush wrote:

Hello,

I am running Red Hat Enterprise Linux version 4 update 4 on a Hewlett
Packard DL 380 server. I installed python 2.3.4 on it and wxGTK 2.8.0. I
am trying to install wxPython 2.7.2.0, but when I run:

python setup.py build_ext --inplace --debug

It comes back with the following error:

error: command 'gcc' failed with exit status 1

There should be some error messages before that. What where they?

BTW, you'll probably have better luck if you use a wxPython version closer to the wxGTK version, such as 2.8.0.1. Or just build and install the wxGTK in the wxPython tarball for an exact match.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!