Difference between revisions of "Installation"
Jump to navigation
Jump to search
====OS X==== | ====OS X==== | ||
| + | |||
| + | To install third party libraries on OS X, some convenient ways exist. | ||
| + | Note that zlib ships with OS X by default. | ||
| + | |||
| + | ===== MacPorts or Fink ===== | ||
| + | |||
You can install zlib and libevent using Macports: | You can install zlib and libevent using Macports: | ||
| − | sudo port install | + | sudo port install libevent |
| − | + | or Fink: | |
| + | sudo apt-get install libevent1 | ||
| + | |||
| + | Either way, you will need to build libnoise yourself. On OS X, this is best done by using qknight's unofficial branch. First install the libnoise prerequisities: | ||
| + | |||
sudo port install cmake doxygen | sudo port install cmake doxygen | ||
| + | or Fink: | ||
| + | |||
| + | sudo apt-get install cmake doxygen | ||
| + | |||
Now you can get the code: | Now you can get the code: | ||
sudo make install | sudo make install | ||
| + | ===== Homebrew ===== | ||
| + | |||
| + | With homebrew installed, you can just install libevent: | ||
| + | |||
| + | brew install libevent | ||
| + | |||
| + | A formular for libnoise can be found on [http://github.com/krono/homebrew krono’s homebrew fork]. | ||
| + | Using that, you can install libnoise just the same way: | ||
| + | |||
| + | brew install libnoise | ||
| + | |||
| + | It does not depend on cmake and doxygen. | ||
| + | |||
===Building Mineserver=== | ===Building Mineserver=== | ||
