UPGRADE.UNIX 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. SPECIAL NOTE FOR UNIX USERS
  2. ===========================
  3. If you are installing this release of FreeType on a system that
  4. already uses release 2.0.5 (or even an older version), you have to
  5. perform a few special steps to ensure that everything goes well.
  6. 1. Enable the TrueType bytecode hinter if you need it
  7. -----------------------------------------------------
  8. See the instructions in the file `TRUETYPE' of this directory.
  9. Note that FreeType supports TrueType fonts without the bytecode
  10. interpreter through its auto-hinter, which now generates relatively
  11. good results with most fonts.
  12. 2. Determine the correct installation path
  13. ------------------------------------------
  14. By default, the configure script installs the library in
  15. `/usr/local'. However, many Unix distributions now install the
  16. library in `/usr', since FreeType is becoming a critical system
  17. component.
  18. If FreeType is already installed on your system, type
  19. freetype-config --prefix
  20. on the command line. This should return the installation path
  21. (e.g., `/usr' or `/usr/local'). To avoid problems of parallel
  22. FreeType versions, use this path for the --prefix option of the
  23. configure script.
  24. Otherwise, simply use `/usr' (or whatever you think is adequate for
  25. your installation).
  26. 3. Ensure that you are using GNU Make
  27. -------------------------------------
  28. The FreeType build system _exclusively_ works with GNU Make (as an
  29. exception you can use make++ which emulates GNU Make sufficiently;
  30. see http://makepp.sourceforge.net). You will not be able to compile
  31. the library with the instructions below using any other alternative
  32. (including BSD Make).
  33. Trying to compile the library with a different Make tool prints a
  34. message like:
  35. Sorry, GNU make is required to build FreeType2.
  36. and the build process is aborted. If this happens, install GNU Make
  37. on your system, and use the GNUMAKE environment variable to name it.
  38. 4. Build and install the library
  39. --------------------------------
  40. The following should work on all Unix systems where the `make'
  41. command invokes GNU Make:
  42. ./configure --prefix=<yourprefix>
  43. make
  44. make install (as root)
  45. where `<yourprefix>' must be replaced by the prefix returned by the
  46. `freetype-config' command.
  47. When using a different command to invoke GNU Make, use the GNUMAKE
  48. variable. For example, if `gmake' is the command to use on your
  49. system, do something like:
  50. GNUMAKE=gmake ./configure --prefix=<yourprefix>
  51. gmake
  52. gmake install (as root)
  53. 5. Take care of XFree86 version 4
  54. ---------------------------------
  55. Certain Linux distributions install _several_ versions of FreeType
  56. on your system. For example, on a fresh Mandrake 8.1 system, you
  57. can find the following files:
  58. /usr/lib/libfreetype.so which links to
  59. /usr/lib/libfreetype.6.1.0.so
  60. and
  61. /usr/X11R6/lib/libfreetype.so which links to
  62. /usr/X11R6/lib/libfreetype.6.0.so
  63. Note that these files correspond to two distinct versions of the
  64. library! It seems that this surprising issue is due to the install
  65. scripts of recent XFree86 servers (from 4.1.0) which install their
  66. own (dated) version of the library in `/usr/X11R6/lib'.
  67. In certain _rare_ cases you may experience minor problems if you
  68. install this release of the library in `/usr' only, namely, that
  69. certain applications do not benefit from the bug fixes and rendering
  70. improvements you would expect.
  71. There are two good ways to deal with this situation:
  72. - Install the library _twice_, in `/usr' and in `/usr/X11R6' (you
  73. have to do that each time you install a new FreeType release
  74. though).
  75. - Change the link in /usr/X11R6/lib/libfreetype.so to point to
  76. /usr/lib/libfreetype.so,
  77. and get rid of
  78. /usr/X11R6/lib/libfreetype.6.0.so
  79. The FreeType Team is not responsible for this problem, so please
  80. contact either the XFree86 development team or your Linux
  81. distributor to help clear this issue in case the information given
  82. here doesn't help.
  83. ------------------------------------------------------------------------
  84. Copyright 2003, 2005 by
  85. David Turner, Robert Wilhelm, and Werner Lemberg.
  86. This file is part of the FreeType project, and may only be used,
  87. modified, and distributed under the terms of the FreeType project
  88. license, LICENSE.TXT. By continuing to use, modify, or distribute this
  89. file you indicate that you have read the license and understand and
  90. accept it fully.
  91. ---- end of UPGRADE.UNIX ---