libjpeg compilation ?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
benoit

libjpeg compilation ?

Post by benoit »

Hello,

I'm new with ImageMagic and I try to compile ImageMagic on a system which has not a jpeg librairy.
Is there an option to import libjpeg ? Or to indicate a path where find libjpeg ?

Can you help me ? Thanks.

Benoit
dognose
Posts: 265
Joined: 2005-03-08T22:16:37-07:00

Re: libjpeg compilation ?

Post by dognose »

The libjpeg is available here ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/

Though, I just use the command: yum install libjpeg-devel
benoit

Re: libjpeg compilation ?

Post by benoit »

Thanks ! I have downloaded the package and I have compiled it.

I have used :
>configure --prefix=/libre/BMT/ImageMagicDependency/CompilLibJpeg
>make
>make install

The compilation is OK.

All files are in :
/libre/BMT/ImageMagicDependency/CompilLibJpeg/bin
/libre/BMT/ImageMagicDependency/CompilLibJpeg/lib
/libre/BMT/ImageMagicDependency/CompilLibJpeg/incluse
/libre/BMT/ImageMagicDependency/CompilLibJpeg/share

But now how to indicate to ImageMagic where find my new compiled libjpeg because I can't copy all files in /usr/lib/ (I'm not root) ?

Thanks in advance.

Benoit
Post Reply