INSTALL 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. REQUIREMENTS
  2. ------------
  3. The minimum requirements for installing Geresh, besides a standard C++
  4. compiler, are the following two libraries:
  5. * FriBiDi
  6. Available at:
  7. <http://fribidi.sourceforge.net>
  8. * curses (or ncurses)
  9. However, you'll probably want to have two additional libraries which Geresh
  10. optionally use:
  11. * ncursesw
  12. This is curses with wchar_t support, as outlined in the X/Open
  13. standard.
  14. THIS LIBRARY IS MANDATORY FOR RUNNING GERESH IN THE UTF-8 LOCALE.
  15. Available at:
  16. <http://www.gnu.org/software/ncurses/ncurses.html>
  17. You MUST configure it with "--enable-widec", or else it won't
  18. generate the appropriate libraries (libncursesw.so, etc).
  19. * iconv
  20. If you want Geresh to recognize a broad range of encodings when it
  21. loads and saves files, make sure your system has the iconv
  22. functions.
  23. Contemporary glibc libraries have the iconv implementation
  24. built-in, but if you're using an older system, or a non-glibc
  25. system, you can install libiconv separately:
  26. <http://www.gnu.org/software/libiconv/>
  27. IMPORTANT: If you want to run Geresh in the UTF-8 locale, you must install
  28. ncursesw. If you don't compile Geresh against ncursesw then it will print an
  29. error message and abort when it finds out it's running in the UTF-8 locale.
  30. INSTALLING
  31. ----------
  32. Like most packages nowadays, Geresh comes with a "configure" script. This
  33. script tries to automatically determine your system capabilities. Type
  34. "configure --help" to learn more. In most cases you'll just do
  35. "./configure", then "make", then "make install" (the latter as root).
  36. When "configure" finishes it prints a short summary of what it has found on
  37. your system. A sample printout:
  38. "
  39. Results:
  40. --------
  41. curses library: ncursesw
  42. use iconv: yes
  43. default file encoding: CP1255
  44. (debugging support: no)
  45. "
  46. Please pay attention to what "configure" prints. In particular, note the "w"
  47. in "ncursesw". If "configure" doesn't find ncursesw, it configures Geresh to
  48. use ncurses or plain curses, and prints a warning saying you won't be able
  49. to run Geresh in the UTF-8 locale.
  50. PROBLEMS
  51. --------
  52. Please email me if you encounter any problems installing Geresh.
  53. TESTING
  54. -------
  55. When you start Geresh you may see question marks or gibberish instead of
  56. Hebrew characters. There may be three reasons for that:
  57. 1. You're using a ISO-8859-{1,15} or other locale (like "POSIX") in which
  58. Hebrew characters do not exist (solution: either change the locale or
  59. use the "--iso88598-term" option); or
  60. 2. Your screen font doesn't have Hebrew glyphs; or:
  61. 3. The locale (e.g. iso-8859-x) and the terminal (e.g. UTF-8) disagree about
  62. the encoding. For example, if you see lots of "x"s printed, it probably
  63. means you're in the UTF-8 locale, but your terminal was not sent the
  64. 'unicode_start' escape sequence.
  65. INSTALLING FRIBIDI AND NCURSESW LOCALLY
  66. ---------------------------------------
  67. You don't have to have root permissions to install ncursesw and/or fribidi.
  68. You can install them in your home directory, say "/home/mooffie/local".
  69. Then, to configure Geresh, type:
  70. $ export FRIBIDI_CONFIG=/path/to/fribidi-config
  71. $ ./configure --with-curses=/home/mooffie/local
  72. SUPPORTED PLATFORMS
  73. -------------------
  74. Geresh has been compiled and tested under the following UNIX-like operating
  75. systems:
  76. [x86] Linux RedHat 7.3 (Kernel 2.4)
  77. [x86] FreeBSD Release 4.6
  78. [x86] Linux Mandrake 8.3 (Kernel 2.4)
  79. [x86] Cygwin (Windows 98)
  80. (Some linking tests the configure script does failed on Cygwin, but that's
  81. probably a problem with my own system.)