installing jasper

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
LangeNet

installing jasper

Post by LangeNet »

I don't seem to be having a lot of luck with IM and delgates. The latest is configuring jasper.
Configure/make seems to be fine when I install jasper, however, when I try to reconfigure IM, I get...

Checking for JPEG Version 2 support
-------------------------------------------------------------
checking jasper/jasper.h usability... no
checking jasper/jasper.h presence... no
checking for jasper/jasper.h... no
checking for jas_stream_fopen in -ljasper... yes
checking if JPEG version 2 support package is complete... no -- some components failed test


Checking jasper, I get
root_rcsr01# jasper --version
1.900.1
libjasper 1.900.1

Any ideas
LangeNet

Re: installing jasper

Post by LangeNet »

Anyone???
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: installing jasper

Post by magick »

See config.log. It will tell you why jasper failed to validate. Fix the problem and rerun the ImageMagikc configure script until the delegate library is validated.
LangeNet

Re: installing jasper

Post by LangeNet »

Looking at the log, I get:

configure:37047: checking jasper/jasper.h usability
configure:37064: cc -c -g -D_REENTRANT -pthread conftest.c >&5
cc: Severe: conftest.c, line 190: Cannot find file <jasper/jasper.h> specified in #include directive. (noinclfilef)
#include <jasper/jasper.h>

so I've placed jasper.h in a few spots and still get the error.

root_rcsr01# find /usr -name jasper.h
/usr/local/lib/jasper.h
/usr/local/include/jasper.h
/usr/shlib/jasper.h
/usr/lib/ImageMagick/jasper.h
/usr/robert/ImageMagick/ImageMagick-6.3.8/magick/jasper.h
/usr/robert/ImageMagick/jasper-1.900.1/src/libjasper/include/jasper/jasper.h

I can't see where it's suppose to be in the logs. Any idea?

Thanks again!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: installing jasper

Post by magick »

A good place to try is /usr/local/include/jasper/jasper.h.
LangeNet

Re: installing jasper

Post by LangeNet »

No... that didn't do it either.

Any other ideas?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: installing jasper

Post by anthony »

Do you have the jasper development package installed. You need that to comple a jasper coder in IM.

You do not need the development package once IM has been built (or pre-built into a binary package), only the actul library. Many OS installations only install the libraries and not the devlopement files, so as to save disk space.

The jasper.h file will be part of the development package, not the pre-built library package.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
LangeNet

Re: installing jasper

Post by LangeNet »

I can find:

libjasper-1.701-dev
Development files for the JasPer JPEG-2000 library

Is there JasPer version 1.900.1-dev anywhere?

Thanks
Post Reply