<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>Re:[Gdal-dev] Continuing problems installing gdal-grass</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi Bill,</FONT>
</P>
<P><FONT SIZE=2>This is just a guess, but did you load proj via RPMs? If yes, you may </FONT>
<BR><FONT SIZE=2>need to load the proj-devel package as well. The reason why I ask </FONT>
<BR><FONT SIZE=2>this is the problems seems to be with proj_api.h, which is a proj </FONT>
<BR><FONT SIZE=2>header file. RedHat has this thing about putting header files into </FONT>
<BR><FONT SIZE=2>separate "product"-devel packages.</FONT>
</P>
<P><FONT SIZE=2>Dan</FONT>
</P>
<P><FONT SIZE=2>On 10-Jan-06, at 11:29 AM, William Hudspeth wrote:</FONT>
</P>
<BR>
<P><FONT SIZE=2>> Thanks for responding Dan,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I have followed your suggestions - it seems to have configured just</FONT>
<BR><FONT SIZE=2>> fine. When I try to make, however, I get the following output:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> g++ -Wall -fPIC -DUSE_CPL -DGRASS_GISBASE=\"/usr/local/grass-6.0.1 </FONT>
<BR><FONT SIZE=2>> \" -</FONT>
<BR><FONT SIZE=2>> I/usr/local/gdal/include -I/usr/local/grass-6.0.1/include -c -o</FONT>
<BR><FONT SIZE=2>> grass57dataset.o grass57dataset.cpp</FONT>
<BR><FONT SIZE=2>> In file included from grass57dataset.cpp:63:</FONT>
<BR><FONT SIZE=2>> /usr/local/grass-6.0.1/include/gprojects.h:20:22: proj_api.h: No </FONT>
<BR><FONT SIZE=2>> such file or directory</FONT>
<BR><FONT SIZE=2>> In file included from grass57dataset.cpp:63:</FONT>
<BR><FONT SIZE=2>> /usr/local/grass-6.0.1/include/gprojects.h:31: syntax error before </FONT>
<BR><FONT SIZE=2>> `*' token</FONT>
<BR><FONT SIZE=2>> make: *** [grass57dataset.o] Error 1</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Hi Bill,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Your problem is likely to be solved by editing /etc/ld.so.conf to</FONT>
<BR><FONT SIZE=2>> include the locations of proj, gdal, grass, and geos. Specifically,</FONT>
<BR><FONT SIZE=2>> the full path to both gdal-config and geos-config, and the full paths</FONT>
<BR><FONT SIZE=2>> to the library locations of proj (often /usr/local/lib) and grass (/</FONT>
<BR><FONT SIZE=2>> usr/local/grass-6.0.1/lib). After editing ld.so.conf, run ldconfig,</FONT>
<BR><FONT SIZE=2>> and you should be good to go.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I ran into this problem this weekend (and posted for help to this</FONT>
<BR><FONT SIZE=2>> list), so it seems to be a pretty common issue.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Dan</FONT>
<BR><FONT SIZE=2>></FONT>
</P>
</BODY>
</HTML>