After trying for two days, going over the multiple BUILD and INSTALL and
readme text documents as carefully as I am able, and trying my best to
follow instructions, I'm about to give up.
I've checked that wx-config is the correct one, and done a bunch of things
to try to cludge the python setup.py build .. to work, including starting
over and recording in script every step along the way.
It still doesn't work. when I do setup.py build I get :
···
-------------------------------------------------------------
WARNING: WXWIN not set in environment. Assuming '..'
Found wx-config: /usr/local/bin/wx-config
Using flags: --toolkit=gtk2 --unicode=yes --version=2.8
Warning: No config found to match: /usr/local/bin/wx-config --toolkit=gtk2 --unicode=yes --version=2.8 --cxxflags
in /usr/local/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
Warning: No config found to match:
-------------------------------------------------------------
And a bunch more of these!
OK, so further down in the output there is:
-----------------------------
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: wx/wx.h: No such file or directory
include/wx/wxPython/wxPython_int.h:21:25: wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: wx/caret.h: No such file or directory
...
--------------------------------
and a lot more of these. On the other hand, locate gives:
bash-3.2$ locate busyinfo.h
/usr/local/include/wx-2.8/wx/generic/busyinfo.h
/usr/local/include/wx-2.8/wx/busyinfo.h
/home/jr/downloads/wxPython-src-2.8.6.0/docs/html/wx/wx_wxbusyinfo.html
/home/jr/downloads/wxPython-src-2.8.6.0/include/wx/generic/busyinfo.h
/home/jr/downloads/wxPython-src-2.8.6.0/include/wx/busyinfo.h
-----------------
and so on.
OK, so the "INSTALL.txt" doesn't say anything about running setup.py build, just install, so I went ahead with install. Lots of copying,
but lots of errors not worth repeating unless someone wants details.
Finally, what the heck, try running python:
-----------------------------
bash-3.2$ python
Python 2.4.3 (#1, Jul 26 2006, 20:13:39)
[GCC 3.4.6] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import wx
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "wx/__init__.py", line 45, in ?
from wx._core import *
File "wx/_core.py", line 4, in ?
import _core_
ImportError: No module named _core_
----------------------------
In another venue, wxPython was recommended to me. Unless someone can point
me to a simple way to build and install, I'm going back to pyGTK or
TKInter!
By the way : I'm running slackware 11.0. I tried the linuxpackages versions
of wxGTK an wxPython, but that didn't work either!
It looks like a nice "package" but looks like it's designed for full time
system administrators or people who have "grown up" with it over the past
10 years and have a lot of background knowledge that's not in the docs, (Or
I'm further gone down the other side of the hill than I thought).
Thanks,
John Velman