~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/docs/INSTALL.UNX

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This document contains instructions on how to build the FreeType library
 
2
on Unix systems.  This also works for emulations like  Cygwin or MSys on
 
3
Win32:
 
4
 
 
5
 
 
6
  1. Ensure that you are using GNU Make
 
7
  -------------------------------------
 
8
 
 
9
    The FreeType  build system _exclusively_  works with GNU  Make.  You
 
10
    will not be able to  compile the library with the instructions below
 
11
    using any other alternative (including BSD Make).
 
12
 
 
13
    [Well, this is not  really correct.  Recently, a perl implementation
 
14
    of make called `makepp' has appeared which can also build FreeType 2
 
15
    successfully  on Unix platforms.   See http://makepp.sourceforge.net
 
16
    for more details; you need version 1.19 or newer,  and you must pass
 
17
    option `--norc-substitution'.]
 
18
 
 
19
    Trying to compile the library  with a different Make tool will print
 
20
    a message like:
 
21
 
 
22
      Sorry, GNU make is required to build FreeType2.
 
23
 
 
24
    and the build process will be aborted.  If this happens, install GNU
 
25
    Make on  your system,  and use the  GNUMAKE environment  variable to
 
26
    name it.
 
27
 
 
28
 
 
29
  2. Build and install the library
 
30
  --------------------------------
 
31
 
 
32
    The  following should  work on  all  Unix systems  where the  `make'
 
33
    command invokes GNU Make:
 
34
 
 
35
      ./configure [options]
 
36
      make
 
37
      make install           (as root)
 
38
 
 
39
    The default  installation path is  "/usr/local".  It can  be changed
 
40
    with the `--prefix=<path>' option.  Example:
 
41
 
 
42
      ./configure --prefix=/usr
 
43
 
 
44
    When using a  different command to invoke GNU  Make, use the GNUMAKE
 
45
    variable.  For  example, if  `gmake' is the  command to use  on your
 
46
    system, do something like:
 
47
 
 
48
       GNUMAKE=gmake ./configure [options]
 
49
       gmake
 
50
       gmake install            (as root)
 
51
 
 
52
    If  this  still  doesn't   work,  something's rotten on your system
 
53
    (e.g. you are using a very old version of GNU Make).
 
54
 
 
55
    It  is  possible  to  compile  FreeType in  a  different  directory.
 
56
    Assuming the  FreeType source  files in directory  `/src/freetype' a
 
57
    compilation in directory `foo' works as follows:
 
58
 
 
59
      cd foo
 
60
      /src/freetype/configure [options]
 
61
      make
 
62
      make install
 
63
 
 
64
 
 
65
--- end of INSTALL.UNX --