[GRASS5] Grass5 on Solaris
Markus Neteler
neteler at geog.uni-hannover.de
Fri Feb 16 04:36:16 EST 2001
On Thu, Feb 15, 2001 at 06:29:54PM -0800, Eric G . Miller wrote:
> On Thu, Feb 15, 2001 at 01:44:01PM -0400, Bob Covill wrote:
> > Markus,
> >
> > You were close. It appears that flate.c was using the wrong config.h
> > header. It was reading one from /usr/local/include, and therefore not
> > getting any defines. If I manaully add the define HAVE_ZLIB_H to
> > flate.c or add the full path to config.h it compiles cleanly.
>
> What the heck puts a config.h in /usr/local/include ? I'd think that
> would break a lot of software builds as config.h is the de facto
> standard name for defining "configure" output.
>
> > The problem should be solvable by ensuring that the first "-I" flag
> > looks in grass/src/include instead of picking other config.h files.
>
> Yes, it should probably always be -I. -I$(SRC)/src/include <whatever>.
This I have seen this idea in other projects, too.
Where to add -I.? In make.mid / CFLAGS=
?
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