S
S
serkah2018-03-20 02:02:45
ubuntu
serkah, 2018-03-20 02:02:45

Php5.3 + phpdrew + make not executing recipes for target?

If I compile manually I get -

Installing PHP SAPI module:       cgi
Installing PHP CGI binary: /usr/local/bin/
cp: cannot create regular file '/usr/local/bin/#[email protected]#': Permission denied
Makefile:134: ошибка выполнения рецепта для цели «install-sapi»
make: *** [install-sapi] Ошибка 1

if I install php5.3 version via phpdrew
I get -
Makefile:476: ошибка выполнения рецепта для цели «ext/openssl/openssl.lo»

make: *** [ext/openssl/openssl.lo] Ошибка 1

Please checkout the build log file for more details:
         tail /home/sergey/.phpbrew/build/php-5.3.10/build.log

his log is
Thank you for using PHP.

  EVP_MD_CTX md_ctx;
             ^
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c: In function ‘zif_openssl_encrypt’:
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c:4679:17: error: storage size of ‘cipher_ctx’ isn’t known
  EVP_CIPHER_CTX cipher_ctx;
                 ^
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c: In function ‘zif_openssl_decrypt’:
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c:4755:17: error: storage size of ‘cipher_ctx’ isn’t known
  EVP_CIPHER_CTX cipher_ctx;
                 ^
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c: In function ‘zif_openssl_random_pseudo_bytes’:
/home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c:4913:2: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
  if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) {
  ^
In file included from /usr/include/openssl/x509_vfy.h:20:0,
                 from /usr/include/openssl/x509.h:309,
                 from /home/sergey/.phpbrew/build/php-5.3.10/ext/openssl/openssl.c:41:
/usr/include/openssl/rand.h:47:1: note: declared here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^
Makefile:476: ошибка выполнения рецепта для цели «ext/openssl/openssl.lo»
make: *** [ext/openssl/openssl.lo] Ошибка 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TheAthlete, 2018-04-29
@TheAthlete

What version of OpenSSL?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question