[GRASS5] grass cvs snapshot from 26. Feb.

Markus Neteler neteler at geog.uni-hannover.de
Thu Mar 8 09:26:33 EST 2001


Hi Andreas,

On Thu, Mar 08, 2001 at 01:58:48PM +0100, Andreas Lange wrote:
> 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.
Well, please be more details here. What change is required?

> 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).
I have added $(MATHLIB) in
src/display/devices/PNGdriver/Gmakefile
but which order is needed?

> The driver is not installed with make install, must be copied by hand.
Mhh. It was developed from CELL driver.
Does anyone have the "gd lib" as .rpm for Linux? Then I could test it
as well.

> 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.
Hi Eric...

> 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. 
On Linux it is o.k.

> - 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. 
Yes, this color problem was reported from someone else, too.

> 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.
Mhh, nothing was changed here except the order of include directories
in make.mid (required for solaris).

> CC                  = gcc
> FC                  = g77
> ## FC = f77 done in CVS?
g77 is checked first now, then f77.

Thanks for your tests, Andreas,

 Markus

---------------------------------------- 
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