Comprehensive TeX Archive Network

Direc­tory tex-archive/obsolete/graphics/metapost/base/source

$Id: README 30772 2013-05-28 18:07:34Z karl $
Public domain.  Originally written 2005 by Karl Berry.

For a high-level overview of building TeX Live, see
http://tug.org/texlive/build.html.  In brief:

To configure and make the source tree, run ./Build.
To build (mostly) without optimization, run ./Build --debug.
To make without configuring, run TL_CONFIGURE=true ./Build.

(Nearly everything the Build script does can be overridden via
environment variables; just take a look to see all the names.)

- C and C++ compilers.

- GNU make.  If your GNU make is invoked by some name other than `make',
  try: env TL_MAKE=/your/gnu/make ./Build

- GNU clisp and GNU libffcall, for xindy.  See more
  details in utils/README.  (Alternative: Build --disable-xindy.)
  Also perl, latex, and pdflatex to build the rules and/or documentation.

- Perl to autodetect the TeX Live platform name for biber.

- X11 headers and libraries (often a ``development'' package, not
  installed by default), for pdfopen and xdvi.
  (Alternative: Build --without-x.)

- libfontconfig (again both headers and library), for XeTeX and xdvipdfmx,
  except on MacOSX.  (Alternative: Build --disable-xetex --disable-xdvipdfmx.)
  While on MacOSX, an Objective C++ compiler is needed for XeTeX.

- If you modify any .y or .l source files, then Bison and Flex (or maybe
  equivalents) are needed.  The distributed .c and .h files are generated
  with bison-2.5 and flex-2.5.35.

The binaries will be left in ./inst/bin/<stdplatform>.
For TeX Live, ignore the other files and directories that end up in ./inst.

The new binaries are not directly usable from that location.  Instead,
copy them to Master/bin/<tlplatformname>/.

That should be it for normal builds.  Email tex-live@tug.org if problems.

To make a usable TeX installation, you have to have (thousands of)
support files as well as the binaries that are built here.  The support
files are maintained completely independently.  The best basis for
dealing with them is the TeX Live (plain text) database,
Master/tlpkg/texlive.tlpdb, and/or our installer.  More information is
under Master/tlpkg.  See also http://tug.org/texlive/distro.html.

If your C++ needs to find the standard library in, say, /usr/local/lib,
(i.e., configure fails saying the compiler doesn't work), try:
env LD_OPTIONS=-R/usr/local/lib ./Build

Many more details about the TL build system, such as adding new
programs or libraries, recompiling after fixing problems, etc., are in
the other README.* files here.

Build information for some of the platforms.

i386-linux: gcc 4.6.3, Linux 2.6.18-* (CentOS 5, tug.org)
x86_64-linux: gcc 4.6.3, libc 2.3.6, Linux
  Using gcc-4.5.4 breaks mpost
universal-darwin, x86_64-darwin: a menagerie of versions.
  See Master/source/mactexdoc.tar.xz.

i386-solaris, x86_64-solaris: Solaris 11.

i386-cygwin: gcc-4.5.3.

powerpc-linux (Debian Squeeze)
  Linux homer 2.6.32-5-powerpc64 #1 SMP Tue Mar 8 02:01:42 UTC 2011
  ppc64 Debian GNU/Linux 6.0
  (only the kernel is 64bit, the entire userland is 32bit.)

sparc-solaris: gcc-4.5.0, Solaris 5.10 (Utah).

  OS: AIX 4.3
  compiler: IBM C for AIX Compiler, Version 5 (xlc)
  bison (GNU Bison) 1.34
  flex version 2.5.4
  GNU m4 1.4
  GNU Make 3.79.1
    You can download fontconfig for AIX from

  OS: Debian GNU/Linux 4.0 (Etch), kernel 2.6.18
  gcc (GCCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
  bison (GNU Bison) 2.3
  flex 2.5.33
  GNU M4 1.4.8
  GNU Make 3.81
    - you have to set the ulimit high enough before compiling clisp and texlive
        ulimit -s 16384
      did suffice for me
    - compiling of texk/web2c/pdftexdir/writezip.c is broken and triggers a 
      compiler error with the above gcc. This is a known optimization error
      of gcc on alphas. The solution is to set
      before running Build.
    - compilation of clisp needs --disable-mmap
    - asy compilation with --disable-gsl && make


Name Notes


Name Size Date Notes
ChangeLog 12211 2013-06-16 16:38
Make­file.am 3525 2013-06-16 16:38
Make­file.in 28789 2013-06-16 16:38
README 4180 2013-06-16 16:38
README.cod­ing 2925 2013-06-16 16:38
README.con­fig 12829 2013-06-16 16:38
README.cross 1196 2013-06-16 16:38
README.dis­tro 5633 2013-06-16 16:38
README.hack­ing 8229 2013-06-16 16:38
README.lay­out 10328 2013-06-16 16:38
aclo­cal.m4 39281 2013-06-16 16:38
con­fig­ure 661858 2013-06-16 16:38
con­fig­ure.ac 7502 2013-06-16 16:38
reau­to­conf 3746 2013-06-16 16:38
tar­date.ac 455 2013-06-16 16:38
ver­sion.ac 441 2013-06-16 16:38
Guest Book Sitemap Contact Contact Author