Asleep from Day

June 14, 2008

python-efl on ubuntu gutsy

Filed under: python — John @ 4:10 am

hey if you have a extremely slow laptop (Pentium III) like me yet you still want to use python-efl on it, here is how.

first, compiling the whole e17 from scratch is not an option. it will take forever. there’s a ubuntu package repository for e17:

$ cat /etc/apt/sources.list.d/e17.list
deb http://e17.dunnewind.net/ubuntu gutsy e17
deb-src http://e17.dunnewind.net/ubuntu gutsy e17
$ sudo apt-get update
$ sudo apt-get install efl-dev libecore-imf-evas-dev

this can save a lot of time.

the other problem is that the latest cython release (0.9.8) does NOT work with python-efl. you have to install 0.9.6.14 instead. don’t forget to install python-pyrex as well.

now you’re all set, get python-efl.

cvs -d :pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e login
cvs -z3 -d :pserver:anonymous@anoncvs.enlightenment.org:/var/cvs/e co e17

it’s under e17/proto/python-efl. another funny gotcha is that the binary packages I installed were built on 20080309. so the latest python-efl will not build successfully.

cvs -z3 update -dP -D 20080309

fixs this.

the default build-all.sh under python-efl directory builds evas ecore edje emotion e_dbus epsilon. that’s too many. for me I just need evas ecore edje e_dbus.

3 Comments »

  1. Does this work for Hardy release too? Any chance there is are a similar set of instructions for building on Mac OS – Leopard?

    Comment by Gregg — June 19, 2008 @ 11:46 pm

  2. the hardy repository on http://e17.dunnewind.net/ubuntu seems to be empty, so I think you have to try the compiling from scratch approach or find another repository. try http://www.rasterman.com/files/get_e.sh , it’s raster’s script to get and compile e17.

    I never use Mac OS before. from the top of my head I think the major problem will be whether or not there exists the right evas engine for Mac, and does python-efl supports it.

    Comment by john — June 20, 2008 @ 1:09 am

  3. I’ll check it out thanks…

    Comment by Gregg — June 21, 2008 @ 2:14 am


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.