home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / 2313 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.9 KB  |  51 lines

  1. Newsgroups: comp.lang.lisp
  2. Path: sparky!uunet!caen!batcomputer!cornell!raman
  3. From: raman@cs.cornell.edu (T. V. Raman)
  4. Subject: Re: Defsystem: Is this is a feature or a bug?
  5. Message-ID: <1992Aug27.161401.6984@cs.cornell.edu>
  6. Organization: Cornell Univ. CS Dept, Ithaca NY 14853
  7. References: <1992Aug23.130346.22483@cs.cornell.edu> <1992Aug26.163927.16225@puma.ATL.GE.COM>
  8. Date: Thu, 27 Aug 1992 16:14:01 GMT
  9. Lines: 40
  10.  
  11. sjameson@atl.ge.com (Stephen M Jameson) writes:
  12.  
  13. >[***]
  14. >>With the above setup if I do:
  15. >>(load-system 'main)
  16. >>
  17. >>I get the following error:
  18. >>package sub1 is not valid: supply a new package.
  19. >>
  20. >[***]
  21. >>All explanations/tips welcome, maybe there is a good reason why
  22. >>defsystem does the above.
  23. >>
  24. >>--Raman
  25. >>-- 
  26.  
  27. >You do not indicate what Lisp you are using.  If you are using a Symbolics, I
  28. >would guess that the problem is that the file sub1.system (or whatever the
  29. >system declaration file is) has ";;; -*- ... Package:  SUB1" in the header
  30. >line, and as soon as it tries to read the file, it complains about the lack of
  31. >this package.  As someone else has pointed out (probably barmar), all system
  32. >and package declaration files should be created and read in the USER package.
  33. >If you are not using a Lispm, I would need more information.  
  34.  
  35. I am using lucid common lisp 4.1 on a sparc station with the defsystem
  36. available from cmu in the lisp-utilities directory.
  37.  
  38. Thanks,
  39. >Good luck.
  40.  
  41. >-- 
  42. >Steve Jameson                           General Electric Aerospace 
  43. >sjameson@atl.ge.com                     Advanced Technology Laboratories
  44. >                                        Moorestown, New Jersey              
  45. >****************************************************************************
  46. -- 
  47.    T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202  R 272-3649
  48.                        Office: 4116 Upson Hall,
  49. Department of Computer Science, Cornell University Ithaca NY 14853-6201
  50.                 Res: 226 Bryant Avenue Ithaca NY 14850
  51.