[GRASS5] grass cvs snapshot from 26. Feb.

Andreas Lange A.C.Lange at gmx.net
Thu Mar 8 07:58:48 EST 2001


Hi Markus, hi all,

i just want to report that i successfully compiled the CVS snapshot
on IRIX with gcc. 
I had to edit the header file manually, as i am not able to 
fix the configure.in script i want to ask someone to edit configure.in
in a way that makes the changes. 
There should IMHO never be an -I include directive on the compile line.

For the PNGdriver: Compiling the gd library from boutell.com
requires editing the Makefile, there is no autoconf setup. 
The Gmakefile needs hand editing too, as there is a -lm / $(MATHLIB)
missing and a library reordering is needed (at least on IRIX).
The driver is not installed with make install, must be copied by hand.
I can start the PNG driver only once, after that i get an error message
that the socket is already in use. Only rm $LOCATION/.tmp/'hostname'/PNG
helps. Are there any problems to expect with mounting the $GISDBASE via NFS?
This is my setup here. 
There is a new version of the gd library annouced that has support
for more than 256 colors. This would make the PNG driver really useful,
as the color matching is very crude and the output not satisfying with
raster maps. 

The sockets setup on IRIX works (and is very fast!).
But i discovered some more bugs:

- d.site.labels:
the border of the text (option -border) vanishes if the x window
is covered and restored (problem with the backing store?).
Can't say if it is a IRIX specific problem. 

- CELL driver:
I can't say if the colors are wrong or if something is not drawn at all,
but the text labels with d.site.labels are empty/white. Colors are 
obviously wrong with more complicated maps. 

I can no longer compile NVIZ2.2, i get an error that
the initializer element in togl.c is not constant. I remember this
error, but don't know a solution. Maybe some reodering of the
include directives can help. With the setup that triggered the 
__INTADDR__ error NVIZ2.2 compiled, if i remember correct.

cu,

Andreas

--


#############################################################################
#
# $Id: head.in,v 1.34 2001/02/12 14:25:57 cho Exp $
#
# MODULE:       Grass Compilation
# AUTHOR(S):    Original author unknown - probably CERL
#               Markus Neteler - Germany - neteler at geog.uni-hannover.de
#               Justin Hickey - Thailand - jhickey at hpcc.nectec.or.th
#               Huidae Cho - Korea - hdcho at geni.knu.ac.kr
#               Eric G. Miller - egm2 at jps.net
# PURPOSE:      The source file for this Makefile is in
src/CMD/head/head.in.
#               It is the top part of a file called make.rules which is used
#               for compiling all GRASS modules. This part of the file
provides
#               make variables that are dependent on the results of the
#               configure script.
# COPYRIGHT:    (C) 2000 by the GRASS Development Team
#
#               This program is free software under the GNU General Public
#               License (>=v2). Read the file COPYING that comes with GRASS
#               for
details.
#
#############################################################################

############################## Make Variables
###############################

CC                  = gcc
FC                  = g77
## FC = f77 done in CVS?
LEX                 = flex
YACC                = yacc
ARCH                = mips-sgi-irix6.5
MAKE                = make
prefix              = /usr/local
exec_prefix         = ${prefix}
UNIX_BIN            = ${exec_prefix}/bin

GISBASE             = /disk2/opt/grass.src/dist.mips-sgi-irix6.5
GRASS_BIN           = /disk2/opt/grass.src/bin.mips-sgi-irix6.5
#VERSION             = 5.0beta12
NAME_VER            = 5

DEFAULT_DATABASE    =
DEFAULT_LOCATION    =

COMPILE_FLAGS       = -g -O2 
## COMPILE_FLAGS       = -g -O2  -I/usr/freeware/include
LDFLAGS             = -L/usr/freeware/lib32 -L/usr/lib32

DLLIB               = -ldl
XCFLAGS             = 
# XXX - replace SYSV in code with configure results in config.h
# XXX - need SYSV defined for hpux10
XLDFLAGS            = 
XINCPATH            = 
XMINCPATH           = 
XLIBPATH            = 
XTLIBPATH           = 
XMLIBPATH           = 
XLIB                =  -lSM -lICE -lX11
XTLIB               = -lXt
XMLIB               = -lXm
XEXTRALIBS          = 

COMPATLIB           = 
TERMLIB             = -ltermlib
CURSES              = -lncurses $(TERMLIB) $(COMPATLIB)
MATHLIB             = -lm 
XDRLIB              =  -L/usr/lib32 -lz
ZLIB                =  -L/usr/lib32 -lz
ZLIBINCPATH         =  
ZLIBLIBPATH         =  -L/usr/lib32

#PostgreSQL:
PQINCPATH           = 
PQLIBPATH           = 
PQLIB               = 

#ODBC:
ODBCINC             = 
ODBCLIB             = 

#Image formats:
PNGINC              = -I/usr/X11R6/include/ -I/usr/freeware/include
-I/usr/local/include -I/usr/include
PNGLIB              = -L/usr/lib32 -L/usr/X11R6/lib -L/usr/freeware/lib32

#JPEGINCPATH         = -I/usr/X11R6/include/ -I/usr/include/gr
-I/usr/local/include -I/usr/include
#JPEGLIBPATH         = -L/usr/local/lib -L/usr/X11R6/lib -L/usr/lib
JPEGINCPATH         =  -I/usr/include -I/usr/freeware/include
JPEGLIBPATH         = -L/usr/lib32 -L/usr/freeware/lib32
JPEGLIB             = -ljpeg

TIFFINCPATH         = -I/usr/include -I/usr/freeware/include
TIFFLIBPATH         = -L/usr/lib32 -L/usr/freeware/lib32

#openGL files for NVIZ/r3.showdspf
OPENGLINC           =  -I/usr/include/GL
OPENGLwINC          =  -I/usr/include/GL
OPENGLLIB           =  -L/usr/lib32 -L/usr/local/lib -L/usr/lib/X11 -lGL
OPENGLULIB          = -lGLU
LGLWM               = 

#tcl/tk stuff
TCLINCDIR           = -I/usr/freeware/include
TKINCDIR            = -I/usr/freeware/include
TCLTKLIBPATH        = -L/usr/freeware/lib32
TCLTKLIBS           =  -ltk8.0 -ltcl8.0

LIBRULE             = ar ruv $@ $?; : $@
USE_TERMIO          = 

# Uncomment below to input Korean(Asian?) characters in v.digit or etc.
#DASIAN_CHARS        = -DASIAN_CHARS

# It's hard to click two buttons simultaneously with two button mouse.
# Situation is worse, if it requires continuous clicking.
# In this case uncomment below.
#DANOTHER_BUTTON     = -DANOTHER_BUTTON

-- 
Sent through GMX FreeMail - http://www.gmx.net


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list