[GRASS5] [bug #1837] (grass) redhat-9 incompataibility with all versions of grass5.x.x.x

this bug's URL: http://intevation.de/rt/webrt?serial_num=1837
-------------------------------------------------------------------------

Subject: redhat-9 incompataibility with all versions of grass5.x.x.x

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: gras5..x.x.x

Please enter error description here (and your name)
from Jonas Mockus

Dear GRASS developers and users,
It seems that all the versionns of grass5.x.x.x
are incopatible with linux RedHat-9 distribution,
the incompatibibilities are different but the final
results are complete failure.
I hope that something can be dine torestore comatibility with the
most popular linux versiom,
that can be achieved just by testing new relieses with new linux distributions taha are as free as grass
I attach the short results of my test:

RedHat-9
kernel-2.4.20-9
kernel-source-2.4.20-9
kernel-utils-2.4-8.29
NVIDIA_GLX (GeForce 2 MX)

*************************************************************

grass-5.0.0
./configure:

checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes...
checking for libpq-fe.h... yes
checking for postgres.h... no
checking for postgres_fe.h... no
configure: error: *** Unable to locate PostgreSQL includes.
***********************************************************************

grass-5.0.1
./configure:

checking whether to use PostgreSQL... yes
checking for location of PostgreSQL includes...
checking for libpq-fe.h... yes
checking for postgres.h... no
checking for postgres_fe.h... no
configure: error: *** Unable to locate PostgreSQL includes.
***********************************************************************

grass-5.0.2
./configure:

checking for SQLConnect in -lodbc... yes
checking whether to use FFTW... yes
checking for location of FFTW includes...
checking for fftw.h... no
checking for dfftw.h... no
configure: error: *** Unable to locate FFTW includes.
**********************************************************************

grass-5.0.2
precompiled for linux:

This GRASS 5.0.2 release is coordinated and produced by the
GRASS Development Team headquartered at ITC-irst (Trento, Italy) with
worldwide support and further development sites located at Baylor
University and the University of Illinois (U.S.A.).

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

This version running thru the Bash Shell (/bin/bash)
Help is available with the command: g.help
See the licence terms with: g.version -c
Start the graphical user interface with: tcltkgrass&
When ready to quit enter: exit
GRASS:~ > tcltkgrass&
[1] 21537
GRASS:~ > d.mon start=x1
ERROR: In main.c: Couldn't get socket path.
Failed to get socket name for monitor <x1>.
Problem selecting x1. Will try once more
Failed to get socket name for monitor <x1>.
*********************************************************

grass-5.1.0
precompiled for linux:

This GRASS 5.1.0-cvs release is coordinated and produced by the
GRASS Development Team headquartered at ITC-irst (Trento, Italy) with
contributions from all over the world.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

This version running thru the Bash Shell (/bin/bash)
Help is available with the command: g.help
See the licence terms with: g.version -c
Start the graphical user interface with: d.m &
When ready to quit enter: exit
GRASS 5.1.0-cvs:~ > d.m &
[1] 21890
GRASS 5.1.0-cvs:~ > Error in startup script: ps.map: error while loading shared libraries: libpq.so.2: 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 8)
    invoked from within
"main"
    (file "/usr/local/grass51-28_04_2003/etc/dm/d.m.tcl" line 583)

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

Subject: redhat-9 incompataibility with all versions of grass5.x.x.x

grass-5.0.0

configure: error: *** Unable to locate PostgreSQL includes.

grass-5.0.1

configure: error: *** Unable to locate PostgreSQL includes.

Both of these versions used an "internal" PostgreSQL header which, for
later versions of PostgreSQL, required that you add an additional
directory to the --with-postgres-includes= switch.

This dependency has been removed in 5.0.2. And both 5.0.0 and 5.0.1
can be compiled *if* you use the correct configure switches.

grass-5.0.2
./configure:

checking for SQLConnect in -lodbc... yes
checking whether to use FFTW... yes
checking for location of FFTW includes...
checking for fftw.h... no
checking for dfftw.h... no
configure: error: *** Unable to locate FFTW includes.

Do you have FFTW installed? If not, either install it, or use
--without-fftw (this will disable i.fft, i.zc, i.shape and
r.surf.fractal, all of which need the FFTW library).

grass-5.0.2
precompiled for linux:

GRASS:~ > d.mon start=x1
ERROR: In main.c: Couldn't get socket path.
Failed to get socket name for monitor <x1>.
Problem selecting x1. Will try once more
Failed to get socket name for monitor <x1>.
*********************************************************

It's hard to be sure why this is happenning, but possible reasons are
if GRASS is unable to determine your username, or if it can't create
the directory /tmp/grass-<username>, or if the directory exists but it
can't set the permissions correctly.

grass-5.1.0
precompiled for linux:

5.1 is a development version, and should be considered "alpha".

GRASS 5.1.0-cvs:~ > Error in startup script: ps.map: error while loading shared libraries: libpq.so.2: cannot open shared object file: No such file or directory

Either you don't have the PostgreSQL client library, or you don't have
a version which is compatible with the pre-compiled binary package.

--
Glynn Clements <glynn.clements@virgin.net>