I am getting the following errors when I run " python setup.py buil",
···
-------------------------------------------------------------
building 'wxc' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c src/helpers.cpp -o
build/temp.linux-i686-2.1/src/helpers.o -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
In file included from /usr/local/include/wx/defs.h:23,
from /usr/local/include/wx/wx.h:15,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/platform.h:62: wx/setup.h: No such file or directory
In file included from /usr/local/include/wx/wx.h:22,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/log.h:19: wx/setup.h: No such file or directory
In file included from /usr/local/include/wx/event.h:28,
from /usr/local/include/wx/wx.h:23,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/thread.h:21: wx/setup.h: No such file or directory
error: command 'gcc' failed with exit status 1
---------------------------------------------------------------
I'm assuming you are on Linux. I tried to compile and install wxPython
on Solaris once, and had no luck.
But this looks different than that. It seems unable to find the include
files for wxGTK. Did you install the wxGTK-devel package for your
distro? If so, are the includes located in /usr/local/include?
If that didn't help, please give us more info:
o platform/Linux distro
o where wxGTK-devel is installed at.
Of course, you could just grab the binaries, too . . .
-- mikeh
···
On Mon, Apr 01, 2002 at 02:55:30PM -0500, Karshi wrote:
Hi all,
I am getting the following errors when I run " python setup.py buil",
-------------------------------------------------------------
building 'wxc' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c src/helpers.cpp -o
build/temp.linux-i686-2.1/src/helpers.o -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
In file included from /usr/local/include/wx/defs.h:23,
from /usr/local/include/wx/wx.h:15,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/platform.h:62: wx/setup.h: No such file or directory
In file included from /usr/local/include/wx/wx.h:22,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/log.h:19: wx/setup.h: No such file or directory
In file included from /usr/local/include/wx/event.h:28,
from /usr/local/include/wx/wx.h:23,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/thread.h:21: wx/setup.h: No such file or directory
error: command 'gcc' failed with exit status 1
---------------------------------------------------------------
I am getting the following errors when I run " python setup.py buil",
-------------------------------------------------------------
building 'wxc' extension
gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H
-DWXP_USE_THREAD=1 -Isrc -I/usr/local/include/python2.1 -c
src/helpers.cpp -o
build/temp.linux-i686-2.1/src/helpers.o -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
In file included from /usr/local/include/wx/defs.h:23,
from /usr/local/include/wx/wx.h:15,
from src/helpers.h:16,
from src/helpers.cpp:17:
/usr/local/include/wx/platform.h:62: wx/setup.h: No such file or directory
Is the wx-config script on your PATH? If not then check that you've
installed wxGTK and that it was installed correctly. It should put
wx-config in {prefix}/bin so also make sure that that dir is on your PATH.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!