Bug #76621 [Nab]: phar compilation failed

From: Date: Sat, 14 Jul 2018 07:58:12 +0000
Subject: Bug #76621 [Nab]: phar compilation failed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216320@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76621&edit=1 ID: 76621 Updated by: requinix@php.net Reported by: mail at surjitsidhu dot com Summary: phar compilation failed Status: Not a bug Type: Bug Package: Compile Failure Operating System: Ubuntu 18.04 PHP Version: 5.6.36 Block user comment: N Private report: N New Comment: Then 1.0.2 is not compatible either. Use 0.9.8. Previous Comments: ------------------------------------------------------------------------ [2018-07-14 07:52:15] mail at surjitsidhu dot com OpenSSL 1.0.2o 27 Mar 2018 2-sources/scl-php56/SOURCES/php-5.6.36/ext/mbstring/oniguruma -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/mbstring/libmbfl -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/mbstring/libmbfl/mbfl -I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/tidy -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/zip/lib -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/TSRM -I/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/Zend -I/usr/include -g -O2 -fvisibility=hidden -prefer-pic -c /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/ftp/php_ftp.c -o ext/ftp/php_ftp.lo In file included from /usr/include/openssl/evp.h:66:0, from /usr/include/openssl/x509.h:73, from /usr/include/openssl/ssl.h:156, from /home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/ftp/php_ftp.c:33: /usr/include/x86_64-linux-gnu/openssl/opensslconf.h:18:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported # error OPENSSL_ALGORITHM_DEFINES no longer supported ^~~~~ root@ubuntu:/home/scripts# Makefile:934: recipe for target 'ext/ftp/php_ftp.lo' failed make: *** [ext/ftp/php_ftp.lo] Error 1 ------------------------------------------------------------------------ [2018-07-14 07:03:42] requinix@php.net If you're running PHP's ./configure then use the --with-openssl option. ------------------------------------------------------------------------ [2018-07-14 06:51:43] mail at surjitsidhu dot com Yes, I will do older version, but How to set path so php can find newly complied openssl ------------------------------------------------------------------------ [2018-07-14 06:47:12] requinix@php.net You cannot use Ubuntu 18.04's OpenSSL, so you will need to download an older compatible version and set paths accordingly. ------------------------------------------------------------------------ [2018-07-14 06:39:14] mail at surjitsidhu dot com what are the standard include and lib for openssl should i set e.g did for BerkeleyDB.5.3 as below export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.5.3/include" export BDB_LIB_PATH="/usr/local/BerkeleyDB.5.3/lib" ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76621 -- Edit this bug report at https://bugs.php.net/bug.php?id=76621&edit=1

« previous php.bugs (#216320) next »