看板 MacDev 關於我們 聯絡資訊
一直出現error 執行完這個 ./configure --prefix=PREFIX之後 訊息如下 這要怎麼處理啊? checking target system type... x86_64-apple-darwin13.0.0 configure: configure: Configuring Apache Portable Runtime library... configure: checking for APR... yes setting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc" setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc -E" setting CFLAGS to " " setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK" setting LDFLAGS to " " configure: configure: Configuring Apache Portable Runtime Utility library... configure: checking for APR-util... yes checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/cc checking whether the C compiler works... no configure: error: in `/Users/mango/httpd-2.4.6': configure: error: C compiler cannot create executables See `config.log' for more details -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.248.179.169
johnlinvc:我想應該是沒裝command line tool? 11/01 23:40
uranusjr:不過我想問你沒事幹嘛自己 build apache... 11/01 23:55
left:樓上的意思是? 11/02 00:14
johnlinvc:請愛用homebrew or macport 11/02 00:43
left:uranusjr 的意思是直接裝就好了? 要怎麼直接裝啊? 11/02 11:45
hSATAC:出廠不就有帶 apache 了? 11/02 21:41
left:感謝各位的指引 的確不用安裝 http://ppt.cc/P~vM 11/03 17:23
ilay:你有 developer 付費資格的話,有免費 OSX Server 11/04 09:49
dannypictw: http://ppt.cc/P~vM 這內容很實用! 11/04 10:36