Solved php70-openssl error

Hello.
Install php7.0.3
When the installation crashes this error.
How to be?
Code:
root@UUU:/usr/ports/lang/php70-extensions # make reinstall clean
===>  php70-extensions-1.1 depends on file: /usr/local/include/php/main/php.h - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/ctype.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/curl.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/dom.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/filter.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/gd.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/hash.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/iconv.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/json.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/mbstring.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/mcrypt.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/mysqli.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/opcache.so - found
===>  php70-extensions-1.1 depends on file: /usr/local/lib/php/20151012/openssl.so - not found
===>  php70-openssl-7.0.3_1 depends on file: /usr/local/bin/phpize - found
===>  php70-openssl-7.0.3_1 depends on file: /usr/local/bin/autoconf-2.69 - found
===>  php70-openssl-7.0.3_1 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18)
===>  PHPizing for php70-openssl-7.0.3_1
Configuring for:
PHP Api Version:  20151012
Zend Module Api No:  20151012
Zend Extension Api No:  320151012
===>  Configuring for php70-openssl-7.0.3_1
configure: WARNING: unrecognized options: --with-pdo-mysql, --with-zlib-dir
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... amd64-portbld-freebsd10.1
checking host system type... amd64-portbld-freebsd10.1
checking target system type... amd64-portbld-freebsd10.1
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/20151012
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.14.3 (ok)
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for OpenSSL support... yes, shared
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for RAND_egd... yes
test: /usr: unexpected operator
test: no: unexpected operator
checking for pkg-config... /usr/local/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
===>  Script "configure" failed unexpectedly.
Please report the problem to miwi@FreeBSD.org [maintainer] and attach the
"/usr/ports/security/php70-openssl/work/php-7.0.3/ext/openssl/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/security/php70-openssl
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/security/php70-openssl
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/lang/php70-extensions
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/php70-extensions
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/php70-extensions
Code:
# uname -rm
10.1-RELEASE-p27 amd64
 
Back
Top