Re: Getting readline to work in scheme-sandbox

2023-01-10 Thread Kevin Cole
On Tue, Jan 10, 2023 at 2:38 PM David Wright wrote: > > On Tue 10 Jan 2023 at 10:34:19 (-0500), Kevin Cole wrote: > > An old thread at > > https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html > > finished up with: > > > > > From:Michael Käppler > > > Subject:Re: Getting readline

Re: Getting readline to work in scheme-sandbox

2023-01-10 Thread Kevin Cole
On Tue, Jan 10, 2023 at 2:38 PM David Wright wrote: > > On Tue 10 Jan 2023 at 10:34:19 (-0500), Kevin Cole wrote: > > An old thread at > > https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html > > finished up with: > > > > > From:Michael Käppler > > > Subject:Re: Getting readline

Re: Getting readline to work in scheme-sandbox

2023-01-10 Thread David Wright
On Tue 10 Jan 2023 at 10:34:19 (-0500), Kevin Cole wrote: > An old thread at > https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html > finished up with: > > > From:Michael Käppler > > Subject:Re: Getting readline to work in scheme-sandbox > > Date:Fri, 17 Jan 2020 23:22:38 +0100 >

Re: Getting readline to work in scheme-sandbox

2023-01-10 Thread Kevin Cole
An old thread at https://mail.gnu.org/archive/html/lilypond-user/2020-01/msg00350.html finished up with: > From:Michael Käppler > Subject:Re: Getting readline to work in scheme-sandbox > Date:Fri, 17 Jan 2020 23:22:38 +0100 > > Am 17.01.2020 um 00:32 schrieb Knute Snortum: > >> That did it!

Re: Getting readline to work in scheme-sandbox

2020-01-17 Thread Michael Käppler
Am 17.01.2020 um 00:32 schrieb Knute Snortum: That did it! Thanks! Nice to hear, a very ugly 'fix', though. I will continue investigating. --- Knute Snortum (via Gmail) On Thu, Jan 16, 2020 at 1:06 PM Michael Käppler wrote: Am 16.01.2020 um 19:45 schrieb Knute Snortum: I used "make

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Knute Snortum
That did it! Thanks! --- Knute Snortum (via Gmail) On Thu, Jan 16, 2020 at 1:06 PM Michael Käppler wrote: > > Am 16.01.2020 um 19:45 schrieb Knute Snortum: > > I used "make install" to install libguilereadline. > > > > I've attached config.log and libguilereadline.dump. > > > > --- > > Knute

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Michael Käppler
Am 16.01.2020 um 19:45 schrieb Knute Snortum: I used "make install" to install libguilereadline. I've attached config.log and libguilereadline.dump. --- Knute Snortum (via Gmail) Ok, seems that your libguilereadline-v-17 has been built correctly against the readline-8.0 library, which you

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Knute Snortum
I used "make install" to install libguilereadline. I've attached config.log and libguilereadline.dump. --- Knute Snortum (via Gmail) On Thu, Jan 16, 2020 at 12:51 AM Michael Käppler wrote: > > Am 15.01.2020 um 23:55 schrieb Knute Snortum: > > Okay, I built guile 1.8.7 after installing GNU MP

Re: Getting readline to work in scheme-sandbox

2020-01-16 Thread Michael Käppler
Am 15.01.2020 um 23:55 schrieb Knute Snortum: Okay, I built guile 1.8.7 after installing GNU MP and flex, but I get the same error: guile> (use-modules (ice-9 readline)) ERROR: readline is not provided in this Guile installation ABORT: (misc-error) So I redid the strace and I attached the log

Re: Getting readline to work in scheme-sandbox

2020-01-15 Thread Michael Käppler
Do you have "gettext" installed? If not, please install and retry. Am 15.01.2020 um 18:38 schrieb Knute Snortum: I didn't get past autogen: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 configure.ac:905: warning: macro

Re: Getting readline to work in scheme-sandbox

2020-01-15 Thread Knute Snortum
I didn't get past autogen: autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 configure.ac:905: warning: macro 'AM_GNU_GETTEXT' not found in library autoreconf: configure.ac: tracing autoreconf: configure.ac: adding

Re: Getting readline to work in scheme-sandbox

2020-01-15 Thread Michael Käppler
Ok, seems that guile-2.2-libs does not provide libguilereadline... I think the remaining option is to build guile-1.8 from scratch. First make sure that you have libreadline-dev installed, then, in your home directory, do: git clone -b branch_release-1-8 --single-branch

Re: Getting readline to work in scheme-sandbox

2020-01-14 Thread Michael Käppler
This is weird. Seems that strace does not recognize the shebang in the lilypond script. Could you please to try to execute the steps in the startup script directly? I assume you used the vanilla lilypond installer and installed to your home directory /home/knute/: export

Re: Getting readline to work in scheme-sandbox

2020-01-14 Thread Knute Snortum
It looks like I get an error in strace. The sandbox is never executed: execve("/home/knute/bin/lilypond", ["lilypond", "scheme-sandbox.ly"], 0x7ffe4792c428 /* 53 vars */) = -1 ENOEXEC (Exec format error) strace: exec: Exec format error +++ exited with 1 +++ --- Knute Snortum (via Gmail) On

Re: Getting readline to work in scheme-sandbox

2020-01-13 Thread Michael Käppler
Hi Knute, I'm currently working on this problem. A library called libguilereadline, that comes with guile, does provide the interface to the libreadline library. The version we ship with our packages, however, seems to be broken somehow. There are some ways to get around this. Do you have