2011-04-17 8 views
0

私は友人のMacでMacportsを使ってlibusb-develをインストールしようとしています(Osceletonをインストールするために必要です)。私のコンピュータでは、インストールは完全にうまくいったが、私は彼の上にインストールしている間、固執している。MacportsからcURLをインストールすると失敗します

libusb-develの従属関係の1つは、curlです。ただし、curlをインストールすると失敗するようです。 curlの構成中に、エラーメッセージが表示され、インストールが終了します。私は、これはエラーに関連する部分であるログ、言及しています:

:info:configure configure: found both libz and libz.h header 
:info:configure checking for "/dev/urandom"... configure: error: cannot check for file existence when cross compiling 
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/work/curl-7.21.4-ppc" && ./configure --prefix=/opt/local --disable-dependency-tracking --disable-dependency-tracking --enable-ipv6 --without-gnutls --without-gssapi --without-librtmp --without-libssh2 --without-nss --without-polarssl --without-spnego --with-ssl --disable-ares --disable-ldap --disable-ldaps --with-libidn --with-zlib=/opt/local --disable-dependency-tracking --with-ca-bundle=/opt/local/share/curl/curl-ca-bundle.crt --host=powerpc-apple-darwin10.7.0 " returned error 1 
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) 
:debug:configure Backtrace: configure failure: shell command failed (see log for details) 
    while executing 
"$procedure $targetname" 
:info:configure Warning: the following items did not execute (for curl): org.macports.destroot org.macports.configure org.macports.build 
:notice:configure Log for curl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl/main.log 

私がログに与えられたコマンドを使用しては、configureスクリプトを自分自身を実行すると、すべてがうまくいくとcurlが完全にインストールされています。しかし、Macportsはこれに満足していません。特定のファイルが既に存在することを私に知らせるエラーが出るためです。また、curlを直接Macportsを使用してインストールすると問題が生じるようです。

このため、私はlibusb-develのインストールを続行できません。学校のプロジェクトにはすぐに必要です。誰も助けることができますか? MacPortsのは、それがPowerPC用クロスコンパイルだと思っようTIA

+0

この質問はここには含まれません。おそらく、apple.stackexchange.comまたはsuperuser.comを試してみてください。 – chmullig

+0

ログファイルを含めてください...どのOS Xバージョンをお使いですか? (確かに私のMacのMacPortsからちゃんとインストールされたカールので、私はポートが壊れているとは思わない)。 –

+0

[ログファイル](http://pastebin.com/2XAMHv5M)。最大OS X 10.6.6で。 – Frankie

答えて

0

が見えます。正しいバージョンのMacPortsがインストールされていることを確認してください。他にMacPortsを使用していない場合は、/opt/localを吹き飛ばし、hereからインストールしてください。

+0

あなたは正しいです。 Macportsを再インストールすると、トリックがかかりました。本当にありがとう – Frankie

関連する問題