2/22/2017 - 1:25 PM

install PIL 1.1.7 on centos 7

install PIL 1.1.7 on centos 7

do this in dev instance `rm /home/propus/.download/PIL-1.1.7-cp27-none-linux_x86_64.whl`

and do this `yum install libjpeg-turbo-devel`

and remove `PIL` and `python-pillow`. we dont need a system package.

we just need install PIL in python virtualenv environment.

the reason of this issue is that centos 7 use `libjpeg-turbo-devel` instead of `libjpeg-devel`.

keep in mind PIL needs some library to be pre-installed, and when we

[root@nemo Imaging-1.1.7]# pwd
[root@nemo Imaging-1.1.7]# /Opus/server/opusos/env/bin/python setup.py install

*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
so when you have a brand new centos 7 machine, first, install these using yum:

then do `rm /home/propus/.download/PIL-1.1.7-cp27-none-linux_x86_64.whl`

then use buildbot to rebuild opusos.

i have made this works on clavier, plz check: