wanted: get rid of SBCL_HOME and run-sbcl.sh -- too much hassle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Wishlist
|
Nikodemus Siivola |
Bug Description
issue:
-------
- SBCL_HOME is cumbersome, misconfiguration results in seemingly unrelated errors leading to long headaches
- run-sbcl.sh interferes with argv parsing
notation:
-----------
- in this document 'ROOT' means the checked out directory of the SBCL git repository
suggested solution:
-------
- make.sh should put all the install-ready files into ROOT/build (or somesuch, but don't conflate it with the current temporary directory called 'output').
the files needed for running sbcl are:
- all the built contribs (currently ROOT/obj/
- sbcl.core (currently ROOT/output/
- sbcl executable (currently ROOT/src/
- get rid of run-sbcl.sh, people should run ROOT/build/sbcl directly
- if SBCL_HOME is not set, then initialize the internal variables to the pwd of the sbcl executable (resolve symlinks or not?)
- never set SBCL_HOME (maybe even get rid of it?)
consequences:
-------------
- with this setup the traditional unix way of installing (the binary and the core in a separate directory) will not work without either setting SBCL_HOME, or trying the standard unix path's.
- the windows installer could install sbcl into any directory and it would just work.
- checked out and built repos would just work, making it easy to keep a few different sbcl's around
summary: |
- SBCL_HOME, run-sbcl.sh -- too complicated + wanted: get rid of SBCL_HOME and run-sbcl.sh -- too much hassle |
tags: | added: build pathnames |
tags: | added: install |
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
description: | updated |
description: | updated |
Changed in sbcl: | |
status: | Confirmed → Fix Released |
I basically agree.
This couples nicely with my plan for new installation where /usr/local/bin/sbcl -> /usr/local/ lib/sbcl/ <version> /sbcl-runtime or equivalent.