2012-03-06 2 views
1

Lion (10.7.3)을 실행하는 Mac에 phpMyAdmin을 설치하려고합니다. 그것은 mcrypt가 필요합니다. Mac에서 phpMyAdmin 용 mcrypt를 Xcode 4.3과 함께 설치

내가 링크를 발견

http://www.glenscott.co.uk/blog/2011/08/29/install-mcrypt-php-extension-on-mac-os-x-lion/

내 친구의 Mac의를 링크가 좋다. 하지만 내 Mac에서는 실행할 수 없습니다. 나는 설치 libmcrypt의 문에서 오류가 발생할 수 :

./configure를

다음과 같이 명령을 실행 : 내 친구가 엑스 코드 4.2, 및 I를 사용하는 것을 볼 수

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.3을 사용하십시오. 이유가 확실하지 않습니다. 어떠한 제안? 고맙습니다!

답변

1

Xcode를 열고 환경 설정으로 이동하여 '다운로드'탭으로 이동하여 목록을 찾은 다음 '명령 줄 도구'라는 것을 찾아 설치 및 -> 완료를 클릭하십시오.

계정을 개발자가 필요로합니다. 계정이없는 경우 무료로 만들 수 있습니다.