Skip to content

Instantly share code, notes, and snippets.

@dspe
Created November 5, 2014 13:58
Show Gist options
  • Save dspe/d40b3e7fb26622a5cb22 to your computer and use it in GitHub Desktop.
Save dspe/d40b3e7fb26622a5cb22 to your computer and use it in GitHub Desktop.
Varnish 3.x on Mac OSX 10.9+
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