本機連接埠檔案的 macports 問題

本機連接埠檔案的 macports 問題

我從這裡得到了我的文件:https://trac.macports.org/browser/trunk/dports/devel/subversion?rev=80777 - 將它們放在類似的資料夾樹下,cd'ed到那裡並運行

gigi-kents-system-product-name:subversion 1.6.17 macport  kellogs$ sudo port install
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/kellogs/subversion 1.6.17 macport ").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.

我本來期望端口文件的語法實際上是正確的。

那是怎麼回事 ?

謝謝

答案1

我的猜測是您沒有正確下載文件,我只是複製了您所說的內容並且它有效。

如果您透過瀏覽器下載,請記住使用原始格式鏈接{1,2,3} 在每個檔案頁面的底部。

無論如何,資料夾名稱中的這些空格都會給您帶來問題,運行連接埠時似乎路徑沒有被清理。

如果您正在使用SVN而是在名稱中不帶空格的資料夾中檢出連接埠。

svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion/ mp-svn_1.6.17

相關內容