summaryrefslogtreecommitdiff
path: root/README.UNX
diff options
context:
space:
mode:
Diffstat (limited to 'README.UNX')
-rw-r--r--README.UNX51
1 files changed, 43 insertions, 8 deletions
diff --git a/README.UNX b/README.UNX
index 838ee8ab2..2ca23fe35 100644
--- a/README.UNX
+++ b/README.UNX
@@ -8,8 +8,8 @@ SPECIAL NOTE FOR UNIX USERS
- I. Enable the TrueType bytecode hinter if you need it
- -----------------------------------------------------
+ I. Enable the TrueType bytecode hinter if you need it:
+ ------------------------------------------------------
The TrueType bytecode interpreter is disabled in all public
releases of the FreeType packages for patents reasons (see
@@ -34,8 +34,8 @@ SPECIAL NOTE FOR UNIX USERS
- II. Determine the correct installation path
- -------------------------------------------
+ II. Determine the correct installation path:
+ --------------------------------------------
By default, the source package will install the library in
"/usr/local". However, many Unix distributions now install the
@@ -48,10 +48,33 @@ SPECIAL NOTE FOR UNIX USERS
on the command line. This should return the installation path to
use below (e.g. "/usr" or "/usr/local"). Otherwise, simply use
- "/usr".
+ "/usr" (or what you think is adequate for your installation).
- Then, to build and install the library, type:
+
+
+ III. Ensure that you're using GNU Make:
+ ---------------------------------------
+
+ The FreeType build system _exclusively_ works with GNU Make. You will
+ not be able to compile the library with the following instructions with
+ any other alternative (including BSD Make !!).
+
+ Trying to compile the library with a different Make tool will print a
+ message like:
+ "Sorry, GNU make is required to build FreeType2."
+
+ and the build will be aborted. If this happens, install GNU Make on your
+ system, and use the GNUMAKE environment variable to name it.
+
+
+
+ IV. Build and install the library:
+ ----------------------------------
+
+ The following should work on all Unix systems where the 'make' command
+ invokes GNU Make:
+
./configure --prefix=<yourprefix>
make
make install (as root)
@@ -60,9 +83,21 @@ SPECIAL NOTE FOR UNIX USERS
the "freetype-config" command.
+ When using a different command to invoke GNU Make, use the GNUMAKE
+ variable. For example, if 'gmake' is the command to use on your system,
+ do something like:
+
+ GNUMAKE=gmake ./configure --prefix=<yourprefix>
+ gmake
+ gmake install (as root)
+
+
+ If this still doesn't work, read the detailed compilation procedure
+ available in the file "docs/BUILD" for troubleshooting..
+
- III. Take care of XFree86 version 4
- -----------------------------------
+ V. Take care of XFree86 version 4:
+ ----------------------------------
Certain recent Linux distributions will install _several_ versions
of FreeType on your system. For example, on a fresh Mandrake 8.1