[GRASS5] GRASS-header-file locations changed?
Radim Blazek
radim.blazek at gmail.com
Tue Feb 14 03:57:12 EST 2006
On 2/14/06, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Stephan Holl wrote:
>
> > Just compiled GRASS from a fresh CVS-Checkout with success. After
> > that i tried to compile QGIS-SVN with GRASS_support.
> >
> > Then I realized that
> > the include-headers are living in $GRASSINST/include/grass/*.h, but
> > QGIS-configure searches them in $GRASSINST/include/*.h.
> >
> > I checked back with fromer installations of GRASS-CVS and there were
> > $GRASSINST/include/grass/ and $GRASSINST/include/ with nearly the same
> > content.
> > $GRASSINST/include/grass/ has 2 more files, interpf.h and waterglobs.h.
> > $GRASSINST/include/ only has portable.h.
> >
> > Is this the normal behavior or did I miss something?
>
> The duplicates have been removed. GRASS code (including the headers
> themselves) now references headers as <grass/gis.h> etc.
>
> For external packages which haven't been updated yet, create a symlink
> e.g.:
>
> ln -s grass $GRASSINST/include/grass/grass
>
> then tell the configure script that the GRASS headers are in
> $GRASSINST/include/grass rather than in $GRASSINST/include.
The external packages are using --with-grass only,
not --with-grass-includes/libs.
I still believe that it is a wrong approach to make compilation of
other packages with GRASS support more difficult than it was before.
Radim
> --
> Glynn Clements <glynn at gclements.plus.com>
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
>
More information about the grass-dev
mailing list