[lispy-devel] Question about installing...

Patrick Stein pat at nklein.com
Thu Dec 31 14:51:54 UTC 2009


On Wed, Dec 30, 2009 at 11:00 PM, Matthew Kennedy
<mkennedy at common-lisp.net> wrote:
> Could you post the Lispy asdf-config.lisp and installation.lisp-expr
> you have as well as a directory listing (ls -l /usr/local/lispy/)?

=================================================

(LET ((ROOT (MAKE-PATHNAME :DIRECTORY (PATHNAME-DIRECTORY *LOAD-TRUENAME*))))
  (DOLIST
      (PATH
       '(#P"asdf-binary-locations/" #P"cl-unicode-0.1.1/" #P"cl-ppcre-2.0.1/"
         #P"lispy-gpgme/" #P"trivial-shell/" #P"log5/" #P"cl-fad-0.6.2/"
         #P"ironclad_0.27/" #P"archive_0.7.0/" #P"salza-0.7.4/"
         #P"gzip-stream_0.1/" #P"flexi-streams-1.0.7/"
         #P"alexandria-2009-08-13/" #P"trivial-features_0.5/" #P"babel_0.3.0/"
         #P"cffi_0.10.5/" #P"cl+ssl-2008-11-04/" #P"split-sequence-2002-04-10/"
         #P"usocket-0.4.1/" #P"trivial-gray-streams-2008-11-02/"
         #P"chunga-1.1.0/" #P"puri-1.5.1/" #P"cl-base64-3.3.3/"
         #P"drakma-1.0.0/" #P"lispy-0.5/"))
    (PUSHNEW (MERGE-PATHNAMES PATH ROOT) ASDF:*CENTRAL-REGISTRY* :TEST 'EQUAL)))
=================================================
total 112
drwxr-xr-x@ 44 pat  wheel   1496 Dec 30 16:54 alexandria-2009-08-13
drwxr-xr-x@ 17 pat  wheel    578 Dec 30 16:47 archive_0.7.0
drwxr-xr-x@  3 pat  wheel    102 Jun 23  2007 asdf-1.108
drwxr-xr-x  11 pat  wheel    374 Dec 30 16:46 asdf-binary-locations
-rw-r--r--@  1 pat  wheel    784 Dec 30 16:46 asdf-config.lisp
-rw-r--r--@  1 pat  wheel  46777 Dec 23 14:53 asdf.lisp
drwxr-xr-x@ 13 pat  wheel    442 Jul 28  2008 babel_0.3.0
drwxr-xr-x@ 19 pat  wheel    646 Jun 16  2009 cffi_0.10.5
drwxr-xr-x@ 15 pat  wheel    510 Dec 30 16:47 chunga-1.1.0
drwxr-xr-x@ 20 pat  wheel    680 Dec 30 16:47 cl+ssl-2008-11-04
drwxr-xr-x@  9 pat  wheel    306 Dec 30 16:47 cl-base64-3.3.3
drwxr-xr-x@ 14 pat  wheel    476 Dec 30 16:47 cl-fad-0.6.2
drwxr-xr-x@ 43 pat  wheel   1462 Dec 30 16:54 cl-ppcre-2.0.1
drwxr-xr-x@ 16 pat  wheel    544 Dec 23 14:57 cl-unicode-0.1.1
drwxr-xr-x@  3 pat  wheel    102 Dec 30 16:46 distfiles
drwxr-xr-x@ 13 pat  wheel    442 Dec 30 16:47 drakma-1.0.0
drwxr-xr-x@ 27 pat  wheel    918 Dec 30 16:47 flexi-streams-1.0.7
drwxr-x---@ 11 pat  wheel    374 Dec 30 16:47 gzip-stream_0.1
-rw-r--r--@  1 pat  wheel   2910 Dec 30 16:46 installation.lisp-expr
drwxr-xr-x@ 57 pat  wheel   1938 Dec 30 16:47 ironclad_0.27
drwxr-xr-x@ 42 pat  wheel   1428 Dec 30 16:52 lispy-0.5
drwxr-xr-x@ 15 pat  wheel    510 Apr 10  2008 lispy-gpgme
drwxr-xr-x@  9 pat  wheel    306 Dec 22  2007 log5
drwxr-xr-x@  4 pat  wheel    136 Dec 23 14:57 maps
drwxr-xr-x@  9 pat  wheel    306 Dec 30 16:47 puri-1.5.1
drwxr-xr-x@ 17 pat  wheel    578 Dec 30 16:47 salza-0.7.4
drwxr-xr-x@  6 pat  wheel    204 Dec 30 16:47 split-sequence-2002-04-10
drwxr-xr-x@ 10 pat  wheel    340 Jun 14  2009 trivial-features_0.5
drwxr-xr-x@ 10 pat  wheel    340 Dec 30 16:47 trivial-gray-streams-2008-11-02
drwxr-xr-x@ 11 pat  wheel    374 Sep  1  2008 trivial-shell
drwxr-xr-x@ 16 pat  wheel    544 Dec 30 16:47 usocket-0.4.1
=================================================

> Are those files writeable by the user your run SBCL under?  A system
> wide installation (like using /usr/local) is not something Lispy was
> designed explicitly for.  I'm pretty sure it would not work unless it
> is writeable.

I understand that neither ASDF nor Lispy are particularly intended for
system-wide installation (at least without asdf-binary-locations).
But, I am the only user on my machine and I own /usr/local/lispy/.

> What happens if you try it all without using asdf-binary-locations?

The problem is the same.  Before I load Lispy, I do not have OSICAT in
my ASDF path.  After I load Lispy, I already have OSICAT loaded so I
cannot install it.

Actually, I just untarred Lispy again to look around.  Here is an
untouched lispy-all-0.5/lispy-0.5 directory:
=================================================
total 152
-rw-r--r--@ 1 pat  staff  17992 Dec 23 14:58 COPYING
-rw-r--r--@ 1 pat  staff    284 Dec 23 14:58 README
-rw-r--r--@ 1 pat  staff   1014 Dec 23 14:58 TODO
-rwxr-xr-x@ 1 pat  staff   2318 Dec 23 14:58 bootstrap.sh
-rw-r--r--@ 1 pat  staff   1360 Dec 23 14:58 lispy.asd
-rw-r--r--@ 1 pat  staff  17483 Dec 23 14:58 lispy.lisp
-rw-r--r--@ 1 pat  staff    853 Dec 23 14:58 logging.lisp
-rw-r--r--@ 1 pat  staff   1141 Dec 23 14:58 packages.lisp
-rw-r--r--@ 1 pat  staff   1224 Dec 23 14:58 specials.lisp
-rw-r--r--@ 1 pat  staff   2591 Dec 23 14:58 utils.lisp
-rw-r--r--@ 1 pat  staff   2647 Dec 23 14:58 verify.lisp
=================================================

and, here is my /usr/local/lispy/lispy-all-0.5/lispy-0.5/ directory:
=================================================
total 168
-rw-r--r--@  1 pat  wheel  17992 Dec 23 14:58 COPYING
-rw-r--r--@  1 pat  wheel    284 Dec 23 14:58 README
-rw-r--r--@  1 pat  wheel   1014 Dec 23 14:58 TODO
drwxr-xr-x  26 pat  wheel    884 Dec 30 16:38 alexandria-2009-08-13
drwxr-xr-x   3 pat  wheel    102 Dec 30 16:37 asdf-1.108
drwxr-xr-x  11 pat  wheel    374 Dec 30 16:37 asdf-binary-locations
-rw-r--r--   1 pat  wheel    721 Dec 30 17:16 asdf-config.lisp
drwxr-xr-x  13 pat  wheel    442 Dec 30 16:38 babel_0.3.0
-rwxr-xr-x@  1 pat  wheel   2318 Dec 23 14:58 bootstrap.sh
drwxr-xr-x   7 pat  wheel    238 Dec 30 16:38 bordeaux-threads_0.6.0
drwxr-xr-x  29 pat  wheel    986 Dec 30 16:39 cells_2.0
drwxr-xr-x  19 pat  wheel    646 Dec 30 16:39 cffi_0.10.5
drwxr-xr-x  13 pat  wheel    442 Dec 30 16:39 cl-fad-0.6.2
drwxr-xr-x  25 pat  wheel    850 Dec 30 16:40 cl-ppcre-2.0.1
drwxr-xr-x  16 pat  wheel    544 Dec 30 16:40 cl-unicode-0.1.1
drwxr-xr-x   8 pat  wheel    272 Dec 30 16:41 cl-who-0.11.1
drwxr-xr-x  15 pat  wheel    510 Dec 30 16:41 closer-mop_0.55
drwxr-xr-x  25 pat  wheel    850 Dec 30 16:52 distfiles
drwxr-xr-x  26 pat  wheel    884 Dec 30 16:41 flexi-streams-1.0.7
-rw-r--r--   1 pat  wheel   2638 Dec 30 16:52 installation.lisp-expr
drwxr-xr-x  56 pat  wheel   1904 Dec 30 16:49 ironclad_0.27
drwxr-xr-x  10 pat  wheel    340 Dec 30 16:49 iterate-1.4.3
-rw-r--r--@  1 pat  wheel   1360 Dec 23 14:58 lispy.asd
-rw-r--r--@  1 pat  wheel  17483 Dec 23 14:58 lispy.lisp
-rw-r--r--@  1 pat  wheel    853 Dec 23 14:58 logging.lisp
drwxr-xr-x   4 pat  wheel    136 Dec 30 16:33 maps
drwxr-xr-x  15 pat  wheel    510 Dec 30 16:50 osicat_0.6.0
-rw-r--r--@  1 pat  wheel   1141 Dec 23 14:58 packages.lisp
drwxr-xr-x   8 pat  wheel    272 Dec 30 16:50 puri-1.5.1
drwxr-xr-x   7 pat  wheel    238 Dec 30 16:50 s-xml
drwxr-xr-x  16 pat  wheel    544 Dec 30 16:50 salza-0.7.4
drwxr-xr-x   8 pat  wheel    272 Dec 30 16:48 sbcl-1.0.30-darwin-x86
-rw-r--r--@  1 pat  wheel   1224 Dec 23 14:58 specials.lisp
drwxr-xr-x  10 pat  wheel    340 Dec 30 16:38 trivial-features_0.5
drwxr-xr-x   9 pat  wheel    306 Dec 30 16:41 trivial-gray-streams-2008-11-02
drwxr-xr-x  18 pat  wheel    612 Dec 30 16:52 uffi-1.6.2
-rw-r--r--@  1 pat  wheel   2591 Dec 23 14:58 utils.lisp
-rw-r--r--@  1 pat  wheel   2647 Dec 23 14:58 verify.lisp
drwxr-xr-x   9 pat  wheel    306 Dec 30 16:52 xmls-1.2
=================================================

So, I've managed to somehow get some stuff installed at the same level
as Lispy-0.5 and some stuff installed within the Lispy-0.5/ directory.
 Erf.  Maybe I should try starting over here.  But, where are these
things supposed to end up?  In lispy-all-0.5/ or in
lispy-all-0.5/lispy-0.5/ ?

More on that later,
Patrick




More information about the lispy-devel mailing list