[GRASS5] GRASS-header-file locations changed?
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
> 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,
I still believe that it is a wrong approach to make compilation of
other packages with GRASS support more difficult than it was before.
> Glynn Clements <glynn at gclements.plus.com>
> grass5 mailing list
> grass5 at grass.itc.it
More information about the grass-dev