<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <DEFANGED_meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Glynn,<br>
<br>
That did the trick. However, I also needed to copy the gdal &amp; proj
(and others) libs to the GRASS 6 lib directory due to our local admin
setup. But it works; thanks for your help.<br>
<br>
Regards,<br>
Tom<br>
<br>
<br>
<br>
Glynn Clements wrote:<br>
<blockquote type="cite"
 cite="mid17029.28110.136064.720794@gargle.gargle.HOWL">
  <pre wrap="">Thomas Adams wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I have pretty much successfully built GRASS 6 to run on Redhat Linux 7.3 
with a couple of exceptions. First off, I configured with:

gdal 1.2.3
fftw 3.0.1
    </pre>
  </blockquote>
  <pre wrap=""><!---->
GRASS needs FFTW 2.x; 3.x isn't compatible.

  </pre>
  <blockquote type="cite">
    <pre wrap="">PostgreSQL 7.4.7
proj 4.4.9

However, problem (1) I had to configure without fftw because the 
includes could not be found:

checking whether to use FFTW... yes
checking for location of FFTW includes... 
/awips/rep/lx/local_apps/fftw/include
checking for fftw.h... no
checking for dfftw.h... no
configure: error: *** Unable to locate FFTW includes.

However, in the fftw install directory were:

fftw3.f  fftw3.h

Should I be using an older version of fftw?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Yes.

  </pre>
  <blockquote type="cite">
    <pre wrap="">I ran the test for the install and everything verified. OK, I *can*
live without fftw.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
FFTW is required for i.fft, i.zc and r.surf.fractal. If you don't need
those modules, you don't need FFTW.

  </pre>
  <blockquote type="cite">
    <pre wrap="">The big problem occurs when I try to run GRASS 6, the display manager 
fails to start and I get:

GRASS-GRID &gt; Error in startup script: ps.map: error while loading shared 
libraries: libgdal.so.1: cannot open shared object file: No such file or 
directory while executing
"exec ps.map -p"
    (procedure "DmPrint::init" line 14)
    invoked from within
"DmPrint::init"
    (procedure "main" line 32)
    invoked from within
"main $argc $argv"
    (file 
"/awips/rep/lx/local_apps/grass6-build/grass-6.0.0/etc/dm/d.m.tcl" line 894)

I copied the gdal libs to /usr/local/lib and made sure it was in my 
path, but to no avail. I had to install gdal, fftw, proj, PostgreSQL, 
and GRASS 6 in the directory /awips/rep/lx/local_apps/ due to local 
admin restrictions.

GRASS 6 runs from the command line, FWIW.
Any ideas?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Check that /usr/local/lib is listed in /etc/ld.so.conf, then run
"ldconfig" as root.

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:        <a class="moz-txt-link-abbreviated" href="mailto:thomas.adams@noaa.gov">thomas.adams@noaa.gov</a>

VOICE:        937-383-0528
FAX:        937-383-0033</pre>
</body>
</html>