使用Xcode 4.3在Mac Lion上安装phpMyAdmin的mcrypt

使用Xcode 4.3在Mac Lion上安装phpMyAdmin的mcrypt,xcode,phpmyadmin,osx-lion,mcrypt,Xcode,Phpmyadmin,Osx Lion,Mcrypt,我尝试在我的Mac running Lion(10.7.3)上安装phpMyAdmin。它需要mcrypt 我找到了链接: 在我朋友的Mac上,链接很好。但在我的Mac电脑上,它无法运行。我遇到安装libmcrypt语句中的错误: /配置 命令的运行方式如下: sh-3.2# ./configure checking build system type... i686-apple-darwin11.3.0 checking host system type... i686-apple-darw

我尝试在我的Mac running Lion(10.7.3)上安装phpMyAdmin。它需要mcrypt

我找到了链接:

在我朋友的Mac上,链接很好。但在我的Mac电脑上,它无法运行。我遇到安装libmcrypt语句中的错误:

/配置

命令的运行方式如下:

sh-3.2# ./configure
checking build system type... i686-apple-darwin11.3.0
checking host system type... i686-apple-darwin11.3.0
checking target system type... i686-apple-darwin11.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

我看到我的朋友使用的是Xcode 4.2,我使用的是Xcode 4.3。我不确定这是否是原因。有什么建议吗?谢谢大家!

打开Xcode,转到“首选项”并转到“下载”选项卡,在那里您将找到一个列表,找到显示“命令行工具”的列表,然后单击“安装并->完成”


你需要一个开发者帐户来安装它,如果你没有,创建它,它是免费的。

打开Xcode,转到“首选项”并转到“下载”选项卡,在那里你会找到一个列表,找到显示“命令行工具”的帐户,然后单击“安装并->完成”

你需要一个开发人员帐户来安装它,如果你没有,就创建它,它是免费的