ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Nov/Lisp-problems-and-questions

This is Lisp-problems-and-questions in view mode; [Up]


Date: Sun 19-Nov-1989 21:46:14 From: Unknown Subject: Lisp problems and questions A few weeks ago I sent the following mail message to someone at Franz, Inc. concerning some problems with Lisp. Apparently it failed to reach him. Can someone on the net help me? Thanks very much. govind ____________________________ I ftp'ed the clman stuff from the berkeley machine and tried to install. I am having some problems. I think the problems arise due to the use of load-file and concat. When I changed load-file to load, and concat to concatenate (with 'string), it doesn't work either. It complains that there is an "Error in init file." When I comment out the loading of the file "next-clman.el", emacs does not complain. I can get help for "apropos" using Esc. a. Am I doing something obviusly wrong? (I should tell you that I am not an emacs expert, yet. My lisp experience is on the Xerox D-machines and on Mac IIs (Allegro CL in Mac OS).) I have another problem with Lisp on the NeXT machine, this time with pcl. I cannot manage to compile pcl. It goes on merrily until it starts to compile fixup.cl. It fails with the following message: ; --- Compiling file /usr/cl/pcl/fixup.cl --- ; Compiling print-iwmc-class Error (from error): No matching method for the generic-function #<Function class-precedence-list @ #x39d259>, when called with arguments (#<instance ?? 13201141>). ; Auto-exit ; Exiting Lisp *** Exit 1 Stop. I would like to compile pcl because make-instance doesn't work the way I expect it to work. It doesn't let me initialize variables at the time of creation. make-instance does not accept any arguments other than the class name. I thought a freshly compiled pcl will help. I would appreciate it if you could point me in the right direction. Thank you very much. govind T. Govindaraj, Ph.D. Associate Professor of Industrial and Systems Engineering tg@chmsr.UUCP or tg@chmsr.gatech.edu >From: mahesh@ithiliencc.nd.edu (Mahesh Subramanya)
Date: Sun 20-Nov-1989 20:32:38 From: Unknown Subject: Re: Lisp problems and questions Date: 19 Nov 89 21:46:14 GMT Sender: news@prism.gatech.EDU Reply-To: tg@chmsr.gatech.edu (T. Govindaraj) I have another problem with Lisp on the NeXT machine, this time with pcl. I cannot manage to compile pcl. It goes on merrily until it starts to compile fixup.cl. It fails with the following message: ; --- Compiling file /usr/cl/pcl/fixup.cl --- ; Compiling print-iwmc-class Error (from error): No matching method for the generic-function #<Function class-precedence-list @ #x39d259>, when called with arguments (#<instance ?? 13201141>). ; Auto-exit ; Exiting Lisp *** Exit 1 The problem here appears to be that you are trying to compile PCL in an environment in which it is already loaded. PCL can't be compiled or loaded on top of itself. Get a lisp without PCL in it, and then compile it. If that is what you want to do, which I don't think it is. I would like to compile pcl because make-instance doesn't work the way I expect it to work. It doesn't let me initialize variables at the time of creation. You don't say what version of PCL you are using (what is the value of the variable *pcl-system-date*), but I assume it is a moderately old one. If you real the file notes.text in the pcl directory, you will see that there are a number of differences between PCL and real CLOS. In each successive release of PCL, we remove some of those differences, PCL is converging on CLOS. It appears that you have a version of PCL which implements and old version of the initialization protocol. There is very little documentation on PCL, but it is imperative that you read all of it there is if you want to be able to make productive use of PCL. I suggest you start by reading not only the newest notes file, but also some of the older xxx-notes files. I don't read usenet very often. If you have any more questions I suggest you send a message to the CommonLoops@xerox.com mailing list. >From: keith@prism.gatech.EDU (Keith Edwards)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.