Opened 22 years ago

Last modified 22 years ago

#206 closed defect (fixed)

configure lacks JPEG2000 disable flag

Reported by: Markus Neteler Owned by: dron
Priority: high Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Hi Andrey,

today I was compiling the CVS version of GDAL with the new
JPEG2000 support. As jasper is missing on my machine, I tried
to disable compilation of JPEG2000 driver which is currently
not possible.

make[2]: Entering directory `/amd/mpa_sw/ssi/BIO/software/gdal/frmts/jpeg2000'
c++ -c -I../.. -I../../port -I../../core -I../../ogr -Wall -fPIC -O2 
-I/usr/local/include  jpeg2000dataset.cpp -o jpeg2000dataset.o -I. -I. 
-I../libjasper/include    -g -O2
jpeg2000dataset.cpp:49:27: jasper/jasper.h: No such file or directory
make[2]: *** [jpeg2000dataset.o] Error 1
make[2]: Leaving directory `/amd/mpa_sw/ssi/BIO/software/gdal/frmts/jpeg2000'
make[1]: *** [sub-libs] Error 1
make[1]: Leaving directory `/amd/mpa_sw/ssi/BIO/software/gdal/frmts'
make: *** [frmts-target] Error 2

Please add 
--without-jpeg2000
to configure (later I'll tell my admin to install jasper here).

Thanks,

 Markus

Change History (1)

comment:1 by dron, 22 years ago

This is my fault. Fixed.
JasPer library presence should be determined automatically without necessity to
disable it manually.

Note: See TracTickets for help on using tickets.