任何人都可以解釋什麼是'配置'是什麼,一般可以找到config.log
文件?什麼是osx上的config.log,它的位置在哪裏?
這是關係到一個特定的問題(gcc not working - Xcode 3.2.6 - Snow Leopard),但我認爲這個問題可能更普遍關心的:
當試圖用RVM安裝紅寶石,我想可能是任何涉及Xcode的gcc編譯器,或可能甚至比這更一般,如果有錯誤,那麼日誌通常指的是config.log
文件。例如。在我/yaml/configure.log
我得到:
configure: error: in `/Users/duncanstuart/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
周圍的Googling表明,該文件是具體到包安裝的,但不同的崗位給多個不同的位置,其中沒有存在我的機器上的 - 例如, Error installing PostgreSQL on Mac OS X 10.5 using MacPorts說,這是下/opt/local/var/
Can't install Ruby under Lion with RVM – GCC issues包含說一個例子config.log
地方:
此文件包含在運行 配置,如果配置出錯,以幫助調試由編譯器產生的任何消息。
非常感謝 - 我發現它在那個位置 – dgmstuart 2012-01-04 18:27:20