The following issue has been SUBMITTED. ====================================================================== https://www.opencsw.org/mantis/view.php?id=4788 ====================================================================== Reported By: igalic Assigned To: ====================================================================== Project: apache2 Issue ID: 4788 Category: packaging Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-06-20 18:33 CEST Last Modified: 2011-06-20 18:33 CEST ====================================================================== Summary: apache2 is missing perl as dependency Description: When trying to install a2_modphp5 on a fresh system I'd get the following error:
Do you want to continue with the installation of <CSWap2-modphp5> [y,n,?] y Installing ap2_modphp5 - The apache 2.2.x php5 module as <CSWap2-modphp5> ## Installing part 1 of 1. /opt/csw/apache2/etc/httpd.conf.bak /opt/csw/apache2/libexec/libphp5.so /opt/csw/share/doc/ap2_modphp5/license [ 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 restarted. 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@atvp1uwamp021:~# chroot / /bin/bash root@atvp1uwamp021:/# cd / root@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@atvp1uwamp021:/# ls -lahrt /opt/csw/bin/perl /opt/csw/bin/perl: No such file or directory root@atvp1uwamp021:/# ====================================================================== _______________________________________________ bug-notifications mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/bug-notifications
