From: Jason Addison <jraddison@gm...> - 2004-10-26 04:16:42
I'm trying to figure out how to set up a local lisp development
environment on Linux. I have a system for C/C++/Python world, but when
it comes to lisp I'm lost.
As I install a lot of stuff locally, I try to mimic the root directory
structure with ~/usr/bin, ~/usr/lib, ~/usr/include, ... and set
environment variables CPATH, LIBRARY_PATH, PYTHONPATH, ... as needed.
Coming from a C/C++/Python background this set up makes me
comfortable, and I know how to get around (libs in ~/usr/lib, header
files in ~/usr/include, python packages in
~/usr/lib/python2.3/site-packages, emacs packages in
~/usr/shar/emacs/site-lisp, ...). When I get a new tar ball, it goes
into ~/usr/srt. I then untar it into ~/usr/src where I build the
package and install it.
I see that lisp does not really fit into my neat little
configure..make..make install world. What are the analogous file
structures, routines, ... for lisp?
I've built and done a local install of clisp (prefix = ~/usr) and I
see that things are in their natural place (bin, libs (how are these
use?? what is .mem??), <no header files>). So, where is the natural
place for new common lisp packages like asdf? Do I need to set
environment variables so lisp can find where I put packages/stuff? I
tried to mimic the set up on cliki/Getting Started. I faked a clisp
init file with "alias clisp='clisp -i ~/.clisp-init.lisp'" which runs
~/etc/lsip/lboot/start.lisp which loads some other stuff. ~/etc is
probably not the "right" place for this stuff?!
Anyway, I would like any advice anyone has on setting up an
environment, typical package directory structure, typical lisp related
routines, ...? What are some of the packages that I will want to get?