README 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. avram - applicative virtual machine code interpreter
  2. Copyright (C) 2006,2007,2012 Dennis Furey
  3. This package includes a virtual machine code interpreter and a
  4. development library. It enables you to run programs that have been
  5. compiled into the virtual code format that it uses. A compiler to
  6. generate code in this format is available separately at
  7. http://gueststar.github.com/ursala.
  8. The quick install guide (assuming you have root):
  9. -----------------------
  10. Change to the directory with this README file in it, and do the
  11. following.
  12. configure
  13. make
  14. su
  15. make install
  16. If this doesn't work, try reading INSTALL, and please let me know what
  17. you had to do to get it to work so I can include it in this file or
  18. improve the configuration script.
  19. Installation for non-root users (whose admins are busy):
  20. -------------------------------
  21. Change to the directory with this README file in it and type
  22. configure --prefix=$HOME
  23. make
  24. make install
  25. The avram binary will be installed under $HOME/bin, which you need to
  26. put in your path. You might also want to modify your $MANPATH and your
  27. $INFOPATH environment variables to include $HOME/man and $HOME/info.
  28. You may substitute any directory you own for $HOME.
  29. See below if you want to link avram with external math libraries,
  30. which will need to be installed first.
  31. Installation for non-root users with small disk quotas (aka students):
  32. ------------------------------------------------------
  33. Unpack the tarball in /tmp, which is world writable on most systems,
  34. cd to /tmp/avram-0.3.0 (or current version) and type
  35. configure --prefix=/tmp
  36. make
  37. strip src/avram
  38. The third line is optional but recommended. When it's finished
  39. building, copy src/avram to your home directory wherever you keep your
  40. executables (probably ~/bin). You won't have any on-line documentation
  41. with this kind of installation, but you can always read it on the home
  42. page. Nor will you be able to link your own code against the avram
  43. library, but you'll use only a few hundred kbytes for the executable
  44. and will be able to execute unmodified virtual code scripts if they're
  45. done right.
  46. A combination of the above installations is to follow the building in
  47. /tmp with make install, and then copy /tmp/lib to your home directory
  48. as well as /tmp/bin/avram. That will give you the executable and the
  49. library but no documentation.
  50. Installation of Expect
  51. ----------------------
  52. Avram has cooler features when built on a machine with the expect
  53. library, available at http://expect.sourceforge.net. If your system
  54. doesn't have any files named /usr/lib/*expect* or
  55. /usr/local/lib/*expect*, you might want to install the expect library
  56. in order to get the full benefit before installing avram. Version
  57. numbers shown below may vary.
  58. 1) download tcl8.5.12-src.tar.gz and expect5.45.tar.gz
  59. 2) tar -zxvf tcl8.5.12-src.tar.gz
  60. 3) tar -zxvf expect5.45.tar.gz
  61. 4) cd tcl8.5.12/unix
  62. 5) su
  63. 6) configure; make; make install
  64. 7) cd ../../expect-5.45
  65. 8) configure; make; make install
  66. It is possible to install these libraries non-root by using configure
  67. --prefix=$HOME. As a show of my solidarity with non-root users, I've
  68. made the avram configure script look under $HOME for shared libraries
  69. and header files. You will then have to put your $HOME/lib directory
  70. in your LD_LIBRARY_PATH environment variable.
  71. Installation of other libraries
  72. -------------------------------
  73. Some other libraries with which avram is able to interface may be of
  74. interest. These should be installed prior to compiling avram, if you
  75. want, but avram will also work without them.
  76. * gsl integration, differentiation, and series acceleration
  77. * mpfr arbitrary precision arithmetic
  78. * minpack non-linear optimization
  79. * lapack linear algebra
  80. * fftw fast fourier transforms
  81. * Rmath statistical and transcendental functions
  82. * ufsparse sparse matrices
  83. * glpk linear programming by the simplex method
  84. Keep an eye on the output messages from the configuration script to
  85. ensure the libraries you want have been detected if you're compiling
  86. avram yourself, and then as a check execute "avram -e" with the newly
  87. built binary.
  88. Comments are welcome.
  89. - Dennis Furey <[email protected]>