/usr/ports/lang/php/7.0# env FLAVOR="no_suhosin" SUBPACKAGE="-main" make
install
dies with:
Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using
--with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is
displayed)
The output of /usr/local/sbin/apxs2 follows:
./configure[6896]: /usr/local/sbin/apxs2: not found
configure: error: Aborting
*** Error 127 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2750
'/usr/ports/pobj/php-7.0.2-no_suhosin/.configure_done': @for d in
/usr/por...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1959
'/usr/ports/packages/amd64/all/php-7.0.2p0-no_suhosin.tgz')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2515
'_internal-package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2495
'package')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1976
'/var/db/pkg/php-7.0.2p0-no_suhosin/+CONTENTS')
*** Error 1 in /usr/ports/lang/php/7.0
(/usr/ports/infrastructure/mk/bsd.port.mk:2495 'install')
devin
--
contact info: https://nacredata.com/devin
• Amazing Tie-Dye Tee-shirts: https://www.icedyedesigns.com
• Art/Poetry/Environment: https://secure.extinctionwitness.org/support
• Support progressive climate politics:
https://secure.voteclimatepac.org/donate/
• Forest Protection in Ohio:
https://www.buckeyeforestcouncil.org/donate.php