Installing AUTO97 under Linux ---------------------------- Contributed by Jonathan Reeve Dept Of Mathematics University of Strathclyde d.j.reeve@strath.ac.uk After uncompressing and extracting the auto files from auto.tar.Z move the auto directory created to its installed place (ie /usr/auto). The standard Linux shell (bash) does not work with AUTO. The best option is to use the C-shell which AUTO expects. If bash must be used then all references to the environment variable AUTO_DIR must be deleted from the source code and script files and the name of the auto directory hard-wired in. To set tcsh as your shell edit /etc/passwd as root and change 'bash' to 'tcsh' on the line corresponding to your login. Add the following lines to .cshrc in your home directory setenv AUTO_DIR *path_to_auto*/auto/97 set path=($AUTO_DIR/cmds $AUTO_DIR/bin $path) To use bash add the following lines to your .login source *path_to_auto*/auto/97/cmds/auto.env Change cmds/auto.env so that the AUTO_DIR variable is hardwired in setenv AUTO_DIR *path_to_auto*/auto/97 Change every occurence of $AUTO_DIR in the script files in auto/97/cmds to the AUTO path. In gui/auto97.c change every occurence of copyenv(AUTO_DIR) to the auto path in speech marks i.e. "/auto/97/" and every occurence of $AUTO_DIR/ to the auto path i.e. /auto/97/ In auto/97/gui/sun.makefile add the option -traditional to compiler options CC = cc -O -traditional On a standard Linux system the INC_DIR should be set to INC_DIR=/usr/X11/include and LIB_DIR should be set to LIB_DIR=/usr/X11/lib This assumes that the Motif header and library files have been installed in the standard places. They have been if there is a directory /usr/X11/include/Xm. If they are in a different place it is probably easiest to place links in the X11/include and X11/lib directories. Motif is a commercial product and vendors can be contacted on the web. Change all occurences of dreal to DFLOAT in auto/97/src/autlib1.f If the fortran compiler command 'f77' is not installed on the machine then install f2c and its libraries so the compiler is available. The precompiled f2c package can be downloaded from ftp://sunsite.unc.edu/pub/Linux/devel/lang/fortran/f2c-960717.elf In tek2ps/tek2ps.c change the definition of 'def_pro' at line 25 to the correct path for auto. In directory tek2ps type 'make' to build the program tek2ps In auto/97/ type 'make' to make the the complete system. AUTO was built using version 2.7.2 of gcc on version 2.0.0 of the Linux kernel. On Linux kernel 1.2.13 and gcc 2.6.8 this procedure does not work.