<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN 
class=185322220-04032008>Problem fixed</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN 
class=185322220-04032008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN 
class=185322220-04032008>needed only to add --with-local=/usr/local in 
configure</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN 
class=185322220-04032008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN 
class=185322220-04032008>Marco</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Da:</B> grass-dev-bounces@lists.osgeo.org 
[mailto:grass-dev-bounces@lists.osgeo.org] <B>Per conto di 
</B>marco.pasetti@alice.it<BR><B>Inviato:</B> marted́ 4 marzo 2008 
18.03<BR><B>A:</B> grass-dev@lists.osgeo.org<BR><B>Oggetto:</B> [GRASS-dev] GDAL 
1.5.0 Build Error With GRASS Support<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I'm building GDAL 1.5.0 with GRASS support;</FONT></DIV>
<DIV><FONT size=2>it gives the following error:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>In file included from 
grass57dataset.cpp:45:<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:23:22: 
proj_api.h: No such file or directory<BR>In file included from 
grass57dataset.cpp:45:<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: 
error: ISO C++ forbids declaration of `projPJ' with no 
type<BR>C:/MSYS/local/grass-6.3.0RC5/include/grass/gprojects.h:36: error: 
expected `;' before '*' token<BR>make[2]: *** [../o/grass57dataset.o] Error 
1<BR>make[2]: Leaving directory 
`/usr/local/src/gdal-1.5.0/frmts/grass'<BR>make[1]: *** [grass-install-obj] 
Error 2<BR>make[1]: Leaving directory `/usr/local/src/gdal-1.5.0/frmts'<BR>make: 
*** [frmts-target] Error 2</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face="Courier New">proj_api.h</FONT> is present in <FONT 
face="Courier New">/usr/local/include</FONT>, while <FONT 
face="Courier New">/usr/local/grass-6.3.0RC5/include/grass</FONT> has <FONT 
face="Courier New">gproj_api.h</FONT></FONT></DIV>
<DIV><FONT size=2>should I force GRASS code to include <FONT 
face="Courier New">gproj_api.h</FONT> instead of <FONT 
face="Courier New">proj_api.h</FONT> or walk around the problem adding <FONT 
face="Courier New">/usr/local/include</FONT> to <FONT 
face="Courier New">PATH</FONT> before launch <FONT 
face="Courier New">make</FONT> command?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Marco</FONT></DIV></FONT></DIV></BODY></HTML>