Created
November 5, 2014 13:58
-
-
Save dspe/d40b3e7fb26622a5cb22 to your computer and use it in GitHub Desktop.
Varnish 3.x on Mac OSX 10.9+
This file contains hidden or 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
vim ~/.bashrc | |
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/:/opt/local/lib/pkgconfig:$PKG_CONFIG_PATH" | |
# https://wiki.documentfoundation.org/Development/BuildingOnMac (alternatif) | |
sudo port install pkg-config automake py-docutils | |
export MACOSX_DEPLOYMENT_TARGET="10.9" | |
cd ../curl-7.39.0 | |
./configure --with-darwinssl | |
make | |
sudo make install | |
cd ../libvmod-curl/ | |
./configure VARNISHSRC=/Users/pvr/Downloads/varnish-3.0.5 VMODDIR=/usr/local/lib/varnish/vmods/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment