INSTALL 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. How to compile and run ManaPlus on your GNU/Linux Box
  2. =================================================
  3. Homepage: http://manaplus.org/
  4. IRC: irc.freenode.net / #manaplus
  5. 1) Requirements
  6. 2) Compiling And Installing ManaPlus
  7. 3) Notes
  8. 1. Requirements
  9. ===============
  10. You are expected to have either checked out ManaPlus from Git or you have downloaded
  11. a source release. To get ManaPlus to compile, you need a compiler (GCC)
  12. and some libraries. The required libraries are:
  13. * SDL http://www.libsdl.org/
  14. * SDL_mixer http://www.libsdl.org/projects/SDL_mixer/
  15. * SDL_image http://www.libsdl.org/projects/SDL_image/
  16. * SDL_net http://www.libsdl.org/projects/SDL_net/
  17. * SDL_ttf http://www.libsdl.org/projects/SDL_ttf/
  18. * SDL_gfx http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
  19. * libxml2 http://www.xmlsoft.org/
  20. * zlib 1.2.x http://www.gzip.org/zlib/
  21. * libcurl http://curl.haxx.se/libcurl/
  22. If you've cloned the Git repository, you will also need these tools to compile:
  23. * GNU automake 1.9 http://www.gnu.org/software/automake/
  24. * GNU autoconf http://www.gnu.org/software/autoconf/
  25. * GNU gettext http://www.gnu.org/software/gettext/
  26. * CVS http://www.nongnu.org/cvs/ (needed to run autopoint)
  27. On some machines, it's been reported that this package is also needed. However,
  28. you might not need it:
  29. * GNU libtool http://www.gnu.org/software/libtool/
  30. Installing these dependencies is distributions-specific, and we'll leave it to
  31. you to figure this out.
  32. 2. Compiling And Installing ManaPlus
  33. ====================================
  34. 1) Go to the directory you have extracted the source to.
  35. 2) If you've cloned the Git repository, run "autoreconf -i" to generate
  36. configure and install any missing auxiliary files.
  37. 3) Run "./configure"
  38. 4) Run "make"
  39. 5) Run "make install" as root
  40. It should have installed ManaPlus on your system now, and you can run it
  41. with "manaplus". By default all files are installed to /usr/local, you can pass
  42. a different prefix to configure as usual.
  43. NOTE: It is possible to compile ManaPlus without support for OpenGL rendering.
  44. To do this perform step 3 as follows:
  45. ./configure --without-opengl
  46. Rebuild the executable from scratch using "make clean" and then "make".