@serkah

Phpbrew не устанавливает ни одну версию?

sergey@sergey-T100TA:/$ phpbrew install php-5.3.10 +default                     
===> phpbrew will now build 5.3.10
PHP 5.3 requires +intl, enabled by default.
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: 816259e5ca7d0a7e943e56a3bb32b17f
===> Distribution file was successfully extracted, skipping...
Found existing Makefile, running make clean to ensure everything will be rebuilt.
You can append --no-clean option after the install command if you don't want to rebuild.
===> Running make clean: /usr/bin/make -C '/home/sergey/.phpbrew/build/php-5.3.10' --quiet 'clean'
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Found existing build.log, renaming it to /home/sergey/.phpbrew/build/php-5.3.10/build.log.1521389618
===> Configuring 5.3.10...


Use tail command to see what's going on:
   $ tail -F /home/sergey/.phpbrew/build/php-5.3.10/build.log


===> Checking patches...
Checking patch for php5.3.29 multi-sapi patch.
Checking patch for php5.3.x on 64bit machine when intl is enabled.
3 changes patched.
Checking patch for openssl dso linking patch
===> Building...
Error: Make failed:
The last 5 lines in the log file:
/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

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


лог последнии строки -
[1mGenerating files[m
not updating unwritable cache /home/sergey/.phpbrew/cache/config.cache
creating ./config.status
creating php5.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE.  By continuing this installation |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+

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
  • Вопрос задан
  • 261 просмотр
Пригласить эксперта
Ваш ответ на вопрос

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

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