Skip to content

Instantly share code, notes, and snippets.

@mdagost
Forked from mreid/INSTALL-VW-OSX.md
Created March 29, 2013 21:30
Show Gist options
  • Save mdagost/5273803 to your computer and use it in GitHub Desktop.
Save mdagost/5273803 to your computer and use it in GitHub Desktop.

The INSTALL instructions that come with Vowpal Wabbit appear not to work on Mac OS X Lion. Here's what I did to get it to compile. You will need the developer tools that come with the XCode installation.

The only dependency VW has is the boost C++ library. So first, download and install Boost

To install Boost, do the following:

$ cp ~/Downloads/boost_1_48_0.tar.bz2 ./
$ tar xfj boost_1_48_0.tar.bz2
$ cd boost_1_48_0
$ ./bootstrap.sh					# Install defaults to /usr/local
$ sudo ./b2 install

To install VW, do the following:

$  git clone https://github.com/JohnLangford/vowpal_wabbit.git
$ autoreconf --force --install		# Options copy any needed autoconf files to local
$ ./configure
$ make
$ make install
$ vw --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment