wxPython install problems on linux

Emmanuelgagniere emmanuelgagniere at wanadoo.fr
Sat Mar 30 05:46:13 EST 2002


I can't say where your error is coming from... but I can say you how I
installed wxPython on my mandrake 8.0

1. Install from source python 2.2
2. Install gtk
3. Install wxGTK2.3.2
4. Install wxPython2.3.2.1 (check the install at
http://wiki.wxpython.org/index.cgi/Getting_20Started#line57)

it should works

manouche


hejduk <claxtonr at beer.com> a écrit dans le message :
da8db604.0203242126.267ab032 at posting.google.com...
> Hi, I'm having a problem installing wxPython on linux (Slak 8). I have
> all the necesarry prerequisites (wxGTK, python etc). When I run the
> setup.py build script half way through i get the following error
> messages:
>
> running build_ext
> building 'wxc' extension
> ...
> src/helpers.cpp:26: gtk/gtk.h: No such file or directory
> src/helpers.cpp:27: gdk/gdkprivate.h: No such file or directory
> In file included from src/helpers.cpp:28:
> /usr/local/include/wx/gtk/win_gtk.h:18: gdk/gdk.h: No such file or
> directory
> /usr/local/include/wx/gtk/win_gtk.h:19: gdk/gdkx.h: No such file or
> directory
> /usr/local/include/wx/gtk/win_gtk.h:20: gtk/gtkcontainer.h: No such
> file or directory
> /usr/local/include/wx/gtk/win_gtk.h:21: gtk/gtkadjustment.h: No such
> file or directory
> /usr/local/include/wx/gtk/win_gtk.h:22: gtk/gtkfeatures.h: No such
> file or directory
> error: command 'gcc' failed with exit status 1
>
>
> Not surprisingly when I try to run any of the demo programs I get an
> error message about no wxc module. I know this is kind of specific and
> obscure but if anyone can help it would be greatly appreciated.
> Thanks.





More information about the Python-list mailing list