Python versions, build in scratchbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was just trying to build a Python package (mxDateTime from
http://downloads.egenix.com/python/egenix-mx-base-2.0.6.tar.gz); not 
something I often do.

While I've been able to compile various "C" packages with "configure;make 
install", the  "python setup.py install" recipe failed, first trying to
run /scratchbox/compilers/host-gcc/bin/gcc, which didn't exist, and then
trying to install in /scratchbox/tools/lib/python2.3/site-packages/mx
instead of /usr/lib/python2.3/site-packages/

If I try "python2.4 setup.py install", it fails with various errors
such as sem_post: Function not implemented


I installed scratchbox with the maemo-scratchbox-install_4.0.sh script a 
few weeks ago, which got me AFAIK 2008SE_2.2007.52.0.
That has Python 2.3 and Python 2.4

I'm a bit confused as to which gets used; if I just type "python", I get
2.3.4, although /usr/bin/python is a link to python2.4.
If I type python2.4, I get 2.4.2


My N810 now has OS2008 51-3, with Python 2.5.1. I'd kind of assumed that
OS2008 scratchbox would have the same version as the tablet... and that
"setup.py install" would work.




-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376  (Pacific Time)
Network Security Manager


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux