<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>&nbsp;</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>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>-I -I../../../ogr</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;&nbsp; I guess the problem is your uncorrect 
install of hdf4 lib.<BR>&nbsp;&nbsp;&nbsp; I have installed gdal 1.2.5 with hdf4 
support without problem.<BR>&nbsp;&nbsp;&nbsp; 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>&nbsp;&nbsp; Best regards,<BR><BR>LiangXu 
Wang<BR><BR>&gt;<BR>&gt;<BR>&gt; Frank Warmerdam &lt;fwarmerdam &lt;at&gt; 
gmail.com&gt; writes:<BR>&gt;<BR>&gt; &gt;<BR>&gt; &gt; On Thu, 9 Dec 2004 
20:07:02 +0000 (UTC), William Hudspeth<BR>&gt; &lt;bhudspeth<BR>&gt; &gt; 
&lt;at&gt; edac.unm.edu&gt; wrote:<BR>&gt; &gt; &gt; Hello,<BR>&gt; &gt; &gt; 
gctp_wrap.c: In function `osr_inv':<BR>&gt; &gt; &gt; gctp_wrap.c:64: error: 
`OGRSpatialReferenceH' undeclared<BR>&gt; (first use<BR>&gt; &gt; &gt; in 
this<BR>&gt; &gt; &gt; function)<BR>&gt; &gt;<BR>&gt; &gt; William,<BR>&gt; 
&gt;<BR>&gt; &gt; I haven't run into a problem like this before, but the HDF 
support<BR>&gt; &gt; isn't built in all that often.&nbsp; One thing I notice is 
that<BR>&gt; gctp_wrap.c<BR>&gt; &gt; includes ogr_srs_api.h using angle 
brackets instead of the double<BR>&gt; &gt; quotes used elsewhere in GDAL.&nbsp; 
Try changing:<BR>&gt; &gt;<BR>&gt; &gt; #include &lt;ogr_srs_api.h&gt;<BR>&gt; 
&gt;<BR>&gt; &gt; to<BR>&gt; &gt;<BR>&gt; &gt; #include "ogr_srs_api.h"<BR>&gt; 
&gt;<BR>&gt; &gt; in gdal/frmts/hdf4/hdf-eos/gctp_wrap.c and see if that 
helps.<BR>&gt; &gt;<BR>&gt; &gt; Best regards,<BR>&gt;<BR>&gt; Hello 
Frank,<BR>&gt;<BR>&gt; I made the requested changes to gctp_wrap.c and got the 
same<BR>&gt; error messsage. I previously had some trouble installing 
the<BR>&gt; HDF4.2r0 package, but was able to get it installed after 
help<BR>&gt; from their people. I don't really understand the error<BR>&gt; 
messages, so I don't know whether I should try re-installing<BR>&gt; the HDF 
package, or if the problem lies in with the GDAL installation.<BR>&gt;<BR>&gt; 
Thanks, Bill<BR>&gt;<BR>&gt;<BR>&gt; 
_______________________________________________<BR>&gt; Gdal-dev mailing 
list<BR>&gt; Gdal-dev@xserve.flids.com<BR>&gt; <A 
href="http://xserve.flids.com/mailman/listinfo/gdal-dev">http://xserve.flids.com/mailman/listinfo/gdal-dev</A><BR>&gt;<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>