pecl安装交易失败与丢失的文件-OSX狮子


pecl install trader failes with missing file - OSX Lion

我正在尝试安装trader 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

谢谢,

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

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

-现在很高兴