scheme / scsh

A Unix shell embedded in scheme
Other
382 stars 36 forks source link

bootstrapping does not work #41

Open bitstreamout opened 5 years ago

bitstreamout commented 5 years ago

As here all packages are build as normal user ant not as root but installed below a DESTDIR the final image nor the binary should point later on DESTDIR but only on the configured prefix. Compare with issue https://github.com/scheme/scsh/issues/30 and commit https://github.com/scheme/scsh/commit/114432435e4eadd54334df6b37fcae505079b49f ... with this commit it is not possible to install and without this commit the installed binary references to DESTDIR

bitstreamout commented 5 years ago

Is this project dead or do maintainers always install as root within the final system?

bitstreamout commented 5 years ago

Now I'm build this beast twice, throwing away the image but include only the .so as well as .scm files as base package and this package is requried during build by the main package which now throws away all .so and .scm files to include only the binary and the now correct image.

It would be really nice to have the possibility to do this in one build run.

Btw: It looks like the ommand line editor does not have a history usable with the cursor keys (clisp has a readline option here), also vi nor emacs command line mode, only real backspace works

roderyc commented 5 years ago

Hello Dr. Fink! Do you have a proposed fix that keeps things working for those who the build already works for? I don't have time to look into this any time soon myself, but I welcome PRs with explanations.

rprimus commented 5 years ago

Wed Mar 20 10:16:40 GMT 2019

@bitstreamout

Btw: It looks like the ommand line editor does not have a history usable with the cursor keys (clisp has a readline option here), also vi nor emacs command line mode, only real backspace works

You can use rlwrap: https://linux.die.net/man/1/rlwrap

rlwrap scsh
bitstreamout commented 5 years ago

On Wed, Mar 20, 2019 at 03:17:42AM -0700, R Primus wrote:

Wed Mar 20 10:16:40 GMT 2019

Btw: It looks like the ommand line editor does not have a history usable with the cursor keys (clisp has a readline option here), also vi nor emacs command line mode, only real backspace works

You can use rlwrap: https://linux.die.net/man/1/rlwrap

rlwrap scsh

Ah .. OK, I know about rlwrap. I'm looking for an builtin or (shared) module for a command line editor. Wasn't there commander-s around some time ago?

It would be perefct to have scsh as a command shell similar to e.g. closh based on clojure an lisp dialect.

rprimus commented 5 years ago

Wed Mar 20 12:48:11 GMT 2019 @bitstreamout

Wasn't there commander-s around some time ago?

I am not familiar with it.

It would be perefct to have scsh as a command shell similar to e.g. closh based on clojure an lisp dialect.

There's also: https://rash-lang.org.

bitstreamout commented 5 years ago

On Wed, Mar 20, 2019 at 05:50:34AM -0700, R Primus wrote:

Wed Mar 20 12:48:11 GMT 2019 @bitstreamout

Wasn't there commander-s around some time ago?

I am not familiar with it.

It would be perefct to have scsh as a command shell similar to e.g. closh based on clojure an lisp dialect.

There's also: https://rash-lang.org.

Nice but it seems not to be possible to get the install tool raco to install without trying to connect download.racket-lang.org which is never allowed within a chroot/container build system. Also it requires root permissions to get installed as system package ... currently I've not found a way with raco to do this a build user below DESTDIR nor a way to refresh /usr/share/racket/info-cache.rktd and /usr/share/racket/pkgs/pkgs.rktd within a %post and %preun rpm scriplet to get the informations below /usr/share/racket/ uptodate if the rpm becomes installed.