[wxPython-users] python 2.5 on Ubuntu Edgy
Michael Moriarity
datasmith at gmail.com
Thu Feb 1 08:58:06 PST 2007
I installed a bunch of dev packages that were required. gtk+, libpng, zlib,
and so on, which were indicated as missing in config.log. Generally, the
runtimes were installed as part of the Edgy disto, but the dev files were not.
Finally, I got a clean configure run. Then I created a .make file as suggested
in the build instructions, with the following contents:
make $* \
&& make -C contrib/src/gizmos $* \
&& make -C contrib/src/stc $*
Running
./.make
then
./.make install
seems to have produced a version of wxWidgets in my target directory,
/opt/wx/2.8_py2.5
So next, I started on the wxPython build. In $WXDIR/wxPython, I created
a .setup file, with the following contents:
python2.5 setup.py build_ext --inplace --debug
WX_CONFIG=/opt/wx/2.8_py2.5/bin/wx-config
python2.5 setup.py install WX_CONFIG=/opt/wx/2.8_py2.5/bin/wx-config
The build command seems to be running correctly, but a final problem
crops up when the install command runs.
error: invalid Python installation: unable to open
/usr/include/python2.5/pyconfig.h (No such file or directory)
Well, /usr/include/python2.5 does exist, but does not contain pyconfig.h, so
I will soldier on, attempting to find that file. If I am lucky, I only
need to install
a dev package for python 2.5. If I am not so lucky, I may have to
build python 2.5
from source. I will report what happens.
regards, michael
More information about the wxpython-users
mailing list