更新到OS X 10.9后,我的macport出现问题.
我尝试按照本手册https://trac.macports.org/wiki/Migration修复它们.
但是当我安装命令行工具时:
xcode-select --install
我得到消息
无法安装软件,因为软件更新服务器当前无法使用该软件.
同时我成功将我的其他机器更新为OS X 10.9.和安装的命令行工具没有问题,所以它们必须可用.
这里有什么问题?
我正在尝试使用pecl_http和memcache设置我的机器,在这两种情况下,我都会遇到类似的错误.这是在MAC OS X 10.7.3(狮子)上,我也安装了XCODE.我还在运行这些命令之前安装了Zend Server社区版,并设置了CFLAGS =' - arch i386 -arch x86_64'环境变量.所以请帮助我做我需要做的事情
bash-3.2# **sudo pecl install pecl_http-1.7.1**
downloading pecl_http-1.7.1.tgz ...
Starting to download pecl_http-1.7.1.tgz (174,098 bytes)
.....................................done: 174,098 bytes
71 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
Run Code Online (Sandbox Code Playgroud) 我正在尝试在我的AMPPS上启用Xdebug.我使用过Xdebug并遵循给定的指示:
.
在第6点,我运行make编译xdebug库的命令.然后检查我运行的一切是否顺利make test.我发现了这些错误:
Failed loading ~/Dev/Testing/xdebug-2.2.6/modules/xdebug.so: dlopen(~/Dev/Testing/xdebug-2.2.6/modules/xdebug.so, 9): no suitable image found.
Did find:
~wrong architecture
Failed loading ~/Dev/Testing/xdebug-2.2.6/modules/xdebug.so: dlopen(~/Dev/Testing/xdebug-2.2.6/modules/xdebug.so, 9): no suitable image found.
Did find:
~/Dev/Testing/xdebug-2.2.6/modules/xdebug.so: mach-o, but wrong architecture
Run Code Online (Sandbox Code Playgroud)
我做错了什么......?这是否是安装/启用Xdebug的理想方式....?如果没有任何turorial ..?