我想在我的 OS X Mavericks 上安装 apache 2.4 并且遇到问题 ./configure
和 make
.
最佳答案
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
来自 official homebrew website 的命令.
brew install pcre
brew install libtool
./configure --prefix=/usr/local/apache-<VERSION> LTFLAGS=--tag=CC
前任:
./configure --prefix=/usr/local/apache-2.4.7 LTFLAGS=--tag=CC
我找到了 here .
make
make install
httpd 配置和 bash 来自 here .除了确保在正确的路径中使用替换。
httpd -k start working
httpd -v
你会得到(除了你的版本号):
Server version: Apache/2.4.7 (Unix)
Server built: Feb 8 2014 14:34:44
希望这可以节省您的时间。
关于apache - 在 OS X Mavericks 10.9 上安装 apache 2.4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21645320/