1
我嘗試在運行Lion(10.7.3)的Mac上安裝phpMyAdmin。它需要mcrypt。在Mac Lion上使用Xcode 4.3安裝mcrypt for phpMyAdmin
我發現鏈接:
http://www.glenscott.co.uk/blog/2011/08/29/install-mcrypt-php-extension-on-mac-os-x-lion/
在我朋友的Mac,鏈接是好的。但在我的Mac上,它無法運行。我遇到的錯誤,從安裝libmcrypt聲明:
的./configure
運行的命令如下:
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。我不確定這是否是原因。任何建議?謝謝!