[MacPorts] #49546: Updating php56-apache2handler 5.6.14_0 < 5.6.15_0 gives configure error
#49546: Updating php56-apache2handler 5.6.14_0 < 5.6.15_0 gives configure error -------------------------------+---------------------------------- Reporter: murrayeisenberg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: php56-apache2handler -------------------------------+---------------------------------- Just now with MacPorts 2.3.4 under El Capitan 10.11.1, trying to upgrade php56-apache2handler 5.6.14_0 < 5.6.15_0 led to a configure error. The log shows: {{{ :info:configure checking for Apache 2.0 handler-module support via DSO through APXS... :info:configure :info:configure Sorry, I cannot run apxs. Possible reasons follow: :info:configure :info:configure 1. Perl is not installed :info:configure 2. apxs was not found. Try to pass the path using --with- apxs2=/path/to/apxs :info:configure 3. Apache was not built using --enable-so (the apxs usage page is displayed) :info:configure :info:configure The output of /opt/local/apache2/bin/apxs follows: :info:configure ./configure: /opt/local/apache2/bin/apxs: /opt/local/bin/perl: bad interpreter: No such file or directory :info:configure configure: error: Aborting }}} (1) Perl _is_ installed: {{{ sudo port installed | grep perl5 : : perl5 @5.16.3_0+perl5_16 perl5 @5.16.3_0+perl5_20 perl5.12 @5.12.5_0 perl5.16 @5.16.3_1 (active) perl5.18 @5.18.4_1 (active) perl5.20 @5.20.3_0 (active) perl5.22 @5.22.0_0 (active) }}} (2) And apxs is installed and ought to be found: {{{ which apxs /opt/local/apache2/bin/apxs echo $PATH /opt/local/bin: ... /opt/local/apache2/bin }}} Which leaves possible reason (3), "Apache was not built using --enable-so (the apxs usage page is displayed)". I find: {{{ httpd -l Compiled in modules: core.c prefork.c http_core.c mod_so.c }}} So what does "not built using --enable-so" mean and how should this be fixed? Note that after migrating macports from Yosemite to El Capitan, I had no trouble installing the earlier version of php56-apache2handler. The full main.log is attached. -- Ticket URL: <https://trac.macports.org/ticket/49546> MacPorts <https://www.macports.org/> Ports system for OS X
#49546: Updating php56-apache2handler 5.6.14_0 < 5.6.15_0 gives configure error -----------------------------------+-------------------------------- Reporter: murrayeisenberg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: php56-apache2handler | -----------------------------------+-------------------------------- Comment (by murrayeisenberg@…): My error, I forgot the step {{{ sudo port install perl5 +perl5_16 }}} so as to actually have perl5 do anything. thanks to Brian Albert (via MacPorts Users <macports-users@lists.macosforge.org>). -- Ticket URL: <https://trac.macports.org/ticket/49546#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49546: Updating php56-apache2handler 5.6.14_0 < 5.6.15_0 gives configure error -----------------------------------+-------------------------------- Reporter: murrayeisenberg@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: php56-apache2handler | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: php56-apache2handler depends on apache2, which depends on perl5, but you don't have perl5 active. The solution is to activate perl5. P.S: In the future, remember to Cc the maintainer of the port so they (in this case I) see the ticket sooner. -- Ticket URL: <https://trac.macports.org/ticket/49546#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts