Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#55205 closed defect (invalid)

php-apache2handler: apxs: No such file or directory

Reported by: BjarneDMat Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm seeing this for both

php55-apache2handler
php71-apache2handler

MacPro: root# port -f clean --all  php71-apache2handler
--->  Cleaning php71-apache2handler
MacPro: root# port upgrade php71-apache2handler
--->  Computing dependencies for php71-apache2handler
--->  Fetching distfiles for php71-apache2handler
--->  Attempting to fetch php-7.1.11.tar.xz from http://pl.php.net/get/php-7.1.11.tar.xz/from/this/mirror?dummy= 
--->  Verifying checksums for php71-apache2handler
--->  Extracting php71-apache2handler
--->  Applying patches to php71-apache2handler
--->  Configuring php71-apache2handler
Error: Failed to configure php71-apache2handler, consult /macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php71-apache2handler/work/php-7.1.11/config.log
Error: Failed to configure php71-apache2handler: configure failure: command execution failed
Error: See /macports/var/macports/logs/_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php71-apache2handler/main.log for details.

Attachments (1)

main.log (15.6 KB) - added by BjarneDMat 7 years ago.
php71-apache2handler/main.log

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by BjarneDMat

Attachment: main.log added

php71-apache2handler/main.log

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: set to ryandesign
Status: newassigned
Summary: configure error in php apache2handlerphp-apache2handler: apxs: No such file or directory

Could you show me the output of:

port -v installed apache2
port -q contents apache2 | grep apxs

comment:2 Changed 7 years ago by BjarneDMat

MacPro:~ root#  port -v installed apache2
The following ports are currently installed:
  apache2 @2.4.23_0+preforkmpm (active) platform='darwin 16' archs='x86_64' date='2016-10-09T12:45:42+0200'
MacPro:~ root#  port -q contents apache2 | grep apxs
  /macports/apache2/bin/apxs
  /macports/apache2/manual/programs/apxs.html
  /macports/apache2/manual/programs/apxs.html.en
  /macports/apache2/manual/programs/apxs.html.fr
  /macports/apache2/manual/programs/apxs.html.ko.euc-kr
  /macports/apache2/manual/programs/apxs.html.tr.utf8
  /macports/share/man/man1/apxs.1.gz

comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Resolution: invalid
Status: assignedclosed

Ok, looks like you're using a custom version of the apache2 port that you installed last year. Please delete whatever custom apache2 portfile you are using and upgrade to our version, which should look more like this:

$ port -v installed apache2
The following ports are currently installed:
  apache2 @2.4.29_0+preforkmpm (active) platform='darwin 16' archs='x86_64' date='2017-10-24T03:43:34-0500'
$ port -q contents apache2 | grep apxs
  /opt/local/bin/apxs
  /opt/local/share/apache2/man1/apxs.1
  /opt/local/www/apache2/manual/programs/apxs.html
  /opt/local/www/apache2/manual/programs/apxs.html.en
  /opt/local/www/apache2/manual/programs/apxs.html.fr
  /opt/local/www/apache2/manual/programs/apxs.html.ko.euc-kr
  /opt/local/www/apache2/manual/programs/apxs.html.tr.utf8

comment:4 Changed 7 years ago by BjarneDMat

What's wondering me is, that it's been working !perfectly! up to and including php 7.1.10 and only fails now ?!?

comment:5 Changed 7 years ago by BjarneDMat

OK - found out what's happening :

1) you've pulled apache2 into the mtree
2) you've updated the paths in php apache2handler to reflect this

Note: See TracTickets for help on using tickets.