Re: libapr1 dependency
Hi,
On Thursday 14 October 2010, Massimo Manghi wrote:
> The problem has to do more with my (still) vast ignorance in the
> Debian packaging tools. I'm going to write the following line as
> Build-Depends for the package:
>
> Build-Depends: tcl8.5-dev, apache2-prefork-dev, debhelper (>=
> 7.0.50~)
>
> dh_makeshlibs and dh_shlibdeps should be able to automatically
> determine the dependencies for the binary package, provided
> Depends lists the variable ${shlibs:Depends}. The binary package
> Depend looks like this now
>
> Depends: ${shlibs:Depends}, ${misc:Depends}, itcl3
This only works for dependencies on shared objects but not for
dependencies on programs (like apache2). You have to add those
dependencies by hand.
> I'm expecting the build system to determine from
> apache2-prefork-dev that the binary has to depend on
> apache2.2-common and apache2-mpm-prefork.
>
> Do these dependencies look correct or reasonable?
apache2-mpm-itk is also non-threaded and will likely work, too.
Therefore
apache2.2-common, apache2-mpm-prefork | apache2-mpm-itk
would be best.
Cheers,
Stefan
Reply to: