Hi,
I created the following scripts, to install wxpython.
When i install de module, python can not find the wxpython files ?
Am i missing something ?
Perry
----------------------------------------------
#!/bin/sh
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export LDFLAGS="-Wl,-O1"
# Create mark file.
touch /tmp/mark
# Compile and install wxgtk.
tar -xjvf wxPython-src-2.8.11.0.tar.bz2
cd wxPython-src-2.8.11.0/
./configure --enable-unicode --with-gtk
make -C locale allmo
make install
ldconfig
make -C contrib/src/stc
make -C contrib/src/stc install
make -C contrib/src/ogl
make -C contrib/src/ogl install
make -C contrib/src/gizmos
make -C contrib/src/gizmos install
make -C contrib/src/svg
make -C contrib/src/svg install
ldconfig
# Compile and install wxPython.
cd wxPython/
patch < ../../wxpython-glcanvas.patch
python setup.py build
python setup.py install
ldconfig
cd ../..
# Compile and install Twisted.
tar -xjvf Twisted-10.1.0.tar.bz2
cd Twisted-10.1.0
python setup.py build
python setup.py install
ldconfig
cd ..
# Compile and install python zope.interface.
tar -xzvf zope.interface-3.3.0.tar.gz
cd zope.interface-3.3.0/
python setup.py build
python setup.py install
ldconfig
cd ..
# Create tar with all files.
find /usr/local -newer /tmp/mark -not -type d > /tmp/list
tar -T /tmp/list -czvf /tmp/nerdbox-sb.tar.gz
# Create the package.
mkdir /tmp/pkg
cd /tmp/pkg
tar -xf /tmp/nerdbox-sb.tar.gz #'install' the extension in tmp
cd /tmp
mksquashfs pkg/ nerdbox-sb.tcz