home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / 2303 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.5 KB

  1. Path: sparky!uunet!crdgw1!ge-dab!puma.ATL.GE.COM!sjameson
  2. From: sjameson@atl.ge.com (Stephen M Jameson)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Defsystem: Is this is a feature or a bug?
  5. Message-ID: <1992Aug26.163927.16225@puma.ATL.GE.COM>
  6. Date: 26 Aug 92 16:39:27 GMT
  7. References: <1992Aug23.130346.22483@cs.cornell.edu>
  8. Sender: news@puma.ATL.GE.COM (USENET News System)
  9. Organization: General Electric Company
  10. Lines: 29
  11. In-Reply-To: raman@cs.cornell.edu's message of 23 Aug 92 13:03:46 GMT
  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. Good luck.
  36.  
  37. -- 
  38. Steve Jameson                           General Electric Aerospace 
  39. sjameson@atl.ge.com                     Advanced Technology Laboratories
  40.                                         Moorestown, New Jersey              
  41. ****************************************************************************
  42.