pecl 安装 swoole 失败 提示 You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1.11

linux

sudo pecl install swoole 提示

running: make
/bin/bash /tmp/pear/temp/pear-build-rootHZoZeZ/swoole-2.2.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/swoole -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootHZoZeZ/swoole-2.2.0/include -I/tmp/pear/temp/pear-build-rootHZoZeZ/swoole-2.2.0/main -I/tmp/pear/temp/swoole -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -I/tmp/pear/temp/swoole -I/tmp/pear/temp/swoole/include  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /tmp/pear/temp/swoole/swoole.c -o swoole.lo


libtool: Version mismatch error.  This is libtool 2.4.2 Debian-2.4.2-1.11, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: **You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1.11**
libtool: and run autoconf again.
Makefile:194: recipe for target 'swoole.lo' failed
make: *** [swoole.lo] Error 63
ERROR: `make' failed

google 了一圈,未找到解决方案

2018-05-25 10:32
0
0

韩天峰 - 关注外星人

赞同来自:

先下载,自行编译,找出错误信息。

pecl download swoole
tar xvf swoole-2.2.0.tar.gz
cd swoole
phpize
./configure
2018-05-25 21:49
0

yesterday

赞同来自:

自行编译也是一样的错误

2018-05-28 10:56
0

yesterday

赞同来自:

➜  swoole-src-4.0.0-alpha ./configure
....
config.status: creating config.h
config.status: executing libtool commands

➜  swoole-src-4.0.0-alpha make
/bin/bash /home/yesterday679/Downloads/swoole-src-4.0.0-alpha/libtool --mode=compile cc  -I. -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha -DPHP_ATOM_INC -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha/include -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha/main -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha/include -I/home/yesterday679/Downloads/swoole-src-4.0.0-alpha/thirdparty/libco  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /home/yesterday679/Downloads/swoole-src-4.0.0-alpha/swoole.c -o swoole.lo 
libtool: Version mismatch error.  This is libtool 2.4.2 Debian-2.4.2-1.11, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1.11
libtool: and run autoconf again.
Makefile:194: recipe for target 'swoole.lo' failed
make: *** [swoole.lo] Error 63


2018-05-28 10:58

要回复问题请先登录注册