HOWTO
# wxPython 2.6.3.3
# ================
# Some things that I know of that use wxPython:
# BitTorrent
# PDesk
# Prerequisites:
# grep
# XFree86 or X.org
# zlib >= 1.1.4
# libpng >= 0.90
# libjpeg
# libtiff
# expat
# libmspack (optional)
# GTK+ >= 2.0.0
# pkg-config
# pango's pangoft2
# OpenGL or Mesa3D (included with X) and PyOpenGL (optional)
# libiconv
# esd
# SDL
# Python
# cppunit (optional; I haven't tried it)
# gstreamer-0.8 (optional)
# libgnomeprint (if you pass --with-gnomeprint)
cd
test -f installed/wxPython-src-2.6.3.3.tar.bz2 &&
mv installed/wxPython-src-2.6.3.3.tar.bz2 .
test ! -f wxPython-src-2.6.3.3.tar.bz2 &&
wget http://download.sf.net/wxpython/wxPython-src-2.6.3.3.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "wxPythonSrc-*" -o -name "wxPython-src-*" \
-exec rm -r {} \;
tar xjvf ~/wxPython-src-2.6.3.3.tar.bz2
cd wxPython-src-2.6.3.3
test $UID = 0 && chown -R root:root .
chmod -R u+w .
mkdir bld
cd bld
# I had to add --without-libmspack to get previous versions to build, but
# it was OK with 2006-09-20 this time.
../configure \
--with-gtk \
--with-opengl \
--with-gnomeprint \
--enable-debug \
--enable-geometry \
--enable-sound --with-sdl \
--enable-mediactrl \
--enable-display \
--enable-unicode
cat << EOF >.make
make \$* &&
make -C contrib/src/animate \$* &&
make -C contrib/src/gizmos \$* &&
make -C contrib/src/stc \$*
EOF
sh ./.make
su -c "sh ./.make install"
cd ../wxPython
python setup.py build_ext --inplace --debug UNICODE=1
su -c "python setup.py install UNICODE=1"
cd
mkdir -p -m 0700 installed
rm -f installed/wxPythonSrc-*.tar.* installed/wxPython-src-*.tar.*
mv wxPython-src-2.6.3.3.tar.bz2 installed/
List of HOWTOs
Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2010-05-11 10:38am
Copyright © 2001-2024 Jason Englander. All Rights reserved.