[GRASSLIST:3761] compiling grass-5.7.0 on suse 9.0

hi, i still run configure and install the required packages.

i already installed tk-devel and tcl-devel via yast but still receive the
following error:

sabine@ueberflieger:~/diss/grass-5.7.0> CFLAGS="-g -Wall" ./configure
  ...
checking for tcl.h... yes
checking for tk.h... no
configure: error: *** Unable to locate Tk includes.

sabine@ueberflieger:/usr/include> ls *tk*
itkDecls.h tkDecls.h tkIntDecls.h tkPlatDecls.h tkUnixInt.h
itk.h tk.h tkInt.h tkPort.h

what else do i need?

thanks, sabine

Hello Sabine,

On Mon, 28 Jun 2004 10:48:22 +0200 Sabine Grabner <csab7771@uibk.ac.at>
wrote:

hi, i still run configure and install the required packages.

i already installed tk-devel and tcl-devel via yast but still receive
the following error:

sabine@ueberflieger:~/diss/grass-5.7.0> CFLAGS="-g -Wall" ./configure
  ...
checking for tcl.h... yes
checking for tk.h... no
configure: error: *** Unable to locate Tk includes.

you probably should write a small script for configuring GRASS with all
the options you need and configure accepts.
All configure-options can be printed out by typing

  ./configure --help

I attached mine, you can have a look an adopt it to your needs.
see especially the --with-tcltk-includes= part.

hth

Cheers
  Stephan

--
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

(attachments)

configure_grass51.sh (603 Bytes)

Sabine Grabner wrote:

hi, i still run configure and install the required packages.

i already installed tk-devel and tcl-devel via yast but still receive the
following error:

sabine@ueberflieger:~/diss/grass-5.7.0> CFLAGS="-g -Wall" ./configure
  ...
checking for tcl.h... yes
checking for tk.h... no
configure: error: *** Unable to locate Tk includes.

sabine@ueberflieger:/usr/include> ls *tk*
itkDecls.h tkDecls.h tkIntDecls.h tkPlatDecls.h tkUnixInt.h
itk.h tk.h tkInt.h tkPort.h

what else do i need?

If the tcl.h check works but the tk.h check fails, the most common
reason is that you don't have the X headers (Xlib.h etc; usually in
/usr/X11R6/include/X11).

The config.log file will include any error messages which were
generated during the check.

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