Installing tla from sources

First, you need to get a tla source distribution (see Getting Arch).

Once the tla source distribution has been fetched and unpacked, compilation and installation of tla typically looks something like the following (assuming that the current directory is the root of the unpacked tree):

Notes:

  1. You must use a build directory which is separate from the source tree.
  2. $INSTALL_PREFIX is the root of the tree where you want tla installed; for instance, if you want to put tla in /usr/local/bin, then subsitute /usr/local for $INSTALL_PREFIX.

  3. If /bin/sh on your system is not POSIX-compatible enough to handle the configure script, but some other shell (bourne-style, not csh!) on your system is -- here we call it $SHELL -- then run configure this way:

    • $SHELL ../configure --prefix $INSTALL_PREFIX --config-shell $SHELL
          
  4. Run ../configure --help for information about setting parameters other than --prefix.

  5. If you see a message like this:
    • The configured versions of diff and diff3 do not handle files
      not ending in newline correctly.
      
        configured diff = diff.
        configured diff3 = diff3.
      
      
      Use config options
        --with-gnu-diff PROG
        --with-gnu-diff3 PROG
      
        NOTE: especially on BSD-derived systems, you will want
         to grab a recent version of GNU diff and compile it for use
         with those config options.   You don't need to replace
         the native diff tools on your system, but you do need to
         configure tla specially.   Sorry about that -- some BSDs
         have made a poor decision about their native diffs.
      
         (Example systems: some NetBSD, FreeBSD, and MacOS versions.)
          
    then you need to either compile the native diffutils, or something...
  6. You must use a recent version of GNU make. For now, do not use the -j option to make or otherwise arrange for a parallel make. You can check to see if you have GNU make by typing make -v

  7. To run the tests on some systems, you must use unlimit datasize first.

See also

Installing Arch (last edited 2008-04-11 01:40:47 by 82)