Can't build php5-extensions (php_config.h is missing)

Philipp mailinglists at cypresscreek.de
Thu Dec 12 17:12:34 UTC 2013


Hi everyone, I'm trying to build lang/php5-extensions from ports. The
port lang/php5 (php5-5.4.21) is already installed and working fine.

The problem is that php5-extensions with
	
    archivers/php5-bz2
    archivers/php5-zip
    graphics/php5-gd
    sysutils/php5-posix

won't build. The error message is same for all extensions:

/usr/local/include/php/main/php_config.h:2380:28: error:
ext/php_config.h: No such file or directory

Content of /usr/local/include/php/ext/:

date            ereg            libxml          mysqlnd
pcre            spl             standard

Any advices?



More information about the freebsd-ports mailing list