[csw-users] Question about dependencies
Peter Bonivart
bonivart at opencsw.org
Thu Mar 12 20:04:07 CET 2009
On Thu, Mar 12, 2009 at 7:57 PM, Juergen Arndt <ja at baltic-online.de> wrote:
> Hi all,
>
> I ran into the following situation: I want to package an application which
> depends on PHP. But for PHP exist different packages for different version
> of the Apache web server and of course it is not known, which version the
> end user has running. Additionaly the end user could have installed PHP
> manually or he has a different web server or ... .
>
> So, how could I handle that? Should my package depend on PHP or not? Maybe
> it's ok to print out a short message, that the user has to make sure, that
> PHP is installed and maybe a zlib extension too and so on?
I think you should make a choice of what's the best configuration CSW
can offer. I have some similar packages and I chose to depend on
Apache2 even if it's possible to run on any web server. For most users
that's what they expect to get and the easiest way to get up and
running. An advanced user can always go around the dependencies.
--
/peter
More information about the users
mailing list