旧安装已损坏。我尝试用pecl upgrade svn重新安装/升级,得到这个错误
/tmp/pear/temp/svn/svn.c: In function ' zif_svn_fs_contents_changed ':/tmp/pear/temp/svn/svn.c:3746: warning: ' svn_path_canonicalize ' is deprecated(声明>/tmp/pear/temp/svn/svn.c:3747: warning: ' svn_path_canonicalize ' is deprecated(声明>/usr/include/subversion-1/svn_path.h:282)/tmp/pear/temp/svn/svn.c:在function ' zif_svn_fs_props_changed '中:/tmp/pear/temp/svn/svn.c:3794:警告:' svn_path_canonicalize '已弃用(在/usr/include/subversion-1/svn_path.h:282声明)/tmp/pear/temp/svn/svn.c:3795:警告:' svn_path_canonicalize '已弃用(在/usr/include/subversion-1/svn_path.h:282声明)Make: * [svn. com][qh] [qh错误:"make"失败我找不到beta或svm/git构建的开发人员区域http://pecl.php.net/package/svn
这个问题已经提交了一个bug报告:
https://bugs.php.net/bug.php?id=60767我5年后才遇到这个问题…
在phpize
和./configure
之后,用文本编辑器编辑生成的Makefile
文件。
更改
CFLAGS = -g -O2
CFLAGS = -g -O2 -std=c99
现在make
和make install
应该成功完成了