List Info

Thread: Help with libjpeg




Help with libjpeg
user name
2006-08-22 20:29:20
I am having serious problems trying to compile libjpeg,
which I need  
for JPEG support in the Python Imaging Library. After
bumping into  
several walls  realized that I need to configure the libjpeg
 
compilation with the enable-shared flag, as follows:
./configure --enable-shared

However, this results in an error:

checking host system type... Invalid configuration
`x86_64-unknown- 
linux-gnu': machine `x86_64-unknown' not recognized

...which does not allow the compilation to work. I've
looked into the  
error but all of the solutions seem to be package specific
and have  
nothing to do with libjpeg.

The worst thing is that libjpeg is, in fact, installed in
the system.  
For some reason the libjpeg.so.62 file in /usr/lib cannot be
read by  
setup.py.

Has anyone encountered this error? It's mission critical
that I  get  
PIL properly installed on this machine. Any help is greatly
appreciated!

Thanks,

Dan

_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
Help with libjpeg
user name
2006-08-22 20:36:42
On 8/22/06, Dan Gaibel <dg76cornell.edu> wrote:
> I am having serious problems trying to compile libjpeg,
which I need
> for JPEG support in the Python Imaging Library. After
bumping into
> several walls  realized that I need to configure the
libjpeg
> compilation with the enable-shared flag, as follows:
> ./configure --enable-shared
>
> However, this results in an error:
>
> checking host system type... Invalid configuration
`x86_64-unknown-
> linux-gnu': machine `x86_64-unknown' not recognized
>
> ...which does not allow the compilation to work. I've
looked into the
> error but all of the solutions seem to be package
specific and have
> nothing to do with libjpeg.
>
> The worst thing is that libjpeg is, in fact, installed
in the system.
> For some reason the libjpeg.so.62 file in /usr/lib
cannot be read by
> setup.py.
>
> Has anyone encountered this error? It's mission
critical that I  get
> PIL properly installed on this machine. Any help is
greatly appreciated!
>

You probably need to install some kind of jpeg-devel package
in order
to get the header file so that you can use the system
libjpeg.

-bob
_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
Help with libjpeg
user name
2006-08-22 20:56:06
Dan Gaibel wrote:

> The worst thing is that libjpeg is, in fact, installed
in the system.  
> For some reason the libjpeg.so.62 file in /usr/lib
cannot be read by  
> setup.py.

PIL's build process needs the header files too.

> Has anyone encountered this error? It's mission
critical that I  get  
> PIL properly installed on this machine. Any help is
greatly appreciated!

have you looked for python-imaging packages for your
platform?  or at 
least jpeg-devel (or libjpeg-devel) packages?

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIGpython.org
htt
p://mail.python.org/mailman/listinfo/image-sig
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )