[Gdal-dev] Compiling errors under GDAL in cvs

Andrey Kiselev dron at ak4719.spb.edu
Mon Jun 16 17:15:33 EDT 2003


Robert,

On Mon, Jun 16, 2003 at 09:40:12PM +0100, Robert Osfield wrote:
> Looking at the docs in the frmts/jpeg2000 directory led me to download the 
> patched version of jasper.  I then ran ./configure and make on it, but came 
> across the error :
> 
> make[2]: Entering directory `/home/robert/VTP/jasper-1.700.2.uuid/src/appl'
> Makefile:360: warning: overriding commands for target `jiv'
> Makefile:348: warning: ignoring old commands for target `jiv'
> /bin/sh ../../libtool --mode=link gcc  -g -O2 -W -Wall -Wno-long-long -Wforma 
> -Wmissing-prototypes -Wstrict-prototypes -pedantic  -o jiv  jiv.o 
> ../libjasper/libjasper.la -lglut -lGL -lGLU  -lSM -lICE -lX11 -lXmu -lXi 
> -lXext -lXt   -L/usr/X11R6/lib -lm  -ljpeg
> libtool: link: cannot find the library `/usr/lib/libGLU.la'
> 
> Now I have libGLU :
> 
>   ls /usr/lib/libGLU*
>   /usr/lib/libGLU.so  /usr/lib/libGLU.so.1  /usr/lib/libGLU.so.1.3
> 
> But alas no libGLU.la :-|

I think you don't have static libGLU.a library.

> Suggestions?  Would it be easist to mod jasper?  Disable the compile of 
> jpeg2000?  If so what option should I use with configure in GDAL?

If you just want to use GDAL you don't need OpenGL jiv application from
JasPer package (it is simple image viewer). JasPer configure option
`--disable-opengl' helps you. Or you may completely disable JPEG2000
driver in GDAL using `--without-jasper' switch.

Anyway, it is my fault that JPEG2000 driver becomes enabled without
proper JasPer version. I shall fix configure script tomorrow.
Thank you for report.


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517



More information about the Gdal-dev mailing list