On FreeBSD or FreeNAS use
http://www.freshports.org/graphics/py-pillow/
It woks nice.
On FreeBSD or FreeNAS use
http://www.freshports.org/graphics/py-pillow/
It woks nice.
Hello,
Anybody succeed installing PIL (or Pillow) on ReadyNas ?
I would like to test Fanart on my setup: Readynas Pro 6 (X86 64b), Python 2.7.3
I've tried basic PIL Linux install process from this thread:
$ wget http://effbot.org/media/downloads/PIL-1.1.7.tar.gz $ tar zxvf PIL-1.1.7.tar.gz $ cd PIL-1.1.7 $ python setup.py build
But no luck with gcc:
running build running build_py running build_ext building '_imaging' extension gcc-4.3 -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o unable to execute gcc-4.3: No such file or directory error: command 'gcc-4.3' failed with exit status 1
Any help, workaround or specific addon to install PIL or Pillow on Readynas ?
Regards
Volpone
Try to install gcc beforehand:
apt-get install gcc
Try to install gcc beforehand:
apt-get install gcc
Thank you,
apt-get install gcc
install gcc-4.1, but gcc-4.3 needed to run python setup.py build.
I'm unable to update gcc-4.1 to gcc-4.3 on my ReadyNas
Does ReadyNAS come with 'aptitude' or 'apt-cache'? You can try to search for a gcc 4.3 package by doing the following:
aptitude search gcc
apt-cache search gcc
EDIT: You can also try this:
CC=gcc-4.1 python setup.py build
Tkimball83, no luck !
1) No aptitude available on ReadyNas
2) apt-cache search gcc
Pro6N:/etc/frontview/addons/bin/PLEXCONNECT/PIL-1.1.7# apt-cache search gcc dpkg-dev - Debian package development tools ...... ........ gcc-4.3-base - The GNU Compiler Collection (base package)
How to install gcc-4.3-base ?
3) CC=gcc-4.1 python setup.py build
Pro6N:/etc/frontview/addons/bin/PLEXCONNECT/PIL-1.1.7# CC=gcc-4.1 python setup.py build running build running build_py running build_ext building '_imaging' extension gcc-4.1 -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o _imaging.c:75:20: error: Python.h: No such file or directory .............
apt-get install gcc-4.3-base
apt-get install gcc-4.3-base
I've tried to install and run gcc-4.3-base:
apt-get install gcc-4.3-base Reading package lists... Done Building dependency tree Reading state information... Done gcc-4.3-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
CC=gcc-4.3-base python setup.py build running build running build_py running build_ext building '_imaging' extension gcc-4.3-base -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o unable to execute gcc-4.3-base: No such file or directory error: command 'gcc-4.3-base' failed with exit status 1
What if you try CC=gcc ?
Unfortunately I don't have a ReadyNAS to test this on :(
i followed everything exactly. PMS running on Win 7x64. with ATV3 :( :( :( :( :(

i followed everything exactly. PMS running on Win 7x64. with ATV3 :( :( :( :( :(
You must install the version that exactly matches your Python install, it would help to provide details of both (see add/remove programs).
You must install the version that exactly matches your Python install, it would help to provide details of both (see add/remove programs).
it was a silly mistake. :unsure: :unsure: :unsure:
thanks :)
What if you try CC=gcc ?
Unfortunately I don't have a ReadyNAS to test this on :(
Tkimball83, lots of errors too using CC=gcc
CC=gcc python setup.py build running build running build_py running build_ext building '_imaging' extension gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o _imaging.c:75:20: error: Python.h: No such file or directory In file included from libImaging/Imaging.h:14, from _imaging.c:77: libImaging/ImPlatform.h:10:20: error: Python.h: No such file or directory ....... .......
It looks like you may need the Python dev package now.
apt-get install python2.7-dev
It looks like you may need the Python dev package now.
apt-get install python2.7-dev
Seems Python2-7 dev not available in my sources
Pro6N:~# apt-get install python2.7-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package python2.7-dev
Maybe it’s just python-dev?
Maybe it's just python-dev?
What do you mean tkimball83 ?
Has anyone found a workable PIL pkg for unRAID 5.0.5 Python 2.7.3? Each one I've found and installed has not worked for PlexConnect. Thanks!
What do you mean tkimball83 ?
apt-get install python-dev
CC=gcc python setup.py build
Has anyone found a workable PIL pkg for unRAID 5.0.5 Python 2.7.3? Each one I've found and installed has not worked for PlexConnect. Thanks!
This is the one that I used with no problems http://mirrors.slackware.com/slackware/slackware-14.1/slackware/l/pil-1.1.7-i486-4.txz