Bug #76621 [Com]: phar compilation failed
| From: | mail at surjitsidhu dot com | Date: | Sat, 14 Jul 2018 06:39:16 +0000 |
| Subject: | Bug #76621 [Com]: phar compilation failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216315@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
Comment by: mail at surjitsidhu dot com
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:
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"
Previous Comments:
------------------------------------------------------------------------
[2018-07-14 06:34:01] requinix@php.net
It seems OpenSSL 1.1.0 has source changes making it incompatible. Try 1.0.2 or 0.9.8.
https://www.openssl.org/source/
------------------------------------------------------------------------
[2018-07-14 06:22:29] mail at surjitsidhu dot com
OpenSSL 1.1.0g 2 Nov 2017
is installed
------------------------------------------------------------------------
[2018-07-14 06:05:30] requinix@php.net
PHP 5.6 is no longer supported.
Are you compiling against OpenSSL >= 0.9.8 as mentioned in the documentation?
http://php.net/manual/en/openssl.requirements.php
------------------------------------------------------------------------
[2018-07-14 05:50:31] mail at surjitsidhu dot com
Description:
------------
niguruma -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/phar/util.c -o ext/phar/util.lo
/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c: In function
âphar_verify_signatureâ:
/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c:1534:15: error: storage size of
âmd_ctxâ isnât known
EVP_MD_CTX md_ctx;
^~~~~~
/home/zeslev2-sources/scl-php56/SOURCES/php-5.6.36/ext/phar/util.c:1633:5: warning: implicit
declaration of function âEVP_MD_CTX_cleanupâ; did you mean âEVP_MD_CTX_createâ?
[-Wimplicit-function-declaration]
EVP_MD_CTX_cleanup(&md_ctx);
^~~~~~~~~~~~~~~~~~
EVP_MD_CTX_create
root@ubuntu:/home/scripts# Makefile:1684: recipe for target 'ext/phar/util.lo' failed
make: *** [ext/phar/util.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76621&edit=1