AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题

问题[pecl](server)

Martin Hope
twhitney
Asked: 2021-06-22 15:10:37 +0800 CST

需要添加旧版本的 IUS repo 才能安装特定的 PHP 7.2 包

  • 0

问题:

没有不必要的细节,我有两台几乎相同的服务器。但是,其中一个配置了 yum 存储库,以便可以安装 php 7.2 软件包 imagick 和钠,而另一个则没有。

相同的内核版本:

CentOS Linux release 7.5.1804 (Core)

类似的 PHP 版本:

服务器 A:

PHP 7.2.18 (cli)

服务器 B:

PHP 7.2.20 (cli)

服务器 A:

$ sudo yum search sodium imagick
...
php72u-sodium.x86_64 : Wrapper for the Sodium cryptographic library
php72u-pecl-imagick.x86_64 : Provides a wrapper to the ImageMagick library
...

服务器 B:

$ sudo yum search sodium imagick
[only versions for php 7.3 and 7.4 shown]

我相信这是由于 yum repos 的配置,特别是iusrepo:

服务器 A:

$ sudo yum repolist
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: d36uatko69830t.cloudfront.net
 * epel: iad.mirror.rackspace.com
 * extras: d36uatko69830t.cloudfront.net
 * ius: ius.mirror.constant.com <================ THIS ONE
 * updates: d36uatko69830t.cloudfront.net
...

服务器 B:

$ sudo yum repolist
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: d36uatko69830t.cloudfront.net
 * epel: dl.fedoraproject.org
 * extras: d36uatko69830t.cloudfront.net
 * updates: d36uatko69830t.cloudfront.net
...

所以简而言之,我需要弄清楚如何将服务器 B 配置为具有相同的 IUS 存储库(在相同的版本中,因此它具有可用的 PHP 7.2 包!)

我尝试过的事情

  • 按照他们的说明从头开始安装 IUS 存储库。
  • /etc/yum.repos.d/将完整目录从服务器 A复制到 B,然后运行yum clean all
  • 使用 pecl 手动安装这些模块

但这些尝试都没有奏效。结果:

  • 最新的 IUS 仍然没有这些软件包可用。
  • 似乎没有什么不同(或者可能破坏了 IUS 回购,我现在不记得了)。
  • Pecl 同样没有这些模块的 PHP 7.2 版本。
centos php yum centos7 pecl
  • 1 个回答
  • 114 Views
Martin Hope
ehime
Asked: 2016-08-06 11:43:18 +0800 CST

尝试安装 svn-1.0.2 失败

  • 0

试图弄清楚这个错误发生了什么,以便我们可以成功安装svn-1.0.2

我正在使用命令,echo -e "\n" |pecl install svn-1.0.2

[email protected][/logs/apache]> echo -e "\n" |pecl install svn-1.0.2
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/svn.so' - /usr/lib64/php/modules/svn.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/geoip.so' - /usr/lib64/php/modules/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oauth.so' - /usr/lib64/php/modules/oauth.so: cannot open shared object file: No such file or directory in Unknown on line 0
downloading svn-1.0.2.tgz ...
Starting to download svn-1.0.2.tgz (25,226 bytes)
.........done: 25,226 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
Please provide the prefix of Subversion installation [autodetect] : Please provide the prefix of the APR installation used with Subversion [autodetect] : building in /var/tmp/pear-build-roota11OW6/svn-1.0.2
running: /var/tmp/svn/configure --with-svn --with-svn-apr
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for svn support... yes, shared
checking for specifying the location of apr for svn... yes, shared
checking for svn includes... Found libsvn 1.7.4
checking for apr and apr-util... Found apr 1.4.6
libsvn includes: "-I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"
libsvn ldflags: "-lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -L/usr/lib64 -lapr-1"
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1966080
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /var/tmp/pear-build-roota11OW6/svn-1.0.2/libtool --mode=compile cc -I/usr/include/subversion-1  -I/usr/include/apr-1  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/svn -DPHP_ATOM_INC -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/include -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/main -I/var/tmp/svn -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -DHAVE_CONFIG_H  -g -O2   -c /var/tmp/svn/svn.c -o svn.lo
libtool: compile:  cc -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I. -I/var/tmp/svn -DPHP_ATOM_INC -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/include -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/main -I/var/tmp/svn -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -c /var/tmp/svn/svn.c  -fPIC -DPIC -o .libs/svn.o
/var/tmp/svn/svn.c: In function ‘init_svn_client’:
/var/tmp/svn/svn.c:354: warning: ‘svn_client_get_simple_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:151)
/var/tmp/svn/svn.c:357: warning: ‘svn_client_get_username_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:198)
/var/tmp/svn/svn.c:360: warning: ‘svn_client_get_ssl_server_trust_prompt_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:265)
/var/tmp/svn/svn.c:364: warning: ‘svn_client_get_ssl_server_trust_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:214)
/var/tmp/svn/svn.c:367: warning: ‘svn_client_get_ssl_client_cert_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:231)
/var/tmp/svn/svn.c:370: warning: ‘svn_client_get_ssl_client_cert_pw_file_provider’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:248)
/var/tmp/svn/svn.c: In function ‘zif_svn_config_ensure’:
/var/tmp/svn/svn.c:454: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_import’:
/var/tmp/svn/svn.c:495: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:497: warning: ‘svn_client_import’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1885)
/var/tmp/svn/svn.c: In function ‘zif_svn_checkout’:
/var/tmp/svn/svn.c:741: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:742: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:753: warning: ‘svn_client_checkout2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1147)
/var/tmp/svn/svn.c: In function ‘zif_svn_cat’:
/var/tmp/svn/svn.c:825: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_ls’:
/var/tmp/svn/svn.c:895: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:906: warning: ‘svn_client_ls2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4936)
/var/tmp/svn/svn.c: In function ‘zif_svn_log’:
/var/tmp/svn/svn.c:1112: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1128: warning: ‘svn_client_log3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2500)
/var/tmp/svn/svn.c: In function ‘zif_svn_diff’:
/var/tmp/svn/svn.c:1283: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1284: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1286: warning: ‘svn_client_diff3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2839)
/var/tmp/svn/svn.c: In function ‘zif_svn_cleanup’:
/var/tmp/svn/svn.c:1350: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_revert’:
/var/tmp/svn/svn.c:1391: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1393: warning: ‘svn_client_revert’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3704)
/var/tmp/svn/svn.c: In function ‘zif_svn_resolved’:
/var/tmp/svn/svn.c:1433: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1435: warning: ‘svn_client_resolved’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3728)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_file_contents’:
/var/tmp/svn/svn.c:1650: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_file_length’:
/var/tmp/svn/svn.c:1692: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_node_prop’:
/var/tmp/svn/svn.c:1734: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_node_created_rev’:
/var/tmp/svn/svn.c:1779: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_dir_entries’:
/var/tmp/svn/svn.c:1824: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_check_path’:
/var/tmp/svn/svn.c:1869: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_repos_open’:
/var/tmp/svn/svn.c:1932: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:1934: warning: ‘svn_repos_open’ is deprecated (declared at /usr/include/subversion-1/svn_repos.h:383)
/var/tmp/svn/svn.c: In function ‘zif_svn_info’:
/var/tmp/svn/svn.c:2026: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2047: warning: ‘svn_client_info’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:5508)
/var/tmp/svn/svn.c: In function ‘zif_svn_export’:
/var/tmp/svn/svn.c:2099: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2100: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2111: warning: ‘svn_client_export3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4750)
/var/tmp/svn/svn.c: In function ‘zif_svn_switch’:
/var/tmp/svn/svn.c:2152: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2153: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2161: warning: ‘svn_client_switch’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1440)
/var/tmp/svn/svn.c: In function ‘zif_svn_copy’:
/var/tmp/svn/svn.c:2205: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2206: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2218: warning: ‘svn_client_copy2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:3941)
/var/tmp/svn/svn.c: In function ‘zif_svn_blame’:
/var/tmp/svn/svn.c:2318: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2339: warning: ‘svn_client_blame2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2670)
/var/tmp/svn/svn.c: In function ‘zif_svn_delete’:
/var/tmp/svn/svn.c:2386: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2388: warning: assignment discards qualifiers from pointer target type
/var/tmp/svn/svn.c:2390: warning: ‘svn_client_delete2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1735)
/var/tmp/svn/svn.c: In function ‘zif_svn_mkdir’:
/var/tmp/svn/svn.c:2459: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2461: warning: ‘svn_client_mkdir2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1630)
/var/tmp/svn/svn.c: In function ‘zif_svn_move’:
/var/tmp/svn/svn.c:2528: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2529: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2531: warning: ‘svn_client_move3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4113)
/var/tmp/svn/svn.c: In function ‘zif_svn_proplist’:
/var/tmp/svn/svn.c:2591: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2602: warning: ‘svn_client_proplist2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4590)
/var/tmp/svn/svn.c:2630: warning: ‘svn_path_local_style’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:82)
/var/tmp/svn/svn.c:2630: warning: ‘svn_path_local_style’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:82)
/var/tmp/svn/svn.c: In function ‘zif_svn_propget’:
/var/tmp/svn/svn.c:2673: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2684: warning: ‘svn_client_propget2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:4484)
/var/tmp/svn/svn.c:2706: warning: ‘svn_path_local_style’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:82)
/var/tmp/svn/svn.c:2706: warning: ‘svn_path_local_style’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:82)
/var/tmp/svn/svn.c: In function ‘zif_svn_repos_create’:
/var/tmp/svn/svn.c:2750: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_repos_recover’:
/var/tmp/svn/svn.c:2795: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2797: warning: ‘svn_repos_recover2’ is deprecated (declared at /usr/include/subversion-1/svn_repos.h:614)
/var/tmp/svn/svn.c: In function ‘zif_svn_repos_hotcopy’:
/var/tmp/svn/svn.c:2835: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2836: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_commit’:
/var/tmp/svn/svn.c:2916: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:2925: warning: ‘svn_client_commit3’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2018)
/var/tmp/svn/svn.c: In function ‘zif_svn_lock’:
/var/tmp/svn/svn.c:2985: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_unlock’:
/var/tmp/svn/svn.c:3036: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_add’:
/var/tmp/svn/svn.c:3087: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3089: warning: ‘svn_client_add2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1535)
/var/tmp/svn/svn.c: In function ‘zif_svn_status’:
/var/tmp/svn/svn.c:3193: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3198: warning: ‘svn_client_status2’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:2364)
/var/tmp/svn/svn.c: In function ‘zif_svn_update’:
/var/tmp/svn/svn.c:3257: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3262: warning: ‘svn_client_update’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1315)
/var/tmp/svn/svn.c: In function ‘zif_svn_repos_fs_begin_txn_for_commit’:
/var/tmp/svn/svn.c:3330: warning: ‘svn_repos_fs_begin_txn_for_commit’ is deprecated (declared at /usr/include/subversion-1/svn_repos.h:1920)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_make_file’:
/var/tmp/svn/svn.c:3437: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_make_dir’:
/var/tmp/svn/svn.c:3475: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_apply_text’:
/var/tmp/svn/svn.c:3516: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_copy’:
/var/tmp/svn/svn.c:3564: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3565: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_delete’:
/var/tmp/svn/svn.c:3604: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_is_file’:
/var/tmp/svn/svn.c:3681: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_is_dir’:
/var/tmp/svn/svn.c:3720: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_change_node_prop’:
/var/tmp/svn/svn.c:3760: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_contents_changed’:
/var/tmp/svn/svn.c:3811: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3812: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c: In function ‘zif_svn_fs_props_changed’:
/var/tmp/svn/svn.c:3859: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/var/tmp/svn/svn.c:3860: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282)
/bin/sh /var/tmp/pear-build-roota11OW6/svn-1.0.2/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/include -I/var/tmp/pear-build-roota11OW6/svn-1.0.2/main -I/var/tmp/svn -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  -DHAVE_CONFIG_H  -g -O2   -o svn.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-roota11OW6/svn-1.0.2/modules  svn.lo -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lsvn_client-1 -lsvn_fs-1 -lsvn_repos-1 -lsvn_subr-1 -lapr-1
/bin/grep: /usr/lib64/libneon.la: No such file or directory
/bin/sed: can't read /usr/lib64/libneon.la: No such file or directory
libtool: link: `/usr/lib64/libneon.la' is not a valid libtool archive
make: *** [svn.la] Error 1
ERROR: `make' failed
svn make pecl
  • 2 个回答
  • 362 Views
Martin Hope
Lord Grosse Jeanine
Asked: 2016-05-20 04:39:47 +0800 CST

在特定 PHP 版本上安装 MongoDB 扩展

  • 3

我有一个 Debian Web 服务器,我在 ISPConfig 3 周围安装了 Apache/Mysql/PHP5。我手动安装了一个附加的 PHP 版本(PHP 7.0.5),以便在 PHP 5 上拥有一个网站,在 PHP 7 上拥有一个网站,并且一切正常。(我使用以下教程安装 PHP 7:https ://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ )

现在我想安装新的 MongoDB 驱动程序(PHP 7 友好),以便它可以与我的 PHP 7 网站一起使用(我的旧版驱动程序适用于 PHP 5)。

为此,我使用pecl install mongodb并添加extension=mongodb.so到 PHP 7ini文件中。安装正常,但是当我检查 PHP 7 上的扩展状态时,它告诉我扩展未加载。

原因似乎是安装在 PHP 5 版本而不是 PHP 7 上的 MongoDB 驱动程序。

如何告诉 MongoDB 驱动程序使用 PECL 安装在 PHP 7 版本上(或者可能是另一种安装方式)?

mongodb php7 pecl
  • 2 个回答
  • 3688 Views
Martin Hope
kwoxer
Asked: 2016-05-09 11:35:26 +0800 CST

pecl install pecl_http 失败 - 升级到 php7 和 http.so 会出现问题

  • 1

类似问题:pecl_http 加载失败

所以我想升级到PHP7.0,我相信一切都很好。但我认为我错过了一些页面包,因为我无法登录到 my ownCloud。所以我想安装pecl_http:

pecl install pecl_http
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/http.so' - /usr/lib/php/20151012/http.so: cannot open shared object file: No such file or directory in Unknown on line 0
downloading pecl_http-3.0.1.tgz ...
Starting to download pecl_http-3.0.1.tgz (197,372 bytes)
.............done: 197,372 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
where to find zlib [/usr] :
where to find libcurl [/usr] :
where to find libevent [/usr] :
where to find libidn [/usr] :
building in /tmp/pear/temp/pear-build-root0suVKL/pecl_http-3.0.1
running: /tmp/pear/temp/pecl_http/configure --with-php-config=/usr/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libidn-dir=/usr
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20151012
checking for PHP installed headers prefix... /usr/include/php/20151012
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking whether to enable extended HTTP support... yes, shared
checking for egrep... (cached) /bin/grep -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for mbstate_t... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for gethostname... yes
checking for getdomainname... yes
checking for mbrtowc... yes
checking for mbtowc... yes
checking for iswalnum... yes
checking for inet_pton... yes
checking for idna.h... found in /usr
checking for libidn version... 0.26
checking for zlib.h... found in /usr
checking for zlib version >= 1.2.0.4... 1.2.8
checking for curl/curl.h... found in /usr
checking for curl-config... found: /usr/bin/curl-config
checking for curl version >= 7.18.2... 7.35.0
checking for HTTP2 support in libcurl... no
checking for SSL support in libcurl... yes
checking for OpenSSL support in libcurl... no
checking for GnuTLS support in libcurl... yes
checking gnutls.h usability... no
checking gnutls.h presence... no
checking for gnutls.h... no
checking for NSS support in libcurl... no
checking for SecureTransport support in libcurl... no
checking for GSKit support in libcurl... no
checking for ares support in libcurl... no
checking whether CURLOPT_TLSAUTH_TYPE expects CURL_TLSAUTH_SRP or literal "SRP"... "SRP"
checking for bundled SSL CA info... /etc/ssl/certs/ca-certificates.crt
checking for event2/event.h... not found
configure: WARNING: continuing without libevent support
checking for ext/raphf support... PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/http.so' - /usr/lib/php/20151012/http.so: cannot open shared object file: No such file or directory in Unknown on line 0
no
configure: error: Please install pecl/raphf and activate extension=raphf.so in your php.ini
ERROR: `/tmp/pear/temp/pecl_http/configure --with-php-config=/usr/bin/php-config --with-http-zlib-dir=/usr --with-http-libcurl-dir=/usr --with-http-libevent-dir=/usr --with-http-libidn-dir=/usr' failed

我不知道有什么/usr/lib/php/20151012/http.so好处。首先,我应该是这样的:

PHP 警告:PHP 启动:无法加载动态库 '.../http.so' - .../http.so:无法打开共享对象文件:第 0 行的未知中没有此类文件或目录

之后我只是删除了它,至少它说它不存在。好吧……那我现在能做什么。出了什么问题?如何重新创建该 http.so 文件?

顺便说一句:* 已经尝试安装旧版本,同样的错误

php nginx php7 pecl
  • 2 个回答
  • 5117 Views
Martin Hope
cchiera
Asked: 2012-10-08 09:18:01 +0800 CST

在 DV 上安装 PECL 扩展错误

  • 0

我正在按照以下说明在 Media Temple DV 4 上安装 PECL 扩展:http ://wiki.mediatemple.net/w/(dv):Install_PECL_extensions 。

运行时:

pecl install uploadprogress

它说:

pecl 安装上传进度
正在下载 uploadprogress-1.0.3.1.tgz ...
开始下载 uploadprogress-1.0.3.1.tgz(9,040 字节)
.....完成:9,040 字节
4个源文件,构建
运行:phpize
配置:
PHP API 版本:20090626
Zend 模块 API 编号:20090626
Zend 扩展 API 号:220090626
在 /var/tmp/pear-build-root/uploadprogress-1.0.3.1 中构建
运行:/root/tmp/pear/temp/uploadprogress/configure
检查 egrep ... grep -E
检查不截断输出的 sed.../bin/sed
检查抄送...抄送
检查 C 编译器默认输出文件名... a.out
检查 C 编译器是否工作...配置:错误:无法运行 C 编译程序。
如果您打算交叉编译,请使用 `--host'。
有关详细信息,请参阅“config.log”。
错误:`/root/tmp/pear/temp/uploadprogress/configure' 失败

有谁知道为什么它不起作用以及如何解决它?谢谢!

PS 我尝试了从源代码编译选项,但也失败了,并说:

phpize && ./configure -with-php-config=/usr/bin/php-config
无法找到 config.m4。
确保在模块的顶级源目录中运行“/usr/bin/phpize”

请注意,我不知道 config.log 位于何处以便能够在其中查找更多信息。

[已解决] 白色的 PECL 安装从未工作,这里没有人能找到答案,一旦我意识到我在配置之前没有 cd 到正确的目录,我最终能够从源代码编译。

pecl
  • 1 个回答
  • 1073 Views
Martin Hope
kavisiegel
Asked: 2012-07-12 22:13:14 +0800 CST

pecl install mongo - 继续使用错误的模块 API 进行编译

  • 9

在此处使用 Ubuntu 12.04、nginx 和 php5-fpm

我让 mongo 在 php 5.3 上运行良好,然后我添加了 ondrej/php5 ppa 并更新到 php5.4。它保留了 GD 和 CURL 扩展,但没有保留 mongo。我将该行重新添加到 php.ini 文件中,但什么也没有。然后我启用了启动错误并得到了这个:

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/mongo.so' - /usr/lib/php5/20100525/mongo.so: cannot open shared object file: No such file or directory

所以,大胆猜测,我做find -name 'mongo.so'了并将文件从 20090626/ 移动到 20100525/ ...这导致了这个错误:

PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match

然后我做了pecl uninstall mongo并且pecl install mongo- 它在 20090626/ 中创建了新的 mongo.so 文件

我对这一切有点陌生所以希望这是一个容易修复的盲目错误!我只需要让 mongo 恢复运行。

php5 php-fpm mongodb pecl
  • 2 个回答
  • 8895 Views
Martin Hope
Tegan Snyder
Asked: 2012-06-29 12:28:57 +0800 CST

pecl_http 扩展未加载

  • 1

出于某种原因,pecl_http 扩展没有出现在我的 test.php 文件中,其中包含:

<?php phpinfo(); ?>

我刚刚安装了 pecl_http 使用:

pecl 安装 pecl_http

安装成功,我通过运行验证了它:

名单

Installed packages, channel pecl.php.net:
=========================================
Package   Version State
mongo     1.2.10  stable
pecl_http 1.7.4   stable

然后我使用以下方法找到了我的 php.ini 文件:

PHP-我 | grep '配置文件'

Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini

我在 vim 中编辑它并添加:

扩展名=http.so

最后我重新启动了 Nginx 和 PHP-FastCGI:

/etc/init.d/nginx restart
/etc/init.d/php-fastcgi stop
/etc/init.d/php-fastcgi start

我的 PHP extension_dir 是:

/usr/lib/php5/20090626

我确认“http.so”位于该目录中。

任何想法为什么它没有加载?

我的机器在 Linode 上运行 Ubuntu 10.04 LTS 64 位配置文件。我安装的唯一其他扩展是 New Relic 和 Mongo。

谢谢!

php nginx linode pecl
  • 3 个回答
  • 9565 Views
Martin Hope
apache
Asked: 2010-04-15 07:57:43 +0800 CST

在不从 linux 中的源代码重新编译的情况下向 PHP 添加扩展的步骤是什么?

  • 0

听说PECL可以做这个工作,

有人可以提供一个你好世界的演示吗?

php installation pecl
  • 1 个回答
  • 84 Views
Martin Hope
Alistair Prestidge
Asked: 2010-04-13 09:03:31 +0800 CST

pecl-ssh2-0.11 Freebsd 升级到 php 5.3.2 后编译错误

  • 0

嗨,我整天都在寻找答案,但找不到任何东西可以解决我的问题。

我还遇到了关于 serverfault 上的这个端口的问题,我刚刚回答了这个问题,希望能对其他人有所帮助。

但是我的问题是这个。

在 /usr/ports/security/pecl-ssh2 中运行“make”时

我收到这个错误

===> 为 pecl-ssh2-0.11 构建
/bin/sh /usr/ports/security/pecl-ssh2/work/ssh2-0.11/libtool --mode=compile cc -I. -I/usr/ports/security/pecl-ssh2/work/ssh2-0.11 -DPHP_ATOM_INC -I/usr/ports/security/pecl-ssh2/work/ssh2-0.11/include -I/usr/ports/security/pecl -ssh2/work/ssh2-0.11/main -I/usr/ports/security/pecl-ssh2/work/ssh2-0.11 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date /lib -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2 .c -o ssh2.lo
 抄送-I。-I/usr/ports/security/pecl-ssh2/work/ssh2-0.11 -DPHP_ATOM_INC -I/usr/ports/security/pecl-ssh2/work/ssh2-0.11/include -I/usr/ports/security/pecl -ssh2/work/ssh2-0.11/main -I/usr/ports/security/pecl-ssh2/work/ssh2-0.11 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date /lib -I/usr/local/include -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2 .c -fPIC -DPIC -o .libs/ssh2.o
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:在函数“zif_ssh2_methods_negotiated”中:
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:502:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:503:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:507:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:508:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:509:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:510:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:515:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:516:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:517:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:518:警告:传递'add_assoc_string_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:在函数'zif_ssh2_poll'中:
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:891:错误:“zval”没有名为“is_ref”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:891:错误:“zval”没有名为“refcount”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:901:错误:“zval”没有名为“is_ref”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:902:错误:“zval”没有名为“refcount”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:在函数'zif_ssh2_publickey_add'中:
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:1011:错误:“zval”没有名为“is_ref”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:1012:错误:“zval”没有名为“refcount”的成员
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:1044:警告:传递'_efree'的参数1会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:在函数'zif_ssh2_publickey_list'中:
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:1103:警告:传递'add_assoc_stringl_ex'的参数4会丢弃指针目标类型的限定符
/usr/ports/security/pecl-ssh2/work/ssh2-0.11/ssh2.c:1104:警告:传递'add_assoc_stringl_ex'的参数4会丢弃指针目标类型的限定符
*** 错误代码 1

在 /usr/ports/security/pecl-ssh2/work/ssh2-0.11 中停止。
*** 错误代码 1

在 /usr/ports/security/pecl-ssh2 中停止。

从 php 5.2.12 升级到周末在 freebsd 上发布的 php 5.3.2 后,我试图重新编译这个端口。

我已经没有想法和精力了,所以如果有人对这可能是什么有任何想法,我将不胜感激。

php ssh port freebsd pecl
  • 2 个回答
  • 1388 Views
Martin Hope
thedp
Asked: 2010-02-10 12:45:56 +0800 CST

使用 pecl 安装 SVN 扩展时出错

  • 3

我正在尝试安装以下 PHP 扩展: http: //php.net/manual/en/book.svn.php 但是当我这样做时,pecl install svn-beta我收到一条错误消息,它无法找到该svn_client.h文件。我搜索了网络,但找不到任何有用的关于此错误的参考。

谢谢您的帮助。

安装结果:

root@myUbuntu:/home/thedp# pecl install svn-beta
downloading svn-0.5.1.tgz ...
Starting to download svn-0.5.1.tgz (23,563 bytes)
.....done: 23,563 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
 1. Please provide the prefix of Subversion installation : autodetect

1-1, 'all', 'abort', or Enter to continue: 
 1. Please provide the prefix of the APR installation used with Subversion : autodetect

1-1, 'all', 'abort', or Enter to continue: 
building in /var/tmp/pear-build-root/svn-0.5.1
running: /tmp/pear/temp/svn/configure --with-svn --with-svn-apr
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
checking for PHP extension directory... /usr/lib/php5/20060613+lfs
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... no
configure: WARNING: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for svn support... yes, shared
checking for specifying the location of apr for svn... yes, shared
checking for svn includes... configure: error: failed to find svn_client.h
ERROR: `/tmp/pear/temp/svn/configure --with-svn --with-svn-apr' failed
php svn pecl
  • 2 个回答
  • 1300 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve