home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0289.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  2.7 KB  |  55 lines

  1. This is a followup to a previous note I sent requesting help with fixing
  2. Opus 38.91 of Franz and Flavors running on a Vax780 under 4.2BSD.
  3.  
  4. First, I want to thank the many people who had helpful suggestions on
  5. what may have been going wrong. Given the small amount of information I
  6. provided on the problem, some of them were remarkably relevant.
  7.  
  8. The problem had to do with certain functions such as "describe" going
  9. south when invoked on a FLAVOR object. The solution was (at least) two
  10. fold. One, which I alluded to in the previous note, had to do with the
  11. distributed file "hash.l" containing invalid calls on the intrinsic
  12. "getlength" function with a vector argument. These calls had to be
  13. changed to "vsize" instead (actually "getlength" could probably have
  14. been redefined to allow vectors...). Whatever, that solved that part.
  15.  
  16. The second solution had to do with how WE at NCARAI were installing
  17. Franz. We have a set of directories for "local" software into which
  18. we wanted to put the "new" Franz. As such, I went through all the
  19. "Makefile"s and changed default directories for such things as the
  20. libraries and objects, etc. While doing this, it was noted that certain
  21. files in the "lisplib" directory had hard-coded the default names for, for
  22. example, the library. Since our library was not in the same place as
  23. this default, these lines were "commented out" (with an "exit")...with
  24. the result that the Franz and Liszt installations did not go as smoothly
  25. as I thought. It turns out that these lines also should be changed to
  26. reflect the appropriate directory. They are in the files "buildlisp.l",
  27. "common1.l", and "fix.l" in the lisplib directory (possibly others exist as
  28. well). The pertinent lines read something like:
  29.  
  30.     (or (boundp 'default-library-directory)
  31.         (setq default-library-directory '/usr/lib/lisp))
  32.  
  33. During the installation (done on a CRT) I was doing something else. Thus
  34. when the mods made (namely changing the "setq" call above into an "exit")
  35. were invoked, I didn't notice later that a number of things which SHOULD have
  36. happened didn't (they'd gone off the screen...). Needless to say, this
  37. caused all sorts of bizarre inconsistencies (especially since our last
  38. installation DID use the default directories...).
  39.  
  40. Anyway, notes for the future:
  41.  
  42.     (1) If ftp'ing Franz from ucbkim be sure to get the stuff in the
  43.         "flavors" directory as well. This contains a new "hash.l"
  44.         modified by SMH to use "vsize" rather than "getlength".
  45.  
  46.     (2) If not using the default directories for the installation,
  47.         change the names in the above files as well to reflect the
  48.         appropriate place(s)...sigh.
  49.  
  50. Yours (with an apparently working Franz+flavors),
  51.  
  52. Russ <Smith@nrl-aic>
  53. Navy Center for Applied Research in Artificial Intelligence (whew!)
  54.  
  55.