PrivatePortfile/MacVimがインストールできない

葛西臨海公園から見える観覧車



PrivatePortfile/MacVimをインストールしようとしてるんですけど、なぜか失敗してしまいます。



$ sudo port install macvim +perl +python +ruby +tcl +cscope +kaoriya

      • > Fetching macvim
      • > Verifying checksum(s) for macvim
      • > Extracting macvim

Error: Target org.macports.patch returned: shell command "cat /Users//ports/editors/macvim/files/patch-MMTextView.m | patch -p0" returned error 1
Command output: patching file src/MacVim/MMTextView.m
Hunk #1 FAILED at 344.
Hunk #2 succeeded at 752 with fuzz 2 (offset 382 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/MacVim/MMTextView.m.rej

Error: Status 1 encountered during processing.


あー、間違って古いプロファイルをダウンロードしたっぽい。今から新しいプロファイルで再度試してみます。


新しいプロファイルをダウンロードして試したら何の問題もなく成功しました!あーあー、やっちゃった。


$ sudo port install macvim +perl +python +ruby +tcl +cscope +kaoriya

      • > Fetching macvim
      • > Verifying checksum(s) for macvim
      • > Extracting macvim
      • > Applying patches to macvim
      • > Configuring macvim
      • > Building macvim with target all
      • > Staging macvim into destroot
      • > Installing macvim 20080607_0+cscope+kaoriya+perl+python+ruby+tcl
      • > Activating macvim 20080607_0+cscope+kaoriya+perl+python+ruby+tcl
      • > Cleaning macvim


インストールに失敗したのは macvim.401.0.tbz2 で、成功したのは macvim.20080607.0.tbz2 です。日付くらいちゃんと見ましょうね><