Newsgroups: comp.lang.lisp
From: Pascal Bourguignon <s...@thalassa.informatimago.com>
Date: 09 Jun 2003 00:15:42 +0200
Local: Sun, Jun 8 2003 6:15 pm
Subject: Re: Installing software and libraries
Mario S. Mommer <m_mom...@yahoo.com> writes: > Hi, In /local/share/lisp/. > I'd like to find out how people install and use Common Lisp software, > - Where (in what directories) do you put the software, the libraries /usr/local is a symlink to /local I don't know if you've noticed, but most of the stuff under /usr is > - How do you configure it all so that your favorite system definition I've got a ~/.common.lisp file with pure Common-Lisp definitions that > thing finds what you want? is loaded by the various ~/.clisprc.lisp, ~/.sbclrc, ~/.cmucl-init.lisp, etc. In that .common.lisp I define a set of logical hosts and their logical Notably, since packaging it's rather a mess, I have a "LOADER" logical /home/pascal/src/common/lisp/loaders/aima.lisp All these files are loaded with: (load "LOADER:AIMA") ;; or My own code does not need that. I have a ;; Improvements over DEFPACKAGE include: Therefore when I load one of my package, for example with: (load "PACKAGE:COM;INFORMATIMAGO;COMMON-LISP;GEEK-DAY") it loads automatically all the needed packages that are not already I can then call: (COM.INFORMATIMAGO.COMMON-LISP.GEEK-DAY:MAIN) to run the program. > - How do you handle the existence of both asdf and defsystem? Use one or the other depending on what the given package asks me to use. I'm not using them for my own code. Thanks to my DECLARE-PACKAGE macro, I can keep a file/package based development process, and compile each package separately, with a makefile and dependencies (documented in the DECLARE-PACKAGE macro as (:USE) or (:FROM :IMPORT) clauses) built automatically from the sources. I've got no use for separately noted dependencies in a .asdf or .system file. > - How do you handle multiple implementations wrt fasl file For now, I avoid conflicting implementations. > generation and storage? I keep clisp and sbcl, and avoid cmucl. I could change the rules in my ~/src/common/lisp/Makefile.rules to > I know about common-lisp-controller, but it has the drawback that it -- > is only for debian. Are there other, similar tools out there? > Regards, __Pascal_Bourguignon__ http://www.informatimago.com/ ---------------------------------------------------------------------- Do not adjust your mind, there is a fault in reality. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||