我正在尝试安装交易者pecl扩展程序,并且在make期间我一直收到错误。如果有人可以尝试这个并让我知道他们是否收到类似的错误或者是否有人知道解决方案。
pecl install trader-beta
这是输出的一部分。
creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/sh /private/tmp/pear/temp/pear-build-rootpwFTIe/trader-0.2.1/libtool --mode=compile cc -I. -I/private/tmp/pear/temp/trader -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootpwFTIe/trader-0.2.1/include -I/private/tmp/pear/temp/pear-build-rootpwFTIe/trader-0.2.1/main -I/private/tmp/pear/temp/trader -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/private/tmp/pear/temp/trader/ta-lib/include -I/private/tmp/pear/temp/trader/ta-lib/src/ta_common -I/private/tmp/pear/temp/trader/functions -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/trader/ta-lib/src/ta_common/ta_global.c -o ta-lib/src/ta_common/ta_global.lo
/private/tmp/pear/temp/pear-build-rootpwFTIe/trader-0.2.1/libtool: line 1280: ta-lib/src/ta_common/ta_global.loT: No such file or directory
mkdir ta-lib/src/ta_common/.libs
mkdir: ta-lib/src/ta_common: No such file or directory
make: *** [ta-lib/src/ta_common/ta_global.lo] Error 1
ERROR: `make' failed
Merges-iMac:etc mike$ which php
/usr/bin/php
Merges-iMac:etc mike$ php -version
PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
谢谢,
答案 0 :(得分:0)
它与未正确设置的路径有关。我最终使用phpize进行编译。我刚刚手动下载了文件并将其解压缩。
http://php.net/manual/en/install.pecl.phpize.php
-happy now