相关疑难解决方法(0)

Xcode目前无法从软件更新服务器获得

更新到OS X 10.9后,我的macport出现问题.

我尝试按照本手册https://trac.macports.org/wiki/Migration修复它们.

但是当我安装命令行工具时:

xcode-select --install

我得到消息

无法安装软件,因为软件更新服务器当前无法使用该软件.

同时我成功将我的其他机器更新为OS X 10.9.和安装的命令行工具没有问题,所以它们必须可用.

这里有什么问题?

macos xcode macports osx-mavericks

140
推荐指数
9
解决办法
8万
查看次数

尝试安装pecl扩展时,mac os x 10.7.3上的$ PHP_AUTOCONF错误

我正在尝试使用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)

php macos installation autoconf pecl

107
推荐指数
4
解决办法
9万
查看次数

在AMPPS上启用Xdebug的问题

我正在尝试在我的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 ..?

php xdebug ampps

3
推荐指数
1
解决办法
1460
查看次数

标签 统计

macos ×2

php ×2

ampps ×1

autoconf ×1

installation ×1

macports ×1

osx-mavericks ×1

pecl ×1

xcode ×1

xdebug ×1