[GRASS5] Re: compile errors on Linux

GRASS grass at geni.knu.ac.kr
Thu Nov 30 10:04:47 EST 2000


From: Markus Neteler <neteler at geog.uni-hannover.de>
> On Thu, Nov 30, 2000 at 11:11:48PM +0900, GRASS wrote:
> > Hi developers,
> > 
> > I've experienced compilation errors in src/libes/vask and src/libes/gis
> > directories on Linux.
> > I succeeded to compile two modules by adding -DHAVE_TERMIO_H into
> > src/libes/vask/Gmakefile and -DSETPGRP_VOID -DHAVE_TERMIO_H into
> > src/libes/gis/Gmakefile.
> > Where should two macros be defined? I have no clue and my life OS isn't linux
> > :-)
> > Please fix these bugs.
> Hi Cho,
> 
> this is defined in
> src/include/config.h
> 
> neteler at bermuda:~/ggg > grep HAVE_TERMIO src/include/config.h
> #define HAVE_TERMIO_H 1
> #define HAVE_TERMIOS_H 1
> neteler at bermuda:~/ggg > grep SETPGRP_VOID src/include/config.h
> #define SETPGRP_VOID 1
> 
> So the including of "config.h" is required. Please add in the files
> where the error occurs. From "SUBMITTING" (added by Justin this morning):
> "5.  To ensure that the software system continues to work, please include
> 
>         #include "config.h"
> 
>     in your files and make use of the various system dependencies
>     contained therein.  As one example of this, see
>     src/paint/Interface/driverlib/io.c.  Please refrain from declaring
>     system functions within the software; include the proper header files
>     (conditionally dependent on config.h macros if necessary) instead.
> " 
> 
> As you can find out the files affected, may I ask you to add the statement?
> 
Oops! Sorry for that.
configure just exited because opengl was not found. I think that opengl is not
mandatory to run grass. config.h was not generated properly, so my errors
occurred.
What about you?

Regards,
Huidae Cho


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