This package contains Python 2.6.6 for the Synology NAS. It is the same version of Python than in the previous package, with various fixes:

  • Import issues, seen in Sickbeard. Some shared libraries where not found, due to some missing references to the lib directory (-rpath link flag was missing).
  • Encoding issues reported for a while by some French users (mainly). The file system encoding is now forced to utf-8, thanks to Diaoul for pointing out the issue and proposing a fix.

Python 2.6.6 4 is available here. You are strongly invited to upgrade, as it fix some import issues.

It does not provide any user service by itself (it can’t be run, starting it from the DSM console will always report an error), but is needed by the latest version of my spk for SABnzbd, CouchPotato and SickBeard.

The installation process is straight forward, install it and that’s all! It will provide the python executable and libraries for other spk. If your are upgrading from an earlier version of this spk, you shall stop all spk that uses this package (like SAB, SB , and CP), do the upgrade of Python, and then restart the applications.

The package is about 13MB, and the install size 33MB. It supports all the NAS from the x07 to x11 series, except for the DS3611sx. Tested successfully on a DS408 (ppc854x) and a 210j (88f6281) with DSM 3.2 1922. Not tested with DSM 3.1 or older, but it should work.

Build with
Cheetah 2.4.4 src, cURL 7.21.3 src, jpegsrc v8 src, openssl 1.0.0c src, PyCrypto 2.3 src, PycURL 7.19.0 src, pyOpenSSL 0.11 src, Python 2.6.6 src with a patch to ease the cross compilation src, ipv6 patch, encoding patch, rpath patch, and an off_t patch, Python Imaging Library 1.1.7 src, sqlite 3.7.4 src, yenc 0.3 src, and zlib 1.2.5 src. No changes were made to the source code, only usual build configuration. Specific scripts to the Synology DSM were also added.

As always, comments and remarks welcome, enjoy!