File: INSTALL

package info (click to toggle)
fig2dev 1%3A3.2.6a-2%2Bdeb9u3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,984 kB
  • sloc: ansic: 35,278; sh: 4,579; makefile: 179; perl: 13; csh: 12
file content (72 lines) | stat: -rw-r--r-- 2,520 bytes parent folder | download
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

	Installation
	------------

To compile and install fig2dev, issue the commands

  ./configure; make -j; make install

or, e.g.,

  ./configure CFLAGS='-O2 -Wno-parentheses'; make -j install-strip

The latter will strip the debugging symbols from the executables.  The
-j option causes make to try a parallel build with multiple threads.
Optionally,
  ./configure; make; make check; make install; make installcheck
will run tests (make check) with the freshly built executable still at
its location in the build tree, and (make installcheck) with the final,
installed executable.

Both commands will compile fig2dev and copy the executables fig2dev,
fig2ps2tex and pic2tpic to /usr/local/bin.  Three man-pages for these
binaries are put into /usr/local/man/man1.  Furthermore, files which may
be needed at runtime are put under /usr/local/share/fig2dev.
The runtime files are (i) bitmap files, which are stored in
/usr/local/share/fig2dev/bitmaps, (ii) internationalization files, put
into /usr/local/share/fig2dev/i18n, and the color definition file
/usr/local/share/fig2dev/rgb.txt.  The bitmap-files are used by the tk
(tcl/tk) and ptk (perl/tk) output language.  The internationalization
files may be used by the PostScript and all bitmap output languages.


	Options
	-------

The configure script and also the make-command can be customized in
many ways, either by giving options, e.g., ./configure --prefix=/usr,
or by setting variables, e.g., make CC=clang or ./configure CFLAGS=-O2.

Options relevant for fig2dev are, here given with their default
settings,
  --prefix=/usr/local
  --bindir=${prefix}/bin
  --datarootdir=${prefix}/share
  --mandir=${prefix}/man
Compilation flags are typically
  CC=gcc CFLAGS='-g -O2' LIBS='-lXpm -lpng -lz -lm'

Try
  ./configure --prefix=/tmp/fig2dev; make install
to see which files will be installed at what locations.

To get a list of possible features to enable or disable, type
  ./configure --help
and see the "Optional Features" and "Optional Packages" sections.


	Requirements
	------------

On debian, to build transfig, you will need the header files contained
in
  libc6-dev and linux-libc-dev.
Optionally, to read and embed png and jpeg-images, header files
contained in the packages
  libpng12-dev, zlib1g-dev, libjpeg-dev,
are needed. To read xpm images, in addition you will need
  libxpm-dev, libxt-dev, libX11-dev.

At runtime and for the tests run by make check, the packages
  ghostscript and netpbm
are needed to produce various bitmap output formats.