Created
June 4, 2011 16:01
-
-
Save fish2000/1008013 to your computer and use it in GitHub Desktop.
Build your own Snow-Leopard-tastic apache2 httpd from source and install in /usr/local with no ppc-universal-binary crapola
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<!-- this goes in a file such as /System/Library/LaunchDaemons/ost.apache2.plist --> | |
<dict> | |
<key>Label</key> | |
<string>ost.apache2</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/apachectl</string> | |
<string>start</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## this is what I used for the apache httpd ./configure command | |
LDFLAGS=-L/usr/local/Cellar/gnutls/2.12.5/lib | |
CPPFLAGS=-I/usr/local/Cellar/gnutls/2.12.5/include | |
CFLAGS="-arch x86_64" ./configure --prefix=/usr/local --with-included-apr --libdir=/usr/local/lib --with-expat=/usr/local/Cellar/expat/2.0.1 --with-pcre=/usr/local/Cellar/pcre/8.12 --mandir=/usr/local/share/man --enable-mods-shared=all --enable-ssl --with-ssl=/usr/local/Cellar/gnutls/2.12.5 --with-mpm=worker --enable-cache --enable-disk_cache --enable-file_cache --enable-mem_cache --enable-deflate --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-proxy-ftp --enable-cgi --enable-cgid --enable-fcgi --enable-suexec --enable-deflate --enable-logio --enable-dav | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment