@serkah

Php5.3 + phpdrew + make не выполняют рецепты для цели?

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

если ставлю версию php5.3 через phpdrew
получаю -
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

его лог -
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
  • Вопрос задан
  • 407 просмотров
Пригласить эксперта
Ответы на вопрос 1
@TheAthlete
Perl 5, C, C++, компьютерные сети
А какая версия OpenSSL?
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы