INSTALL.TTY.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Compiling/Installing TTY VLarn
  2. ------------------------------
  3. VLarn should compile on any Unix like OS (Linux, NetBSD, Solaris, etc).
  4. The code has only been tested on GCC on Unix based systems.
  5. It may or may not work on other compilers.
  6. It has been tested 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 configure script provided (or necessary.)
  11. Some Unix systems may need 'dos2unix' (or an equivalent command to strip ^M)
  12. to be run on the source files and the Makefile before compiling.
  13. NOTE: Source installation is the only form I support for Unix systems.
  14. I do not release VLarn executables for the X11 version as there
  15. are way too many variants.
  16. To compile and install VLarn:
  17. 1. Edit Makefile.TTY to set system specific include and library paths.
  18. This may not be necessary as the default include path is the most
  19. common location for the necessary include files.
  20. Change the INSTALL_PATH and LIB_PATH in to specify the desired install
  21. location.
  22. Set LIB to the curses library you are using (usually -lncurses or -lcurses)
  23. 2. Edit config.h
  24. a) Set LIBDIR to the install location of the lib directory
  25. b) Make sure that only the appropriate O/S define is uncommented.
  26. (UNIX_TTY for the TTY version).
  27. 4. Compile using make -f Makefile.TTY
  28. 5. Install using make -f Makefile.TTY install