Tiny Core Extensions > TCE Q&A Forum

Could you porting wxPython to Tiny Core Linux ?

<< < (3/4) > >>

perry:
Hi markus,

Wil jou share the code, so that i can continue some of that work.
Any of the scripts that i create, i wil share it with you  :)
So that you can finish the tcl extensions.

Perry


--- Quote from: bmarkus on October 17, 2010, 06:12:30 AM ---Due to lack of resources I'm not working on it at the moment and most likely till end of this year. So welcome anybody to make it.

--- End quote ---

bmarkus:
There is nothing to share. Everything is available at http://www.wxpython.org/

perry:
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

tinypoodle:
Did you run that as root?

perry:
Yes, should i run it as a other user ?

After i install de files, de wxpython demo works.
Then i reboot the system, and install de nerdbox-sb.tcz package.
The wxpython demo can not find the wxpython files, what should i add to the package ?

Or should i change the way i package the file ?

Perry


--- Quote from: tinypoodle on October 23, 2010, 09:29:43 PM ---Did you run that as root?

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version