[Gdal-dev] problem to compile gdal 1.4.2 with kakadu JPG2000 support

patrice canonici patrice.canonici at gmail.com
Thu Sep 6 03:50:11 EDT 2007


Hi Mateusz

I solved the problem by compiling gdal  with the configure option
--without-libtool, and it is now a success.

In fact I saw that gdal use its own libtool. I looked for version, and
it was not the same as the one  I have.
so I tryed to execute the same command (/bin/sh
/home/pcanonici/work/MapServer/gdal-1.4.2/libtool --mode=link
  g++  ogrinfo.o /home/pcanonici/w ..... ) with my libtool, and the
result was the same.

Note that I built kakadu following its documentation.

Now I follow the link you give, i can see that :
LIBTOOL support:           no

It seems to be very important to don't have libtool support activated.
Can you tell me why ? I don't feel  good  with that.

Cheers

2007/9/5, Mateusz Loskot <mateusz at loskot.net>:
> patrice canonici wrote:
> > I'm  trying to compile gdal 1.4.2 with kakadu 5.2.6 in order to use
> > it into mapserver.
> >
> > I build kakadu successfully as it is explain in the documentation.
> > But, when I try to compile gdal, it fails. [...]
>
>
> Patrice,
>
> Unfortunately, I have only access to Kakadu 6.0 so I'm not sure if there
> is any problem with older versions.
>
> One thing comes to my mind, did you run "make clean" and then try to
> build with Kakadu using clean sources tree?
> If not, please try to do make clean first and then ./configure and make
> and see if it helps.
>
> BTW, Here you can find some instructions about how to build in JP2KAK
> driver support: http://trac.osgeo.org/gdal/wiki/JP2KAK
>
> Cheers
> --
> Mateusz Loskot
> http://mateusz.loskot.net
>



More information about the Gdal-dev mailing list