INSTALL.tty.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Compiling/Installing TTY ULarn
  2. ------------------------------
  3. ULarn should compile on any Unix like O/S (Linux, NetBSD, solaris etc).
  4. The code has only been tested on gcc as it is the only compiler I use
  5. on unix based systems. It may or may not work on other compilers.
  6. I have tested it on the following systems:
  7. Pentium-4 running Red Hat Linux 7.1
  8. Amiga A4000/040 running NetBSD 1.5.2
  9. Sun UltraSparc running Solaris 2.5.2
  10. There is no auto configure script provided. I usually find them more
  11. trouble than they are worth. For example, the configure script for
  12. ularn 1.5pl4 (the old TTY version) made a right balls up on the
  13. UltraSparc Solaris system, and I ended up having to manually configure
  14. everything anyway.
  15. Some unix systems may need dos2unix (or equivalent command to strip ^M)
  16. to be run on the source files and the makefile before compiling.
  17. The Sun Ultrasparc did, linux didn't.
  18. NOTE: Source installation is the only form I support for unix systems.
  19. I do not release ULarn executables for the X11 version as there
  20. are way too many variants.
  21. To compile and install ULarn:
  22. 1. Edit makefile.tty to set system specific include and library paths.
  23. This may not be necessary as the default include path is the most
  24. common location for the necessary include files.
  25. Change the INSTALL_PATH and LIB_PATH in to specify the desired install
  26. location.
  27. Set LIB to the curses library you are using (probably -lncurses for linux
  28. or -lcurses for other unix variants).
  29. 2. Edit config.h
  30. a) Set LIBDIR to the install location of the lib directory
  31. b) Make sure that only the appropriate O/S define is uncommented.
  32. (UNIX_TTY for the TTY version).
  33. 4. Compile using make -f Makefile.tty
  34. 5. Install using make -f Makefile.tty install