Re: Correctly determining Build-Depends
* Maykel Moya [Sun, 06 Feb 2005 12:32:07 -0400]:
> list of packages. I can add all of their -dev versions to Build-Depends
> but there are already dependencies among then.
> Do exists a tool to automatize this task, I mean, obtain the minor
> subset of packages that resolved (which their respective dependencies)
> to a given a list of packages.
You should ignore dependencies between build-depends completely. That
is, you list what your package needs/uses/#includes, without worrying
about "the minor subset of packages". This way, your package continues
to work even if the dependencies work.
OTOH, the objdump | grep NEEDED output can be misleading, if the
binary was recursively linked against all libraries and their
dependencies. Examining configure.in and compare the list could prove
useful.
HTH,
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Listening to: Placebo - Special Needs
A lie can go round the world before the truth has got its boots on.
-- Terry Pratchett
Reply to: