4

新しくインストールしたマウンテン ライオンに macports をインストールしようとしています。最初に xCode をインストールし、次に xCode コマンド ライン ツールをインストールしました。その後、xCode を実行して利用規約に同意し、macports dmg パッケージをインストールしました。

一度行ったら、自己更新コマンドを実行しましたが、機能しましたが、自己インストールまたは自己アップグレードは機能しません。

Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  30.00 bytes/sec
total size is 3543040  speedup is 33743.24
receiving file list ... done

sent 36 bytes  received 76 bytes  32.00 bytes/sec
total size is 512  speedup is 4.57
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done

sent 36 bytes  received 70 bytes  30.29 bytes/sec
total size is 53821440  speedup is 507749.43
receiving file list ... done

sent 36 bytes  received 77 bytes  32.29 bytes/sec
total size is 512  speedup is 4.53
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports

Total number of ports parsed:   0 
Ports successfully parsed:  0 
Ports failed:           0 
Up-to-date ports skipped:   15604

--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port upgrade outdated
Error: No ports matched the given expression

Sudo port install を実行しようとすると、次のようになりました

Mo-Mughrabis-MacBook-Pro:~ mo$ sudo port install 
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/mo").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

ここで私が間違っていたかもしれないことについて、誰かが私を助けることができますか?

ありがとう、

4

2 に答える 2

1

MacPorts をかろうじてインストールしただけなので、実際のポート (おそらく別のコンピューターにあったもの) はまだインストールされていません。

を実行するport installedと、空が返されることがわかります。

おめでとうございます。0 個中 0 個のポートが古くなっています ;-)

他の Mac と同じポートがすべて必要な場合は、ターミナルを起動port installedしてそれらのマシンで実行します。これにより、すべてのリストが得られるはずであり、そのリストをエクスポートするか、新しい Mountain Lion インストールで必要なものを選択して選択することができます.

そして、それは次のように簡単になります

port install [which program]

必要なポートごとに。

于 2012-08-28T20:11:46.010 に答える
1

このコマンドの後に同じメッセージが表示されます。これはport clean --allMacPorts何もすることが見つからなかったためです (クリーン)。

于 2012-11-15T11:29:25.733 に答える