2012-03-06 8 views
1

Lionを実行しているMac(10.7.3)にphpMyAdminをインストールしようとしています。 mcryptが必要でした。Mac上でphpMyAdmin用mcryptをインストールするXcode 4.3を使用する

私はリンクが見つかりました:私の友人のMac上で

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

、リンクは良いですが。しかし、私のMacでは、それは動かすことができません。私は、インストールlibmcryptののステートメントからエラーが発生します。

は./configure

として以下のコマンドを実行します。私は私の友人は、Xcodeの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を開き、「ダウンロード」タブに移動してリストを見つけ、「コマンドラインツール」と「インストール」をクリックして、「完了」をクリックします。

これをインストールするには、開発者としてアカウントが必要です(アカウントがない場合は作成してください)。

関連する問題