Kyoto Common Lisp under SunOS 4.0.3

Edward Vielmetti emv at math.lsa.umich.edu
Fri Jun 29 08:24:42 AEST 1990


Here's something I've saved. You might consider picking up the patches
from rascal.ics.utexas.edu that turn kcl into akcl.  

------- Forwarded Message

X-From: sra at ecs.soton.ac.uk (Stephen Adams)
X-Subject: Re: AKCL SAVE problems
X-Date: 14 Mar 90 09:20:41 GMT

Recently I posted a message asking for help with the SAVE function in
AKCL.  SAVE seemed to just exit with exit code 1.  David Binger
<binger at edu.uiuc.cs.a> seemed to have the same problem:

| I am also puzzled by this, but I have had some success saving akcl on
| SUNOS4.? on a Sparcstation.  It seems to work if and only if the image
| that you are running is in the same directory it was in when you saved it.
| I'm not really sure about that, but it definitely seems to have something
| to do with the pathname to the image.

In case there are others out there with similar problems, I am posting the
reply that I sent to David.

I have now figured it out:

When kcl SAVEs it copies the orginal image file which is argv[0] (or
(system:argv 0) in lisp)  This means that:

1. argv[0] must be an absolute path name or the original image must be in
   the current directory.
2. You need read permission on the image.

The recommended way to achieve (1) is to use the kcl shell script that
lives in <wherever>/unixport/ .  This should invoke kcl using absolute
pathnames:

    #
    /<full-pathname>/saved_kcl <directory-containing-cmpinclude.h>/

My problems arose because

(a) on hp the kcl command was a symbolic link called "kcl" to
    /.../saved_kcl so kcl was looking for "kcl" in the current directory.

(b) on the sun4 it was installed correctly but the permissions where
    r-x--x--x which means that kcl couldnt open the binary to copy it

I hope this helps.  You were right about it being the pathname.

Stephen Adams                        S.Adams at uk.ac.soton.ecs (JANET)
Computer Science                     S.Adams at ecs.soton.ac.uk (Bitnet)
Southampton S09 5NH, UK              S.Adams at sot-ecs.uucp    (uucp)

------- End of Forwarded Message



More information about the Comp.sys.sun mailing list