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

Help with debian/control Depends: for php4 and php5



I'm working on a package for sitebar where currently the Depends: is --

Depends: libapache2-mod-php4 | php4 (>= 4.1), php4-mysql, apache2 |
httpd, debconf (>= 0.2.26), wwwconfig-common

This works.


Now I'd like to make it depend on either php4 or php5, so I've
attempted the following:

Depends: ${misc:Depends}, php4 (>=4.3) | php5 (>=5.1) |
libapache2-mod-php4 | libapache2-mod-php5, php4-mysql (>=4 .3) |
php5-mysql, apache2 | httpd, debconf (>= 0.5) | debconf-2.0,
wwwconfig-common (>= 0.0.37)

After building the .deb, I try installing it but get this error:

dpkg: dependency problems prevent configuration of sitebar:
 sitebar depends on php4-mysql (>= 4.3) | php5-mysql; however:
 Package php4-mysql is not installed.
 Package php5-mysql is not installed.

I've tried various permutations but haven't hit on it yet.  Would
appreciate any tips.

Thanks,
Kevin

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941  http://rustybear.com/publickey



Reply to: