[GRASS5] Re: compile errors on Linux

Markus Neteler neteler at geog.uni-hannover.de
Thu Nov 30 12:00:39 EST 2000


On Fri, Dec 01, 2000 at 12:04:47AM +0900, GRASS wrote:
> 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?

Yesterday I have updated "configure.in" not to stop. Obviously
Eric has reverted this change.

I agree not to make opengl mandatory to run grass and to modify
the AC_MSG_ERROR to AC_MSG_WARN related to opengl. Otherwise we
will receive many mails from struggling users.
As > 90% of GRASS don't depend on openGL, there is no need to make
the configure stop if openGL is not found.

Until this is hopefully changed, you can use
configure --enable-opengl=no

Yours

 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