<!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] gdal-grass install problems redux</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>OK, so editing /etc/ld.so.conf to include the library and config </FONT>
<BR><FONT SIZE=2>locations of proj, gdal, grass, and geos, and then running ldconfig </FONT>
<BR><FONT SIZE=2>solves the problem. It took a while to find the appropriate email </FONT>
<BR><FONT SIZE=2>thread from this list to set me straight. Frank, you might want to </FONT>
<BR><FONT SIZE=2>mention the potential need to do this in the HELP file of gdal-grass </FONT>
<BR><FONT SIZE=2>to prevent posts on this topic from the the lesser informed to this </FONT>
<BR><FONT SIZE=2>list.</FONT>
</P>
<P><FONT SIZE=2>Dan</FONT>
</P>
<P><FONT SIZE=2>On 7-Jan-06, at 11:10 AM, Putler, Dan wrote:</FONT>
</P>
<P><FONT SIZE=2>> Hi,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I am running into an identical install problem as Maik Trömel</FONT>
<BR><FONT SIZE=2>> reported on 9 December. I'm running on an old P3 machine (so the</FONT>
<BR><FONT SIZE=2>> potential problems with x64 aren't relevant in my case). In addition,</FONT>
<BR><FONT SIZE=2>> I'm running FC4, while Maik (based on the configure output) is</FONT>
<BR><FONT SIZE=2>> running SUSE. The particular relevant software versions I'm running </FONT>
<BR><FONT SIZE=2>> are:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> proj 4.4.9</FONT>
<BR><FONT SIZE=2>> gdal 1.3.1</FONT>
<BR><FONT SIZE=2>> grass 6.0.1</FONT>
<BR><FONT SIZE=2>> geos 2.2.1</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I built each of these from source. The one other piece of information</FONT>
<BR><FONT SIZE=2>> that may be relevant is that grass was build with the --with-gdal</FONT>
<BR><FONT SIZE=2>> option. The output of the configure is:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> [putler@ha667-1 gdal-grass-1.3.1]$ ./configure --with-gdal=/usr/local/</FONT>
<BR><FONT SIZE=2>> bin/gdal-config --with-grass=/usr/local/grass-6.0.1</FONT>
<BR><FONT SIZE=2>> checking for gcc... gcc</FONT>
<BR><FONT SIZE=2>> checking for C compiler default output file name... a.out</FONT>
<BR><FONT SIZE=2>> checking whether the C compiler works... yes</FONT>
<BR><FONT SIZE=2>> checking whether we are cross compiling... no</FONT>
<BR><FONT SIZE=2>> checking for suffix of executables...</FONT>
<BR><FONT SIZE=2>> checking for suffix of object files... o</FONT>
<BR><FONT SIZE=2>> checking whether we are using the GNU C compiler... yes</FONT>
<BR><FONT SIZE=2>> checking whether gcc accepts -g... yes</FONT>
<BR><FONT SIZE=2>> checking for gcc option to accept ANSI C... none needed</FONT>
<BR><FONT SIZE=2>> checking for g++... g++</FONT>
<BR><FONT SIZE=2>> checking whether we are using the GNU C++ compiler... yes</FONT>
<BR><FONT SIZE=2>> checking whether g++ accepts -g... yes</FONT>
<BR><FONT SIZE=2>> checking for ranlib... ranlib</FONT>
<BR><FONT SIZE=2>> checking for g++ -shared ... yes</FONT>
<BR><FONT SIZE=2>> user supplied gdal-config (/usr/local/bin/gdal-config)</FONT>
<BR><FONT SIZE=2>> using /usr/local/lib/gdalplugins as GDAL shared library autoload</FONT>
<BR><FONT SIZE=2>> directory</FONT>
<BR><FONT SIZE=2>> checking for G_asprintf in -lgrass_gis... no</FONT>
<BR><FONT SIZE=2>> configure: error: --with-grass=/usr/local/grass-6.0.1 requested, but</FONT>
<BR><FONT SIZE=2>> libraries not found!</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Dan</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> Gdal-dev mailing list</FONT>
<BR><FONT SIZE=2>> Gdal-dev@lists.maptools.org</FONT>
<BR><FONT SIZE=2>> <A HREF="http://lists.maptools.org/mailman/listinfo/gdal-dev" TARGET="_blank">http://lists.maptools.org/mailman/listinfo/gdal-dev</A></FONT>
</P>
</BODY>
</HTML>