0

我正在尝试安装交易者 pecl 扩展程序,但在制作过程中我不断收到错误消息。如果有人可以尝试这个并让我知道他们是否遇到类似的错误或者是否有人知道解决方案。

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

谢谢,

4

1 回答 1

0

它与未正确设置路径有关。我最终使用 phpize 进行编译。我只是手动下载了文件并将其解压缩。

http://php.net/manual/en/install.pecl.phpize.php

-现在开心

于 2012-07-25T14:31:59.623 回答