File: INSTALL

package info (click to toggle)
vflib3 3.6.14.dfsg-3+nmu4
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 11,936 kB
  • sloc: ansic: 36,071; sh: 10,354; asm: 3,290; makefile: 960; lisp: 123; perl: 109; awk: 43
file content (72 lines) | stat: -rw-r--r-- 2,572 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
INSTALL

                                                    Hirotsugu Kakugawa
                                               h.kakugawa@computer.org



1. To install VFlib3, following libraries are (optionally) necessary. 
   Obtain, compile, and install them before you compile VFlib.
   These external libraries are optional and therefore VFlib 
   can be compiled not to use such libraries. But in such a case,
   you cannot use TrueType, Type1 fonts and searching TeX fonts is
   very limited. So, I strongly recommend to use such libraries. 

   Note: following libraries may be provided as binary packages
   for your operating systems. In such a case, obtain them 
   and install. Not only binaries for libraries but also
   `header files' are necessary since we are to compile 
   programs that use such libraries.

  * FreeType 1.2 or later (if you want to use TrueType fonts)
    Obtain it from 
       ftp://ftp.freetype.org/pub/freetype/
    or see
       http://www.freetype.org/
    
  * T1Lib 5.1 (if you want to use Type 1 fonts)
    Obtain it from 
       ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
    or
       ftp://ftp.sunsite.unc.edu/pub/Linux/libs/graphics/

  * kpathsea 3.2 in web2c-7.2 (if you want to use advanced TeX font searching)
    Obtain it from 
       ftp://tug.ctan.org/tex-archive/systems/web2c/


2. To compile, run the `configure' script and run 'make'

       % ./configure  [RETURN]
       % make   [RETURN]

   *NOTE* By default, VFlib is compiled not to use TrueType, Type1, 
   and kpathsea. Thus, TrueType and Type 1 fonts cannot be used.
   To compile VFlib to use these features, run configure program 
   with the following long options, for example. Probably, most 
   users do this. 

   (If you do no want to type this long lines, run a shell 
    script 'configure-site'.)

       % ./configure --with-kpathsea \
                       --with-kpathsea-includedir=/usr/local/include \
                       --with-kpathsea-libdir=/usr/local/lib \
                     --with-freetype \
                       --with-freetype-includedir=/usr/local/include \
                       --with-freetype-libdir=/usr/local/lib \
                     --with-t1lib \
                       --with-t1lib-includedir=/usr/local/include \
                       --with-t1lib-libdir=/usr/local/lib    [RETURN]


       % make   [RETURN]


3. Become a super user (root) and install VFlib
       % su  [RETURN]
       Password: ???????  [RETURN]   (password for root)
       # make install  [RETURN]


That's it.