Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: tinypoodle on September 25, 2010, 04:54:09 AM
-
Title: edna.tcz
Installation Notes
Python is required but not included as a dependency
to allow for user version preferences.
- python.tcz (current ver. 2.6.4) works as is without modification.
- python-2.5.2.tcz requires a symlink to /usr/local/bin/python which can
be created like this:
sudo ln -s /usr/local/bin/python2.5 /usr/local/bin/python
- python-2.5.2-minimal does not work at the moment.
Title: python-minimal.tcz
Comments: This is a stripped down version of Python that takes
up less space with small apps in mind such as the Edna
music server. This extension is not needed if you
have python.tcz installed.
Same in 2.x and 3.x repos.
My task being to research about minimal requirements to run edna.
-
Not conflicting, obsolate. Extension was created in November 2009 during 2.x era and not updated.
-
Well, I don't think that edna.tcz which is from November 2009 is obsolete, as it is version 0.6 which is same as current source.
However, python-minimal.tcz is version 2.5.2 and from 2008/12/11
By "conflicting" i meant the cross references the 2 extensions have to each other in the info, wrt working in combination or not.
Looks like the ideal case would be if python-minimal.tcz could be updated in a way that it could be useful with edna and possibly other apps, but personally I wouldn't have any idea if this is possible.
-
I mean obsolate is the extension and environment is was created on, not the upstream.
Having python-minimal on TC 3.x was discussed a while ago and it was dropped according to common agreement. Having a stripped version would cause more problems than offer benefits IMHO.
-
Ok, but python-minimal.tcz obviously has not been dropped from the 3.x repo.
And as my only interest in python at this moment is wrt edna - and python-minimal.tcz.info explicitely mentions edna - I was wondering (trying to find a solution with lightest footstep possible).
-
I had considered a current python-minimal, but it would indeed be of very limited use.
-
I think I posted this once before, but the exact errors generated by python (using python-2.5.2-minimal) were:
tc@box:~$ python /usr/local/bin/edna.py /home/tc/.edna/edna.conf
Traceback (most recent call last):
File "/usr/local/bin/edna.py", line 49, in <module>
import md5
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/md5.py", line 6, in <module>
from hashlib import md5
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
md5 = __get_builtin_constructor('md5')
File "/tmp/tcloop/python-2.5.2-minimal/usr/local/lib/python2.5/hashlib.py", line 60, in __get_builtin_constructor
import _md5
ImportError: No module named _md5
tc@box:~$ cat /usr/local/lib/python2.5/md5.py
# $Id: md5.py 39316 2005-08-21 18:45:59Z greg $
#
# Copyright (C) 2005 Gregory P. Smith (greg@electricrain.com)
# Licensed to PSF under a Contributor Agreement.
from hashlib import md5
new = md5
blocksize = 1 # legacy value (wrong in any useful sense)
digest_size = 16
The minimal version is missing /usr/local/lib/python2.5/lib-dynload/_hashlib.so and based on a comparison of the update history between the two versions, it doesn't appear to have built-in openssl support.
-
A python-minimal would pretty much have to be tailor made for using with one particular python related app, as each app has different requirements, or even different requirements upon each version upgrade of the app.
Also, python-2.5 stuff is pretty much in deprecated state, and needs to be replaced with a build against the current 2.7 python. i will rebuild pyogg-vorbis soon against 2.7 when I get a chance.