Bug#46671: dpkg: /usr/share, and libdpkg issues
On Tue, Oct 05, 1999 at 12:54:02PM -0600, Jason Gunthorpe wrote:
> > dpkg installs dpkg.h in /usr/share/include/dpkg/, which gcc doesn't search
> > by default. /usr/include would seem a more sensible place.
> Eh? Lots of packages do this. The proper way to handle it is to use
> #include <dpkg/dpkg.h>
Just to clarify --- it should be in /usr/include/dpkg, not
> > Finally, and as more of a wishlist item, it'd be nice if the cmpversions()
> > function from main/enquiry.c was included in libdpkg itself. A possible
> > implementation might be:
> You could use the APT library which does export an inteface like this..
(I'm actually using it from Perl, which I assume means C is better than
C++, although I've really no idea, and in any case, going direct to the
source made more sense)
Anthony Towns <firstname.lastname@example.org> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. PGP encrypted mail preferred.
``The thing is: trying to be too generic is EVIL. It's stupid, it
results in slower code, and it results in more bugs.''
-- Linus Torvalds