Difference between revisions of "Installation"

From Mineserver Wiki
Jump to navigation Jump to search
m
  sudo yum install git libevent libevent-devel zlib zlib-devel
  sudo yum install git libevent libevent-devel zlib zlib-devel
 +
====Arch Linux====
 +
 +
You can obtain and install the required [http://aur.archlinux.org/packages.php?ID=39041 libnoise] package through [https://wiki.archlinux.org/index.php/Arch_User_Repository AUR].
 +
 +
Arch Linux stores the development headers in ''/usr/local/include/noise'' and not ''/usr/local/include/libnoise'' like the minesever build script thinks it will.
 +
 +
You can either change it in the mineserver source code - or - move it to the right location.
 +
 +
===== Change the source code =====
 +
If you want to replace all instances of 'libnoise' with 'noise' in the source code, you can simply run the <code>sed</code> application (it's usually released with all major distributions), like so:
 +
 +
  sed -i 's:libnoise:noise:g' mapgen.{h,cpp}
 +
 +
You can then proceed to run the <code>make</code> command.
 +
===Building Mineserver===
===Building Mineserver===