You need to install python26-devel
before you can compile any Python extension.
To compile Pillow, you'll also need to install the development headers for various other libraries, including libjpeg-devel
and zlib-devel
. See the Pillow installation instructions for more details on what external libraries are needed.