2012-08-16 162 views
0

我升級到Mountain獅子,現在沒有安裝端口。我使用dmg更新了macports,通過Xcode下載了命令行工具,甚至嘗試從蘋果開發者網站下載命令行工具來安裝命令行工具。該錯誤似乎是某處的語法錯誤(雖然我正在嘗試安裝任何端口的同樣的語法錯誤,所以它似乎不是特定於任何端口)。OSX Mountain Lion上的Mac端口錯誤

:info:configure configure: creating ./config.status 
:info:configure config.status: creating install-info/tests/defs 
:info:configure nawk: syntax error at source line 1 source file ./confPOrdDb/subs.awk 
:info:configure context is 
:info:configure  >>> BEGIN <<< { 
:info:configure nawk: bailing out at source line 321 
:info:configure config.status: error: could not create install-info/tests/defs 
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_texinfo/texinfo/work/texinfo-4.13" && ./configure --prefix=/opt/local 
:info:configure Exit code: 1 
:error:configure org.macports.configure for port texinfo returned: configure failure: command execution failed 
:debug:configure Error code: NONE 

如果我在源文件夾中運行sudo ./configure --prefix=/opt/local我得到同樣的語法錯誤。 修復此問題的任何想法?

+0

只是爲了確定。您確實首先執行了端口自動更新或端口同步以更新端口樹? – Vortexfive 2012-08-19 19:54:37

回答

0

原來,有超過1個版本的nawk安裝。我擺脫了兩者,一切都很好

相關問題