Page 1 of 1

libjpeg compilation ?

Posted: 2008-01-31T09:41:03-07:00
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

Re: libjpeg compilation ?

Posted: 2008-01-31T11:11:43-07:00
by dognose
The libjpeg is available here ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/

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

Re: libjpeg compilation ?

Posted: 2008-02-01T07:56:11-07:00
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