Details Ticket 2133


Comment | Reply | Take | Open


Serial Number 2133
Subject Can't compile with readline and openmotif on Rh9
Area bug
Queue grass
Requestors bais@bais.info
Owner none
Status resolved
Last User Contact Fri Sep 26 02:04:53 2003 (5 yr ago)
Current Priority 20
Final Priority 70
Due No date assigned
Last Action Mon Oct 6 14:56:04 2003 (5 yr ago)
Created Thu Sep 25 22:24:22 2003 (5 yr ago)

Transaction History Ticket 2133


Thu, Sep 25 2003 22:24:22    Request created by guest  
Subject: Can't compile with readline and openmotif on Rh9

Platform: GNU/Linux/i386
grass obtained from: Mirror of Trento site
grass binary for platform: Compiled from Sources

Hi I compiled grass 5.0.2 on a linux box with red hat 9 updated with apt at this
day and I picked up all last version libraries grass could use.. like motif and
readline correctly installed on my distribution but configure don't see them
and all --with-motif-dirs and similar parameters don't work...
I removed from compilatio with --without-xxxx and I compile correctly but when
I start grass5 and put  project name italy, location /tmp/location and gisdbase
/tmp/gisdbase/
I have this error... is there some connect of them?

---------------------------------------------
1999-2002 by the GRASS Development Team, and licensed under terms of the
GNU General Public License (GPL).

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:~/packages/grass5.0.2 > g.version
ERROR: program 'g.version' cannot be executed because: Neither a command
       line (cmd) or interactive (inter) version was found
GRASS:~/packages/grass5.0.2 > g.help
ERROR: program 'g.help' cannot be executed because: Neither a command line
       (cmd) or interactive (inter) version was found



---------------------------------------------------------------------------------
Configured:
./configure  --without-odbc --with-includes=/usr/include/ --with-tcltk --with-tcltk-includes=/usr/in
clude/
--without-fftw --with-freetype --with-freetype-includes=/usr/include/freetype1/freetype/
--with-blas --with-lapack --with-nls --without-glw --without-motif --with-fftw
--without-readline --without-dbm

---------------------------------------------------------------------------------
make and make install from root

i have openmotif.. I think will be need openmotif-devel for compile grass with
it?

I have readline of red hat 9 installed but it doesn't found it ...  readline
and readline-devel rpm from rh cdroms

any suggestion?
Fri, Sep 26 2003 02:04:53    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <16243.31599.101541.700286@cerise.nosuchdomain.co.uk>
Date Fri, 26 Sep 2003 00:34:07 +0100
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2133] (grass) Can't compile with readline and openmotif on Rh9
In-Reply-To <20030925202423.7B8A513BB0@lists.intevation.de>
References <20030925202423.7B8A513BB0@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid
X-Spam-Status No, hits=-2.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES version=2.55
X-Spam-Level
X-Spam-Checker-Version SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2133
> -------------------------------------------------------------------------
> 
> Subject: Can't compile with readline and openmotif on Rh9
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> 
> Hi I compiled grass 5.0.2 on a linux box with red hat 9 updated with
> apt at this day and I picked up all last version libraries grass could
> use.. like motif and readline correctly installed on my distribution
> but configure don't see them and all --with-motif-dirs and similar
> parameters don't work...
> 
> I removed from compilatio with --without-xxxx and I compile correctly
> but when I start grass5 and put project name italy, location
> /tmp/location and gisdbase /tmp/gisdbase/

The database (GISDBASE) is a path; the location and mapset are just
names, which shouldn't contain any / characters.

> I have this error... is there some connect of them?
> 
> ---------------------------------------------
> 1999-2002 by the GRASS Development Team, and licensed under terms of the
> GNU General Public License (GPL).
> 
> 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:~/packages/grass5.0.2 > g.version
> ERROR: program 'g.version' cannot be executed because: Neither a command
>        line (cmd) or interactive (inter) version was found
> GRASS:~/packages/grass5.0.2 > g.help
> ERROR: program 'g.help' cannot be executed because: Neither a command line
>        (cmd) or interactive (inter) version was found

Is GISBASE set correctly in the grass5 script? Beneath $GISBASE, there
should be subdirectories etc/bin/cmd and etc/bin/inter which contain
the actual executables.

> ---------------------------------------------------------------------------------
> Configured:
> ./configure  --without-odbc --with-includes=/usr/include/ --with-tcltk --with-tcltk-includes=/usr/
include/
--without-fftw --with-freetype --with-freetype-includes=/usr/include/freetype1/freetype/
--with-blas --with-lapack --with-nls --without-glw --without-motif --with-fftw
--without-readline --without-dbm

1. You shouldn't specify /usr/include as an argument to any of the
--with-*-includes switches. The compiler should search /usr/include
automatically; specifying it explicitly may cause it to be searched
before e.g. /usr/lib/gcc-lib/<arch>/<version>/include, which can have
undesirable consequences.

2. The following switches are redundant:

--with-tcltk
--with-fftw
--without-glw
--without-motif
--without-readline
--without-dbm

Tcl/Tk and FFTW are enabled by default, while the others are disabled
by default.

3. You specified both --with-fftw and --without-fftw.

4. This:

--with-freetype-includes=/usr/include/freetype1/freetype/

wont work, as d.text.freetype requires FreeType 2.x.

> ---------------------------------------------------------------------------------
> make and make install from root
> 
> i have openmotif.. I think will be need openmotif-devel for compile
> grass with it?

Motif is only required for xganim and r3.showdspf.openGL; nothing else
uses it.

> I have readline of red hat 9 installed but it doesn't found it ... 
> readline and readline-devel rpm from rh cdroms

This is usually because the readline library requires another library
(typically libtermap, libtinfo or libncurses), but it isn't listed
among the library's dependencies. r.mapcalc will use readline if it is
enabled, but can work without it; nothing else uses readline.

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


Fri, Sep 26 2003 06:53:55    Comments added by hbowman  
To get readline working on RH9, run ./configure without, then do

http://article.gmane.org/gmane.comp.gis.grass.user/1000
Mon, Oct 6 2003 14:55:50    Status changed to resolved by bernhard  
Mon, Oct 6 2003 14:56:04    Priority changed to 20 by bernhard  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request