I'm trying to install vowpal wabbit on a Mac Mini 2012 running Yosemite OSX.
I couldn't workout how to install boost directly from source forge as John Langford suggests at: https://github.com/JohnLangford/vowpal_wabbit/wiki/Tutorial. Instead I went for the following sudo port install boost
. This seemed to work OK, and I've verified that the file program_options.hpp
exists in the location /opt/local/include/boost/program_options.hpp
.
I then cloned vowpal_wabbit
into my root directory and attempted to install with sudo make install
. When I did this, I got the following error in my terminal, saying that program_options.hpp
couldn't be found:
Am I installing boost in the wrong place? Are there any steps I missed? Is there any way to tell vowpal wabbit where to look on installation?
Thanks in advance,
Aaron
Thank you to @arielf for providing some really excellent guidance on getting vowpal wabbit up and running. At the end of the day I wasn't able to get Vowpal Wabbit up and running from source, but I did find a way forward using
brew
. Here was my process:(1) Install brew (if you haven't done that already) from http://brew.sh/ (per the website, just type
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
)(2) Then type
brew install vowpal-wabbit
(see http://brewformulas.org/VowpalWabbit). Note that the dependenciesAutomake
,Libtool
,Autocon
, andBoost
are all required for this brew installation. These should install automatically, but keep an eye out for any informative errors that pop up.(3) I was interested in using Vowpal Wabbit for variable importance testing using the
var-info
wrapper in theutl
folder of the source directory. After I confirmed that thevw
command executed as expected from my terminal, I went ahead and installed the source files from John's GitHub using:git clone git://github.com/JohnLangford/vowpal_wabbit.git.
Instead of attempting to install, however, I just use the wrappers in utl to create handy aliases. For example, on my machine I point tovw-varinfo
using the callalias varinfo=/Users/aaronpolhamus/vowpal_wabbit/utl/vw-varinfo
. So far this works like a charm.Let me know if you have any questions about this process.