diff --git a/INSTALL.md b/INSTALL.md index 6a9e9d23..b90e7d12 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -66,101 +66,6 @@ Once the build above is complete, execute the following command: This will install `wpantund` onto your computer. -Installing `wpantund` on OS X ------------------------------ - -**`wpantund` support on OS X is experimenatl.** - -Installing `wpantund` on OS X is largely similar to the process above, -except things are complicated by the fact that we depend on D-Bus—and -there is no native package manager for OS X. These instructions assume -that you are using [Homebrew][2] as your package manager. - -[2]: http://brew.sh/ - -What is nice about homebrew is that we have a recipe to build -`wpantund` for you. This makes installing `wpantund` on OS X as easy -as: - - brew update - brew install ./etc/wpantund.rb - - # Start the D-Bus daemon - sudo cp "$(brew --prefix)"/Cellar/dbus/*/org.freedesktop.dbus-session.plist /Library/LaunchDaemons/ - sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-session.plist - -(the last two commands are for setting D-Bus up to launch properly at -startup) - -PRO-TIP: Use `brew install wpantund --HEAD` if you want the latest -bleeding-edge version of wpantund! - -However, **if you want to build `wpantund` manually**, the procedure -described below allows you to manually set up the `wpantund` dependencies -so that the build can run without a hitch. - -### 1. Install Xcode ### - -Go [here](http://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12) -and install [Xcode](https://developer.apple.com/xcode/) if you haven't -already. - -After you have installed Xcode, you will need to install the Xcode -command-line tools. You can do this easily from the command line with -the following command: - - xcode-select --install - -### 2. Install Homebrew ### - -[Homebrew](http://brew.sh/) is a package management system for OS X. While -it is possible to install wpantund's dependencies manually, using -homebrew makes this process much easier. If you don't already have it -installed on your Mac, you can install it to your home directory using -the following instructions: - - cd ~ - mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew - mkdir ~/bin - -Create the file `~/.bash_profile` with the following contents (tweak to -your preference if you know what you're doing): - - # Global stuff - export PATH=$HOME/bin:$PATH - export EDITOR=vi - - # Homebrew stuff - export PATH=$HOME/homebrew/bin:$PATH - -Then close and reopen your terminal window. - -Alternatively, you can follow the instructions at , which -installs to the prefix `/usr/local` instead of `~/homebrew`. - -### 2. Install and Setup `wpantund` dependencies ### - -We need a few dependencies in order to be able to build and use -wpantund. The following commands will get us up and running: - - brew install pkg-config - brew install autoconf-archive - brew install libtool - brew install boost - brew install d-bus - - # Start the D-Bus daemon - sudo cp "$(brew --prefix)"/Cellar/dbus/*/org.freedesktop.dbus-session.plist /Library/LaunchDaemons/ - sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-session.plist - -### 3. Configure and build ### - -At this point, you can jump over to step 2 from the section -*Installing `wpantund` on Ubuntu*, above. - - - - Configuring and Using `wpantund` -------------------------------