[Gdal-dev] Re: Problems installing GDAL 1.2.5 - Crashes on Make
Ethan Alpert
ealpert at digitalglobe.com
Fri Dec 10 09:52:32 EST 2004
oops I guess I didn't send my email to the group.
It is not a bad hdf4 install if you look at the compile line WIlliam posted you'll see:
-I -I../../../ogr
Something is missing in the first -I. According to Sean G. mysql is set to be on by default but William has no mysql so the include files for it are not found. It's definitely a bug in the gdal configure.
-e
________________________________
From: gdal-dev-bounces at xserve.flids.com on behalf of wlx
Sent: Thu 12/9/2004 11:19 PM
To: 'William Hudspeth'
Cc: gdal-dev at xserve.flids.com
Subject: [Gdal-dev] Re: Problems installing GDAL 1.2.5 - Crashes on Make
Hi,
I guess the problem is your uncorrect install of hdf4 lib.
I have installed gdal 1.2.5 with hdf4 support without problem.
My system is debian sarge,and I installed the hdf lib by apt-get,so I
don't know what the problem happened by installing.
Best regards,
LiangXu Wang
>
>
> Frank Warmerdam <fwarmerdam <at> gmail.com> writes:
>
> >
> > On Thu, 9 Dec 2004 20:07:02 +0000 (UTC), William Hudspeth
> <bhudspeth
> > <at> edac.unm.edu> wrote:
> > > Hello,
> > > gctp_wrap.c: In function `osr_inv':
> > > gctp_wrap.c:64: error: `OGRSpatialReferenceH' undeclared
> (first use
> > > in this
> > > function)
> >
> > William,
> >
> > I haven't run into a problem like this before, but the HDF support
> > isn't built in all that often. One thing I notice is that
> gctp_wrap.c
> > includes ogr_srs_api.h using angle brackets instead of the double
> > quotes used elsewhere in GDAL. Try changing:
> >
> > #include <ogr_srs_api.h>
> >
> > to
> >
> > #include "ogr_srs_api.h"
> >
> > in gdal/frmts/hdf4/hdf-eos/gctp_wrap.c and see if that helps.
> >
> > Best regards,
>
> Hello Frank,
>
> I made the requested changes to gctp_wrap.c and got the same
> error messsage. I previously had some trouble installing the
> HDF4.2r0 package, but was able to get it installed after help
> from their people. I don't really understand the error
> messages, so I don't know whether I should try re-installing
> the HDF package, or if the problem lies in with the GDAL installation.
>
> Thanks, Bill
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/gdal-dev
>
_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20041210/40cabb7f/attachment.html
More information about the Gdal-dev
mailing list