summaryrefslogtreecommitdiff
path: root/Build/source/utils/README
blob: d03eaac85bf4dc06e8625fa4093b153994b5fc0b (plain)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
$Id$
Public domain.  Originally written 2005 by Karl Berry.

Extra utilities we (optionally) compile for TeX Live.
See comments in ../texk/README.

asymptote 2.13 - checked 19jun11
  update to TL from CTAN, to include prebuilt doc.
  see http://tug.org/texlive/build.html#asymptote
  and tlpkg/bin/tl-update-asy

chktex 1.6.6 - checked 10apr12
  http://mirror.ctan.org/support/chktex/ for pdf, otherwise same as
  http://download.savannah.gnu.org/releases/chktex/

mtx 0.60d - checked 16apr12
  http://mirror.ctan.org/support/m-tx/

pmx 2.6.18 - checked 18may12
  http://mirror.ctan.org/support/pmx/

ps2eps 1.68 - checked 10may12
  http://tm.uka.de/~bless/ps2eps

psutils p17 - checked 10may12
  http://www.tardis.ed.ac.uk/~ajcd/psutils/index.html
  -> http://mirror.ctan.org/support/psutils/
  https://savannah.nongnu.org/bugs/?30782
  -> http://www.connochaetos.org/misc/psutils-libre-1.17.tar.gz
  (Fabrice made small modifications for Windows, it seems)

t1utils 1.37 - checked 10may12
  http://www.lcdf.org/type/

tpic2pdftex 1.97 - checked 10may12
  http://mirror.ctan.org/graphics/tpic2pdftex/

vlna 1.5 - checked 10may12
  ftp://math.feld.cvut.cz/pub/olsak/vlna/

xindy - see just below

xpdfopen 0.83 - checked 10may12
  http://mirror.ctan.org/support/xpdfopen/
  http://cs.acadiau.ca/~jdiamond/xpdfopen/


xindy 2.4 - checked 13may10
  (with adaptations for TL)
  http://www.ctan.org/indexing/xindy/

After building clisp as described below, run the TL
  Build --enable-xindy CLISP=$clisp_builddir/clisp
to include xindy in the build.  It is disabled by default.

Before clisp 2.48, do not use nohup when building clisp; this may cause
weird build problems.  Regular redirections of stdout/stderr are ok.
Fixed in 2.48: http://sourceforge.net/tracker/?func=detail&aid=2805778&group_id=1355&atid=101355

mkdir clisp; cd clisp
clisp_basedir=`pwd`
clisp_toolsdir=$clisp_basedir/clisp-tools
clisp_builddir=$clisp_basedir/clisp-build
mkdir $clisp_toolsdir

wget=wget  # or "curl -O" or whatever

cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz
gzip -dc libsigsegv-2.10.tar.gz | tar xf -
cd libsigsegv-2.10
./configure --prefix=$clisp_toolsdir && make && make check && make install

# you may need this hack on 64-bit systems
# if clisp's configure will not find libsigsegv.
ln -s lib $clisp_toolsdir/lib64

# on the mac, get libiconv and ensure link statically.
# not needed on other platforms?
cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz
gzip -dc libiconv-1.13.1.tar.gz | tar xf -
cd libiconv-1.13.1
./configure --enable-static --prefix=$clisp_toolsdir \
&& make && make check && make install
#
cd $clisp_basedir/clisp-tools/lib
rm *.dylib
rm *.la

cd $clisp_basedir
$wget http://ftp.gnu.org/gnu/clisp/release/2.49/clisp-2.49.tar.gz
gzip -dc clisp-2.49.tar.gz | tar xf -
cd clisp-2.49

# On Cygwin:
# mv modules/syscalls/configure modules/syscalls/configure.orig
# sed -e '{s%-luuid%-L/usr/lib/w32api -luuid%}' \
#  modules/syscalls/configure.orig > modules/syscalls/configure
#
# On FreeBSD/amd64: add --disable-mmap.
#
./configure --with-libsigsegv-prefix=$clisp_toolsdir --without-readline \
  --disable-nls \
  $clisp_builddir \
&& cd $clisp_builddir \
&& make