<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[Gdal-dev] Re: Problems installing GDAL 1.2.5 - Crashes on Make</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText81684 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>oops I guess I didn't send my
email to the group.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>It is not a bad hdf4 install if you look at
the compile line WIlliam posted you'll see:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>-I -I../../../ogr</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>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.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>-e</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> gdal-dev-bounces@xserve.flids.com on
behalf of wlx<BR><B>Sent:</B> Thu 12/9/2004 11:19 PM<BR><B>To:</B> 'William
Hudspeth'<BR><B>Cc:</B> gdal-dev@xserve.flids.com<BR><B>Subject:</B> [Gdal-dev]
Re: Problems installing GDAL 1.2.5 - Crashes on Make<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi,<BR> I guess the problem is your uncorrect
install of hdf4 lib.<BR> I have installed gdal 1.2.5 with hdf4
support without problem.<BR> My system is debian sarge,and I
installed the hdf lib by apt-get,so I<BR>don't know what the problem happened by
installing.<BR><BR> Best regards,<BR><BR>LiangXu
Wang<BR><BR>><BR>><BR>> Frank Warmerdam <fwarmerdam <at>
gmail.com> writes:<BR>><BR>> ><BR>> > On Thu, 9 Dec 2004
20:07:02 +0000 (UTC), William Hudspeth<BR>> <bhudspeth<BR>> >
<at> edac.unm.edu> wrote:<BR>> > > Hello,<BR>> > >
gctp_wrap.c: In function `osr_inv':<BR>> > > gctp_wrap.c:64: error:
`OGRSpatialReferenceH' undeclared<BR>> (first use<BR>> > > in
this<BR>> > > function)<BR>> ><BR>> > William,<BR>>
><BR>> > I haven't run into a problem like this before, but the HDF
support<BR>> > isn't built in all that often. One thing I notice is
that<BR>> gctp_wrap.c<BR>> > includes ogr_srs_api.h using angle
brackets instead of the double<BR>> > quotes used elsewhere in GDAL.
Try changing:<BR>> ><BR>> > #include <ogr_srs_api.h><BR>>
><BR>> > to<BR>> ><BR>> > #include "ogr_srs_api.h"<BR>>
><BR>> > in gdal/frmts/hdf4/hdf-eos/gctp_wrap.c and see if that
helps.<BR>> ><BR>> > Best regards,<BR>><BR>> Hello
Frank,<BR>><BR>> I made the requested changes to gctp_wrap.c and got the
same<BR>> error messsage. I previously had some trouble installing
the<BR>> HDF4.2r0 package, but was able to get it installed after
help<BR>> from their people. I don't really understand the error<BR>>
messages, so I don't know whether I should try re-installing<BR>> the HDF
package, or if the problem lies in with the GDAL installation.<BR>><BR>>
Thanks, Bill<BR>><BR>><BR>>
_______________________________________________<BR>> Gdal-dev mailing
list<BR>> Gdal-dev@xserve.flids.com<BR>> <A
href="http://xserve.flids.com/mailman/listinfo/gdal-dev">http://xserve.flids.com/mailman/listinfo/gdal-dev</A><BR>><BR><BR><BR><BR>_______________________________________________<BR>Gdal-dev
mailing list<BR>Gdal-dev@xserve.flids.com<BR><A
href="http://xserve.flids.com/mailman/listinfo/gdal-dev">http://xserve.flids.com/mailman/listinfo/gdal-dev</A><BR></FONT></P></DIV>
</BODY>
</HTML>