JPEG support - configure cant find jpeg_read_header in -ljpe

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?".

JPEG support - configure cant find jpeg_read_header in -ljpe

Postby kevinlowe » 2007-10-02T09:43:15+00:00

Hi, I'm trying to install IM 6.3.5 on Unix - FreeBSD 4.8

Have jpeg-6b installed and libjpeg-devel-6b-12. jpeg-6b was there already and works fine with the GD libarary bundled with PHP.

After reading here I installed libjpeg-devel-6b-12 which has these files which I moved to the correct dirs:

usr/include/
usr/include/jconfig.h
usr/include/jerror.h
usr/include/jmorecfg.h
usr/include/jpeglib.h
usr/lib/
usr/lib/libjpeg.a
usr/lib/libjpeg.dll.a
usr/lib/libjpeg.la

configure output is:

-------------------------------------------------------------
Checking for JPEG support
-------------------------------------------------------------
checking jconfig.h usability... yes
checking jconfig.h presence... yes
checking for jconfig.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking jmorecfg.h usability... yes
checking jmorecfg.h presence... yes
checking for jmorecfg.h... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... no
checking for JPEG library is version 6b or later... yes
checking if JPEG package is complete... no -- some components failed test

I'm a newbie to IM so can anyone help please?

Kevin
kevinlowe
 
Posts: 2
Joined: 2007-10-02T08:18:10+00:00

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby LangeNet » 2007-11-22T11:46:06+00:00

Did you ever get this resolved?

I'm experiencing the same error.

Any help at all would be greatly appreciated.

Robert
LangeNet
 
Posts: 35
Joined: 2007-11-22T11:00:21+00:00

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby anthony » 2007-11-22T17:14:12+00:00

Problem is still in progress on the mail-list.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
http://www.imagemagick.org/Usage/
User avatar
anthony
 
Posts: 4013
Joined: 2004-05-31T19:27:03+00:00
Location: Brisbane, Australia

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby kevinlowe » 2007-11-23T03:53:24+00:00

hi, i never got it fixed, i just ended up using GD & PHP for my project and it's worked well.

Would still be interested in a fix for future use.

Kevin
kevinlowe
 
Posts: 2
Joined: 2007-10-02T08:18:10+00:00

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby LangeNet » 2007-11-23T08:16:26+00:00

It was suggested that I place all the *.so.* and *.a files into /usr/lib, but this didn't work.
Though I don't have any *.a files in my distribution - jpegsrc.v6b.tar.gz.

Robert
LangeNet
 
Posts: 35
Joined: 2007-11-22T11:00:21+00:00

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby LangeNet » 2008-02-11T12:19:42+00:00

Has anyone figured this out? I'd really like to use IM with this format, but am stumped trying to get this (Delegate?) added.
LangeNet
 
Posts: 35
Joined: 2007-11-22T11:00:21+00:00

Re: JPEG support - configure cant find jpeg_read_header in -ljpe

Postby Aylorian » 2009-10-05T14:13:35+00:00

Hi all, just registered to post this. I had the same problem and after browsing the config.log file - the error in jpeg header checking was actually the linker complaining about not being able to find the X11 libraries.

Basically, I was compiling ImageMagick on a system that does not use X11 (it's a web server only), so needed to use configure with the --without-x option

I added that and it fixed the jpeg header issue and also resolved a similar problem I was having with the Png libraries.

My full configure line is below, but for this issue it was the '--without-x' option that made the difference:

./configure --enable-shared --without-x --with-gnu-ld --with-jpeg=yes --with-jp2=yes CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' CFLAGS='-g -ggdb
-O0' CC=gcc

Hope this helps as using google showed this error posted on many boards for compiling many different types of software with no solutions.
Usually found working on Aardwolf MUD at http://www.aardwolf.com
Aylorian
 
Posts: 1
Joined: 2009-10-05T14:07:31+00:00


Return to Users

Who is online

Users browsing this forum: No registered users and 4 guests