php4-yaz won't install (broken dependency)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php4-yaz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Dapper |
Fix Released
|
Medium
|
Daniel T Chen |
Bug Description
Binary package hint: php4-yaz
Configuration: Ubuntu 6.06 LTS, LAMP server consisting of apache2, mysql-server-4.1 and php4.
PHP4 extension php4-yaz (needed for a public library management web-app) refuses to install. Here's the output:
root@fujitsu:
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php4-yaz: Depends: phpapi-20020918 but it is not installable
E: Broken packages
Changed in php4-yaz (Ubuntu Dapper): | |
status: | Fix Committed → Fix Released |
Here is a fix for it.
diff -u php4-yaz- 1.0.4/debian/ rules php4-yaz- 1.0.4/debian/ rules 1.0.4/debian/ rules 1.0.4/debian/ rules
--- php4-yaz-
+++ php4-yaz-
@@ -10,7 +10,7 @@
PHPIZE = /usr/bin/phpize
-PHPAPIVERSION := $(shell egrep '\#define PHP_API_VERSION ' /usr/include/ php4/main/ php.h | sed -e 's/\#define PHP_API_VERSION //')
+PHPAPIVERSION := $(shell php-config4 --phpapi)
CFLAGS = -Wall -g