loris-imageserver / loris

Loris IIIF Image Server
Other
209 stars 87 forks source link

error when trying to install Pillow dependency #228

Open jeffreycwitt opened 8 years ago

jeffreycwitt commented 8 years ago

I'm getting the following error when trying to install Pillow on RedHat 7. If someone could help me interpret the error I would be grateful.

(env) [root@facresearch07 python2.7]# pip install Pillow Collecting Pillow Using cached Pillow-3.2.0.zip Building wheels for collected packages: Pillow Running setup.py bdist_wheel for Pillow ... error Complete output from command /opt/loris/env/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-btfl_A/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" bdist_wheel -d /tmp/tmpDPxryapip-wheel- --python-tag cp27: running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/PIL copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL running egg_info writing Pillow.egg-info/PKG-INFO writing top-level names to Pillow.egg-info/top_level.txt writing dependency_links to Pillow.egg-info/dependency_links.txt warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '_.sh' no previously-included directories found matching 'docs/_static' warning: no previously-included files found matching '.coveragerc' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.landscape.yaml' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching 'buildchildren.sh' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files matching '.git' found anywhere in distribution warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution writing manifest file 'Pillow.egg-info/SOURCES.txt' copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL running build_ext building 'PIL._imaging' extension creating build/temp.linux-x86_64-2.7/libImaging Building using 2 processes gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Resample.c -o build/temp.linux-x86_64-2.7/libImaging/Resample.o unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Geometry.c -o build/temp.linux-x86_64-2.7/libImaging/Geometry.o unable to execute gcc: No such file or directory gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Quant.c -o build/temp.linux-x86_64-2.7/libImaging/Quant.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o unable to execute gcc: No such file or directory gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/XbmEncode.c -o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o unable to execute gcc: No such file or directory unable to execute gcc: No such file or directory gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Incremental.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o -L/opt/loris/env/lib -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -ljpeg -lz -ltiff -lpython2.7 -o build/lib.linux-x86_64-2.7/PIL/_imaging.so unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1


Failed building wheel for Pillow Running setup.py clean for Pillow Failed to build Pillow Installing collected packages: Pillow Running setup.py install for Pillow ... error Complete output from command /opt/loris/env/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-btfl_A/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-i22RcN-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/loris/env/include/site/python2.7/Pillow: running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/PIL copying PIL/ImageGrab.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MicImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FitsStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ExifTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageChops.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/CurImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageEnhance.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WebPImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PngImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TgaImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PsdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegPresets.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpPaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GbrImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/OleFileIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PSDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_binary.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageSequence.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/DdsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/McIdasImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IptcImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTransform.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PdfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/JpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Hdf5StubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WalImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageQt.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcnsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BufrStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/EpsImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TiffTags.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BmpImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GimpGradientFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SgiImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageCms.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw2.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageStat.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SpiderImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageWin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Jpeg2KImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/init.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePalette.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FtexImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/Image.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/SunImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFont.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageTk.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/TarIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageShow.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XpmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageColor.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PyAccess.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GifImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImagePath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageFilter.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMode.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/features.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GdImageFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ContainerIO.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MspImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PalmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMath.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FliImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/MpegImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XbmImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageOps.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageDraw.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PixarImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/BdfFontFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/FpxImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/IcoImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImtImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PcdImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/PaletteFile.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/_util.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/ImageMorph.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/XVThumbImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/WmfImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL copying PIL/GribStubImagePlugin.py -> build/lib.linux-x86_64-2.7/PIL running egg_info writing Pillow.egg-info/PKG-INFO writing top-level names to Pillow.egg-info/top_level.txt writing dependency_links to Pillow.egg-info/dependency_links.txt warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
writing manifest file 'Pillow.egg-info/SOURCES.txt'
copying PIL/OleFileIO-README.md -> build/lib.linux-x86_64-2.7/PIL
running build_ext
building 'PIL._imaging' extension
creating build/temp.linux-x86_64-2.7/libImaging
Building using 2 processes
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c _imaging.c -o build/temp.linux-x86_64-2.7/_imaging.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Resample.c -o build/temp.linux-x86_64-2.7/libImaging/Resample.o
unable to execute gcc: No such file or directory
unable to execute gcc: No such file or directory
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Crop.c -o build/temp.linux-x86_64-2.7/libImaging/Crop.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Geometry.c -o build/temp.linux-x86_64-2.7/libImaging/Geometry.o
unable to execute gcc: No such file or directory
unable to execute gcc: No such file or directory
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Matrix.c -o build/temp.linux-x86_64-2.7/libImaging/Matrix.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/Quant.c -o build/temp.linux-x86_64-2.7/libImaging/Quant.o
unable to execute gcc: No such file or directory
unable to execute gcc: No such file or directory
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/RawDecode.c -o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DHAVE_LIBTIFF -I/usr/include/freetype2 -I/tmp/pip-build-btfl_A/Pillow/libImaging -I/opt/loris/env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c libImaging/XbmEncode.c -o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o
unable to execute gcc: No such file or directory
unable to execute gcc: No such file or directory
gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/_imaging.o build/temp.linux-x86_64-2.7/decode.o build/temp.linux-x86_64-2.7/encode.o build/temp.linux-x86_64-2.7/map.o build/temp.linux-x86_64-2.7/display.o build/temp.linux-x86_64-2.7/outline.o build/temp.linux-x86_64-2.7/path.o build/temp.linux-x86_64-2.7/libImaging/Access.o build/temp.linux-x86_64-2.7/libImaging/AlphaComposite.o build/temp.linux-x86_64-2.7/libImaging/Resample.o build/temp.linux-x86_64-2.7/libImaging/Bands.o build/temp.linux-x86_64-2.7/libImaging/BitDecode.o build/temp.linux-x86_64-2.7/libImaging/Blend.o build/temp.linux-x86_64-2.7/libImaging/Chops.o build/temp.linux-x86_64-2.7/libImaging/Convert.o build/temp.linux-x86_64-2.7/libImaging/ConvertYCbCr.o build/temp.linux-x86_64-2.7/libImaging/Copy.o build/temp.linux-x86_64-2.7/libImaging/Crc32.o build/temp.linux-x86_64-2.7/libImaging/Crop.o build/temp.linux-x86_64-2.7/libImaging/Dib.o build/temp.linux-x86_64-2.7/libImaging/Draw.o build/temp.linux-x86_64-2.7/libImaging/Effects.o build/temp.linux-x86_64-2.7/libImaging/EpsEncode.o build/temp.linux-x86_64-2.7/libImaging/File.o build/temp.linux-x86_64-2.7/libImaging/Fill.o build/temp.linux-x86_64-2.7/libImaging/Filter.o build/temp.linux-x86_64-2.7/libImaging/FliDecode.o build/temp.linux-x86_64-2.7/libImaging/Geometry.o build/temp.linux-x86_64-2.7/libImaging/GetBBox.o build/temp.linux-x86_64-2.7/libImaging/GifDecode.o build/temp.linux-x86_64-2.7/libImaging/GifEncode.o build/temp.linux-x86_64-2.7/libImaging/HexDecode.o build/temp.linux-x86_64-2.7/libImaging/Histo.o build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o build/temp.linux-x86_64-2.7/libImaging/LzwDecode.o build/temp.linux-x86_64-2.7/libImaging/Matrix.o build/temp.linux-x86_64-2.7/libImaging/ModeFilter.o build/temp.linux-x86_64-2.7/libImaging/MspDecode.o build/temp.linux-x86_64-2.7/libImaging/Negative.o build/temp.linux-x86_64-2.7/libImaging/Offset.o build/temp.linux-x86_64-2.7/libImaging/Pack.o build/temp.linux-x86_64-2.7/libImaging/PackDecode.o build/temp.linux-x86_64-2.7/libImaging/Palette.o build/temp.linux-x86_64-2.7/libImaging/Paste.o build/temp.linux-x86_64-2.7/libImaging/Quant.o build/temp.linux-x86_64-2.7/libImaging/QuantOctree.o build/temp.linux-x86_64-2.7/libImaging/QuantHash.o build/temp.linux-x86_64-2.7/libImaging/QuantHeap.o build/temp.linux-x86_64-2.7/libImaging/PcdDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxDecode.o build/temp.linux-x86_64-2.7/libImaging/PcxEncode.o build/temp.linux-x86_64-2.7/libImaging/Point.o build/temp.linux-x86_64-2.7/libImaging/RankFilter.o build/temp.linux-x86_64-2.7/libImaging/RawDecode.o build/temp.linux-x86_64-2.7/libImaging/RawEncode.o build/temp.linux-x86_64-2.7/libImaging/Storage.o build/temp.linux-x86_64-2.7/libImaging/SunRleDecode.o build/temp.linux-x86_64-2.7/libImaging/TgaRleDecode.o build/temp.linux-x86_64-2.7/libImaging/Unpack.o build/temp.linux-x86_64-2.7/libImaging/UnpackYCC.o build/temp.linux-x86_64-2.7/libImaging/UnsharpMask.o build/temp.linux-x86_64-2.7/libImaging/XbmDecode.o build/temp.linux-x86_64-2.7/libImaging/XbmEncode.o build/temp.linux-x86_64-2.7/libImaging/ZipDecode.o build/temp.linux-x86_64-2.7/libImaging/ZipEncode.o build/temp.linux-x86_64-2.7/libImaging/TiffDecode.o build/temp.linux-x86_64-2.7/libImaging/Incremental.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KDecode.o build/temp.linux-x86_64-2.7/libImaging/Jpeg2KEncode.o build/temp.linux-x86_64-2.7/libImaging/BoxBlur.o -L/opt/loris/env/lib -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -ljpeg -lz -ltiff -lpython2.7 -o build/lib.linux-x86_64-2.7/PIL/_imaging.so
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/opt/loris/env/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-btfl_A/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-i22RcN-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/loris/env/include/site/python2.7/Pillow" failed with error code 1 in /tmp/pip-build-btfl_A/Pillow/

lfarrell commented 8 years ago

It looks like it can't compile the C files needed by Pillow. You'll probably need to install, yum group install "Development Tools", which should add in a C compiler. I'm running loris on RedHat 6. These are the yum packages I seemed to need.

  1. Install "development tools": yum -y groupinstall "Development tools"
  2. Install image libraries: yum install libjpeg-turbo libjpeg-turbo-devel \ freetype freetype-devel \ zlib-devel \ libtiff-devel
  3. Install pip: yum install python-pip
  4. Install mod_wsgi: yum install mod_wsgi
bcail commented 7 years ago

@jeffreycwitt did this fix your issue? Can we close this?