[bug-notifications] [apache2 0004788]: apache2 is missing perl as dependency

Mantis Bug Tracker noreply at opencsw.org
Wed Sep 7 02:26:26 CEST 2011

The following issue has been CLOSED 
Reported By:                igalic
Assigned To:                bwalton
Project:                    apache2
Issue ID:                   4788
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
Date Submitted:             2011-06-20 18:33 CEST
Last Modified:              2011-09-07 02:26 CEST
Summary:                    apache2 is missing perl as dependency
When trying to install a2_modphp5 on a fresh system I'd get the following

Do you want to continue with the installation of <CSWap2-modphp5> [y,n,?]

Installing ap2_modphp5 - The apache 2.2.x php5 module as <CSWap2-modphp5>

## Installing part 1 of 1.
[ verifying class <none> ]
Modifying /opt/csw/apache2/ap2mod/php5
chroot: exec failed: No such file or directory
pkgadd: ERROR: class action script did not complete successfully
[ verifying class <build> ]
Copying sample config to /opt/csw/apache2/etc/extra/httpd-php5.conf

[ verifying class <cswpreserveconf> ]
## Executing postinstall script.
Adding Include for extra/http-php5.conf to httpd.conf

NOTICE: mod_php5 is enabled in httpd.conf but the server was not
Please examine your php5 configuration and restart apache.

Installation of <CSWap2-modphp5> partially failed.

pkgadd failed with exit code: 2
Exit from pkgutil and fix this issue first (recommended)? ([y],n) 

I've tracked this down to:

root at atvp1uwamp021:~# chroot / /bin/bash
root at atvp1uwamp021:/# cd /
root at atvp1uwamp021:/# exec /opt/csw/apache2/sbin/apxs
bash: /opt/csw/apache2/sbin/apxs: /opt/csw/bin/perl: bad interpreter: No
such file or directory
bash: /opt/csw/apache2/sbin/apxs: Error 0
root at atvp1uwamp021:/# ls -lahrt /opt/csw/bin/perl
/opt/csw/bin/perl: No such file or directory
root at atvp1uwamp021:/# 

 (0009250) bwalton (manager) - 2011-09-07 02:26
Dependencies updated in the release that was just pushed.

More information about the bug-notifications mailing list