[GRASS5] Directed Graph Lib Headers (dglib)
glynn at gclements.plus.com
Mon Feb 13 10:50:27 EST 2006
Radim Blazek wrote:
> > > > > This applies to all header files. We decided to move all GRASS
> > > > > header files to include/grass so that they can be installed on system
> > > > > (e.g. in /usr/local/include) without conflicts.
> > > > > Modules and especially independent applications using GRASS libraries
> > > > > (GDAL/OGR, QGIS) should include grass/xxx.h instead of xxx.h.
> > > >
> > > > I've committed a change to use <grass/xxx.h> throughout.
> > >
> > > Thanks, however include/xxx.h is still used in QGIS and GDAL,
> > > can you reenable the copy in include until those packagges are fixed?
> > If you add a symlink, e.g.
> > ln -s grass /usr/local/grass6/include/grass/grass
> > you can just specify /usr/local/grass6/include/grass as the GRASS
> > includes directory.
> I can, but I am not sure if it is viable also for making packages,
> debian e.g.?
Are you asking about how to get the symlink into the package, or
something else? I'm not familiar with .deb packages, but if it's
essentially an archive (e.g. RPMs are just "wrapped" cpio archives),
it should be able to contain symlinks.
A copy should be unnecessary, and probably a bad idea, as you could
potentially end up with different versions in include and
include/grass (even if this is only a remote possibility, it's the
kind of problem where you could waste several days figuring out what's
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev