Installing Python Imaging Library in virtual hosted site

Bob King subbob at bigfoot.com
Sat Mar 8 22:50:58 EST 2003


I am trying to install the Python Imaging Library (PIL) on my
webserver so that I may integrate it with a Zope enabled site.  I have
Zope up and running without any problems.  Although I do have server
root access, I'm trying to install the program within one of the
virtual sites as to ensure it does not interfere with the web control
panel (Ensim) which is highly customized.

When I run the "python setup.py build" command I receive the following
error message:

gcc: installation problem, cannot exec `ld': Permission denied
error: command 'gcc' failed with exit status 1

>From within the Zope hierarchy I am executing the following command to
ensure that I'm using the python instance installed with the Zope
application.

$ ../../../../bin/python setup.py build

Here's the output:

running build
running build_py
not copying PIL/__init__.py (output up-to-date)
not copying PIL/ArgImagePlugin.py (output up-to-date)
not copying PIL/BdfFontFile.py (output up-to-date)
not copying PIL/BmpImagePlugin.py (output up-to-date)
not copying PIL/ContainerIO.py (output up-to-date)
not copying PIL/CurImagePlugin.py (output up-to-date)
not copying PIL/DcxImagePlugin.py (output up-to-date)
not copying PIL/EpsImagePlugin.py (output up-to-date)
not copying PIL/FliImagePlugin.py (output up-to-date)
not copying PIL/FontFile.py (output up-to-date)
not copying PIL/FpxImagePlugin.py (output up-to-date)
not copying PIL/GbrImagePlugin.py (output up-to-date)
not copying PIL/GdImageFile.py (output up-to-date)
not copying PIL/GifImagePlugin.py (output up-to-date)
not copying PIL/GimpGradientFile.py (output up-to-date)
not copying PIL/GimpPaletteFile.py (output up-to-date)
not copying PIL/IcoImagePlugin.py (output up-to-date)
not copying PIL/Image.py (output up-to-date)
not copying PIL/ImageChops.py (output up-to-date)
not copying PIL/ImageDraw.py (output up-to-date)
not copying PIL/ImageEnhance.py (output up-to-date)
not copying PIL/ImageFile.py (output up-to-date)
not copying PIL/ImageFileIO.py (output up-to-date)
not copying PIL/ImageFilter.py (output up-to-date)
not copying PIL/ImageFont.py (output up-to-date)
not copying PIL/ImageOps.py (output up-to-date)
not copying PIL/ImagePalette.py (output up-to-date)
not copying PIL/ImagePath.py (output up-to-date)
not copying PIL/ImageSequence.py (output up-to-date)
not copying PIL/ImageStat.py (output up-to-date)
not copying PIL/ImageTk.py (output up-to-date)
not copying PIL/ImageWin.py (output up-to-date)
not copying PIL/ImImagePlugin.py (output up-to-date)
not copying PIL/ImtImagePlugin.py (output up-to-date)
not copying PIL/IptcImagePlugin.py (output up-to-date)
not copying PIL/JpegImagePlugin.py (output up-to-date)
not copying PIL/McIdasImagePlugin.py (output up-to-date)
not copying PIL/MicImagePlugin.py (output up-to-date)
not copying PIL/MpegImagePlugin.py (output up-to-date)
not copying PIL/MspImagePlugin.py (output up-to-date)
not copying PIL/OleFileIO.py (output up-to-date)
not copying PIL/PaletteFile.py (output up-to-date)
not copying PIL/PcdImagePlugin.py (output up-to-date)
not copying PIL/PcfFontFile.py (output up-to-date)
not copying PIL/PcxImagePlugin.py (output up-to-date)
not copying PIL/PdfImagePlugin.py (output up-to-date)
not copying PIL/PixarImagePlugin.py (output up-to-date)
not copying PIL/PngImagePlugin.py (output up-to-date)
not copying PIL/PpmImagePlugin.py (output up-to-date)
not copying PIL/PsdImagePlugin.py (output up-to-date)
not copying PIL/PSDraw.py (output up-to-date)
not copying PIL/SgiImagePlugin.py (output up-to-date)
not copying PIL/SunImagePlugin.py (output up-to-date)
not copying PIL/TarIO.py (output up-to-date)
not copying PIL/TgaImagePlugin.py (output up-to-date)
not copying PIL/TiffImagePlugin.py (output up-to-date)
not copying PIL/TiffTags.py (output up-to-date)
not copying PIL/WmfImagePlugin.py (output up-to-date)
not copying PIL/XbmImagePlugin.py (output up-to-date)
not copying PIL/XpmImagePlugin.py (output up-to-date)
not copying PIL/XVThumbImagePlugin.py (output up-to-date)
running build_ext
building '_imaging' extension
skipping _imaging.c (build/temp.linux-i686-2.1/_imaging.o up-to-date)
skipping decode.c (build/temp.linux-i686-2.1/decode.o up-to-date)
skipping encode.c (build/temp.linux-i686-2.1/encode.o up-to-date)
skipping map.c (build/temp.linux-i686-2.1/map.o up-to-date)
skipping display.c (build/temp.linux-i686-2.1/display.o up-to-date)
skipping outline.c (build/temp.linux-i686-2.1/outline.o up-to-date)
skipping path.c (build/temp.linux-i686-2.1/path.o up-to-date)
gcc -shared build/temp.linux-i686-2.1/_imaging.o
build/temp.linux-i686-2.1/decod
e.o build/temp.linux-i686-2.1/encode.o build/temp.linux-i686-2.1/map.o
build/tem
p.linux-i686-2.1/display.o build/temp.linux-i686-2.1/outline.o
build/temp.linux-
i686-2.1/path.o -LlibImaging -lImaging -ljpeg -lz -o
build/lib.linux-i686-2.1/_i
maging.so
gcc: installation problem, cannot exec `ld': Permission denied
error: command 'gcc' failed with exit status 1




More information about the Python-list mailing list