[GRASSLIST:6136] RE: NVIZ problem

Nico Hardebol harj at geo.vu.nl
Fri Apr 25 06:37:19 EDT 2003


dear Markus,

both suse 8.1 as 8.2 do deliver version 8.4 of tcl.

possibly related to this newest version I met other problems, with which I
was not confronted while installing grass5.0.0 under suse 7.2.
grass.postgresql does not compile ...


./configure --with-postgres-includes=/usr/local/pgsql/include --with-postgre
s-libs=/usr/local/pgsql/lib --with-dbm --with-
gdal=/home/nico/gdal-1.1.8 --with-freetype --with-freetype-includes=/usr/inc
lude/freetype2 --with-freetype-libs=/usr/lib

	resulting in:
	GRASS is now configured for i686-pc-linux-gnu

  		Source directory:          /home/nico/grass5.0.2
  		Build directory:           /home/nico/grass5.0.2
  		Installation directory:    /usr/local/grass5
  		C compiler:                gcc -g -O2
  		FORTRAN compiler:          g77

  		NVIZ:                       yes

  		X11 support:                yes
  		DBM support:                yes
  		JPEG support:               yes
  		TIFF support:               yes
  		PNG support:                yes
  		GD support:                 yes
  		Tcl/Tk support:             yes
  		PostgreSQL support:         yes
  		OpenGL(R) support:          yes
  		ODBC support:               yes
  		FFTW support:               yes
  		BLAS support:               no
  		LAPACK support:             no
  		Motif support:              no
  		FreeType support:           yes
  		GLw support:                no
  		NLS support:                no
  		Readline support:           no

	make 2>&1 | tee compileOutput.log

	error.log:
		GRASS GIS source code compiled.

		Compilation error in module: src/misc/m.kappa (ignored)
		Compilation error in module: src/raster/r.in.doq (ignored)
		Compilation error in module: src/raster/wildfire (ignored)
		Compilation error in module: src.garden/grass.postgresql (ignored)

	part of compileOutput.log with the grass.postgresql - errors:
		#################################################################
		/home/nico/grass5.0.2/src.garden/grass.postgresql/g.column.pg
  		mkdir OBJ.i686-pc-linux-gnu
  		make -f OBJ.i686-pc-linux-gnu/make.rules

		make[2]: Entering directory
`/home/nico/grass5.0.2/src.garden/grass.postgresql/g.column.pg'

cc -I/home/nico/grass5.0.2/src/include -g -O2   -I/usr/local/pgsql/include -
Wall -DPACKAGE=\""g.column.pg"\"  -c main.c -o
OBJ.i686-pc-linux-gnu/main.o
		main.c:83:30: missing terminating " character
		main.c: In function `main':
		main.c:84: error: parse error before "a"
		main.c:85: error: stray '\' in program
		main.c:85:35: missing terminating " character
		main.c:87:37: warning: multi-character character constant
		main.c:91:34: missing terminating " character
		main.c:96:30: missing terminating " character
		main.c:97: error: parse error before "FROM"
		main.c:98:37: warning: multi-character character constant
		main.c:101:34: missing terminating " character
		/usr/include/stdlib.h: At top level:
		/home/nico/grass5.0.2/src/include/gis.h:35: warning: `GRASS_copyright'
defined but not used
		make[2]: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
		make[2]: Leaving directory
`/home/nico/grass5.0.2/src.garden/grass.postgresql/g.column.pg'
		make[1]: *** [all] Error 2
		make[1]: Leaving directory
`/home/nico/grass5.0.2/src.garden/grass.postgresql'
		GISGEN failure at STEP: src.garden/grass.postgredo g3d /SG4d not offer the
possibilty to study a 4th dimension (temp) within a 3d 			spatial
environment?sql

		###########################################################

do you have any indication what goes wrong??

I also have problems while attaching pgaccess to the postgresSQL database I
don't know if this is a comparable problem with shared libraries - I'll
request the postgreSQL-list
	version 98.7:
		nico at laptop:/usr/local/pgaccess> ./pgaccess
		Error in startup script: couldn't load file "libpgtcl.so": libpgtcl.so:
cannot open shared object file: No such file or directory
    		while executing
		"load libpgtcl[info sharedlibextension]"
    		(procedure "main" line 3)
    		invoked from within
		"main $argc $argv"
    		(file "/usr/local/pgaccess/main.tcl" line 249)

	version 98.8:
		nico at laptop:/> pgaccess
		Parsing the command line parameters:
       	 Loading the cmdline package...  FAILED
		Error: can't find package cmdline
		Please install the tcllib package
(http:://www.sourceforge.net/projects/tcllib)
		Error in startup script: invalid command name "cmdline::getopt"
    		while executing
		"cmdline::getopt argv $getopt_list opt val"
    		(procedure "parse_cmd_line" line 85)
   		 invoked from within
		"parse_cmd_line"
    		(procedure "init" line 10)
    		invoked from within
		"init $argc $argv"
    		(file "/usr/X11R6/bin/pgaccess" line 736)

Additionally, I also want to use 3d voxel routines - g3d / SG3d / sg4d - and
have problems to get g3d compiled see mail "problem compiling g3d"

thanking in advance,

Nico

-----Oorspronkelijk bericht-----
Van: Markus Neteler [mailto:neteler at itc.it]
Verzonden: woensdag 23 april 2003 11:19
Aan: Nico Hardebol
Onderwerp: Re: [GRASSLIST:6105] RE: NVIZ problem


On Tue, Apr 22, 2003 at 02:42:23PM +0200, Nico Hardebol wrote:
[...]
> I'm running the newest Suse linux 8.2 on dell laptop - but afterwards
> downgraded the tcl/tk libraries to 8.3 (instead of 8.4)


Hi,

which tcl/tk does Suse 8.2 deliver: 8.4.?

This is important to know as we probably have to add extra header
files to NVIZ.

Markus





More information about the grass-user mailing list