[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dependencies of a library-dev package



Thomas Koch wrote:
> Hi,
> 
> I'm packaging a program which needs libgearman-dev to build. 
> The libgearman source includes event.h, but the libgearman-dev package does 
> not depend on libevent.
> Should my program build-depend on libevent-dev or is it the responsibility of 
> libgearman-dev to depend on libevent-dev?
> 
> Is it a bug or not?

If the header files in libgearman-dev do include event.h, the libgearman-dev
should have a dependency on libevent-dev. If not, it's indeed a bug in
libgearman-dev.

Another good way to check the dependencies of dev package is to inspect its
pkg-config file, if it ships one.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: