TEXT   18
VFX Forth for Linux Installation Notes
Guest on 17th March 2023 01:09:42 PM


  1. Because of the hassle of packaging for Linux, VFX Forth for Linux
  2. is provided as a tarball.
  3.  
  4. After extracting the tarball, you must copy the executables and
  5. shared libraries to the directories expected by your
  6. distribution.
  7.  
  8. After installation, you will find the PDF manual as
  9.   <VfxRoot>/Doc/VfxLin.pdf
  10.  
  11.  
  12. Installing from the tarball .tar.gz
  13. -----------------------------------
  14. The tarball was created with
  15.  tar -zcvf ...
  16. Extract the tarball to a suitable directory.
  17.  tar -zxvf ...
  18. A directory <VfxLinxxx> will be created containing all the VFX
  19. Forth files, where xxx is one of Eval, Standard, Pro and Mission.
  20. Change to this directory.
  21.    cd <VfxLinxxx>
  22.  
  23. The directory incudes a shell script
  24.   ./InstallMe.Lin32.sh
  25. that performs the installation on most 32 bit Linux distributions.
  26. You will have to edit this for 64 bit distributions.
  27.  
  28. The instructions below for a tarball apply if you are installing
  29. manually.
  30.  
  31. The executables and shared libraries are in the Bin subdirectory.
  32. You should now copy these to the "right" places for your
  33. distribution, usually /usr/bin and /usr/lib for 32 bit
  34. distributions. The files to copy to /usr/bin are Bin/vfxlin and/or
  35. Bin/vfxlin386. The files to copy to /usr/lib are
  36. Bin/libmpeparser.so.0 and Bin/vfxsupp.so.1.0.1. This last needs a
  37. symbolic link as vfxsupp.so.1.
  38.   ln -s vfxsupp.so.1.0.1 vfxsupp.so.1
  39.  
  40. The shared library libmpeparser.so.0 contains the code
  41. to support persistent INI files and and vfxsupp.so.1.0.1
  42. contains a large number of (case-sensitive) constants from
  43. Linux header files.
  44.  
  45. Some modern 64 bit distributions do not include the 32 bit
  46. run-time libc library needed by VFX Forth for Linux. You may
  47. have to install this yourself. The package is usually called
  48. libc6-i386.
  49.  
  50.  
  51. PDFtex
  52. ------
  53. If you are going to use the DocGen documentation generator to
  54. produce PDF files, you will need to install a copy of LaTex2e.
  55. You will also need the PDF version, usually called pdftex.
  56. You will probably have a version already installed. If not,
  57. consult the installation system for your Linux distribution.
  58.  
  59. Directory structure
  60. -------------------
  61. /usr/bin   - binaries
  62. ~/VfxLinxx - or wherever you put it
  63.   Bin      - Executables and their related files
  64.   Doc      - Manuals and documentation
  65.     AnsForth.Htm - ANS Forth HTML documentation
  66.     VfxLin.htm   - VFX Forth HTML documentation
  67.   EXAMPLES - Examples to look at and use
  68.     - has subdirectories
  69.   Kernel   - source code if applicable
  70.     - has subdirectories, not present in all versions
  71.   Lib      - library of tools maintained by MPE
  72.     FSL    - A port of the Forth Scientific Library
  73.     Genio  - Examples of Generic I/O drivers
  74.     Lin32  - Linux specific code
  75.     OOP    - Several OOP packages
  76.     SharedLibs - interfaces to common libraries
  77.   SOURCES  - source code if applicable
  78.     - has subdirectories, not present in all versions
  79.   TOOLS    - useful third party and O/S specific tools
  80.            - not present in all versions
  81.   VFXBase  - source code if applicable
  82.     - has subdirectories, not present in all versions
  83.   XTRA     - Additional third party O/S specific tools
  84.            - not present in all versions
  85.  
  86. Assumptions
  87. -----------
  88. VFX Forth requires the following shared libraries in order to
  89. start:
  90.   /lib/ld-linux.so.2
  91.   libc.so.6
  92. Users report that installing a symbolic link has fixed startup
  93. problems.
  94.  
  95.  
  96. Configuration
  97. -------------
  98. Now please read the PDF manual for details of how to configure
  99. VFX Forth to know about your favourite editor and so on.

Raw Paste

Login or Register to edit or fork this paste. It's free.