× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

How to install PIL (or Pillow) on ReadyNas Pro6 ?

volpone
Aspirant

How to install PIL (or Pillow) on ReadyNas Pro6 ?

Hello,
Anybody succeed installing PIL (or Pillow) on ReadyNas ?
I would like to test PlexConnect (Plex on aTV) Fanart on my setup:
Readynas Pro 6 (X86 64b), RAIDiator 4.2.26, Python 2.7.3.

I've tried basic PIL Linux install process:

$ 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
Message 1 of 5
super_poussin
Virtuoso

Re: How to install PIL (or Pillow) on ReadyNas Pro6 ?

apt-get update
apt-get install gcc


Envoyé de mon iPhone en utilisant Tapatalk
Message 2 of 5
volpone
Aspirant

Re: How to install PIL (or Pillow) on ReadyNas Pro6 ?

super-poussin wrote:
apt-get update
apt-get install gcc

Thank you super-poussin,
but apt-get update is not upgrading gcc to gcc-4.3
I still remains with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

apt-get install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.


gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)


gcc-4.3 seems needed to build and install PIL

Pro6N:/etc/frontview/addons/bin/PLEXCONNECT/PIL-1.1.7# python setup.py build
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
Message 3 of 5
volpone
Aspirant

Re: How to install PIL (or Pillow) on ReadyNas Pro6 ?

up, any advice ?
Message 4 of 5
volpone
Aspirant

Re: How to install PIL (or Pillow) on ReadyNas Pro6 ?

Any tips to install PIL ?
Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 2139 views
  • 0 kudos
  • 2 in conversation
Announcements