Difference between revisions of "Installation"
Jump to navigation
Jump to search
m | |||
You can either change it in the mineserver source code - or - move it to the right location. | 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. | ||
| + | |||
====OS X==== | ====OS X==== | ||
You can install zlib and libevent using Macports: | You can install zlib and libevent using Macports: | ||
sudo ln -s /usr/local/include/noise /usr/local/include/libnoise | sudo ln -s /usr/local/include/noise /usr/local/include/libnoise | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Building Mineserver=== | ===Building Mineserver=== | ||
