Installing wxPython and Friends

JamesW gingaloon at hotmail.com
Mon Feb 2 13:58:04 EST 2004


Dear All,

I need to install wxPython to run some programs that interest me.  I
have had numerous problems, probably due to knowing little about the
packages and python, and taking the computer over from soemone else.

I have recently carried out a clean install of Linux RH 9.0, hoping
this may eleviate the problems.

I hoped that the prerequisites would already be installed, but I doubt
this now after getting the message:

usr/include/gtk-2.0/gtk/gtktypeutils.h:66:1: warning: "GTK_CLASS_TYPE"
redefined
error: command 'gcc' failed with exit status 1

I looked at previous replies to this error and the suggestions were
that I install wxGTK2 which I have tried to do but get the following
error:

>src/generic/dirdlgg.cpp: In member function `void
>   wxDirCtrl::OnExpandItem(wxTreeEvent&)':
>src/generic/dirdlgg.cpp:334: choosing `char wxString::operator[](int)
const'
>   over `char& wxString::operator[](unsigned int)'
>src/generic/dirdlgg.cpp:334:   because worst conversion for the
former is
>   better than worst conversion for the latter
>make: *** [dirdlgg.o] Error 1


I have no idea how I get round this.  ANy suggestions would be
appreciated, as I fear that I'm installing packages on top fo packages
and making the situation worse.

Many Thanks

James



More information about the Python-list mailing list