My Python cannot find wxPython

Equis Uno ir4u4 at yahoo.com
Sat Jan 24 17:48:21 EST 2004


I got Boa Constructor working.

I'm not sure what the problem was so I 'wiped the slate clean'.

I downloaded  Python-2.3.3.tgz
I unpacked and installed it with this script:

#! /bin/bash

set -x
export DESTDIR=/python/
/bin/rm -rf /python
mkdir  /python
make clean
make distclean
./configure --enable-unicode=ucs4 --prefix /python --exec-prefix /python
make
make test
make install
cd /bin/
mv python pythonWhichIUsedToUse
ln -s /python/bin/python .

Next, I added these tokens to my LD_LIBRARY_PATH
/python/lib/python2.3/lib-dynload



Next, I downloaded wxPythonSrc-2.4.2.4.tar.gz

I unpacked and installed it with this script:

#! /bin/bash

set -x

export WXPREF=/python/wxPython

cd /CD/python/wxPythonSrc-2.4.2.4/

mkdir build
cd build
../configure --with-gtk \
--prefix=$WXPREF \
--enable-rpath=$WXPREF/lib \
--with-opengl \
--enable-geometry \
--enable-optimise \
--enable-debug_flag \
--with-libjpeg=builtin \
--with-libpng=builtin \
--with-libtiff=builtin \
--with-zlib=builtin 

make
make install
cd ../wxPython
/bin/python setup.py WX_CONFIG=/python/wxPython/bin/wx-config build install 

cd demo
/bin/python demo.py

Next, I added these tokens to my LD_LIBRARY_PATH /python/wxPython/lib




Next, I downloaded  boa-constructor-0.2.3.src.zip

I unzipped it.

I ran this and it worked great:
/bin/python Boa.py

-moi



More information about the Python-list mailing list