私は友人の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
この質問はここには含まれません。おそらく、apple.stackexchange.comまたはsuperuser.comを試してみてください。 – chmullig
ログファイルを含めてください...どのOS Xバージョンをお使いですか? (確かに私のMacのMacPortsからちゃんとインストールされたカールので、私はポートが壊れているとは思わない)。 –
[ログファイル](http://pastebin.com/2XAMHv5M)。最大OS X 10.6.6で。 – Frankie