Page 1 of 1
installing jasper
Posted: 2008-02-13T07:49:14-07:00
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
Re: installing jasper
Posted: 2008-02-14T16:56:42-07:00
by LangeNet
Anyone???
Re: installing jasper
Posted: 2008-02-14T17:05:00-07:00
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.
Re: installing jasper
Posted: 2008-02-14T20:02:00-07:00
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!
Re: installing jasper
Posted: 2008-02-14T20:35:32-07:00
by magick
A good place to try is /usr/local/include/jasper/jasper.h.
Re: installing jasper
Posted: 2008-02-15T06:20:02-07:00
by LangeNet
No... that didn't do it either.
Any other ideas?
Re: installing jasper
Posted: 2008-02-19T23:06:15-07:00
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.
Re: installing jasper
Posted: 2008-02-20T18:05:57-07:00
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