lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No readline in scheme-sandbox


From: David Kastrup
Subject: Re: No readline in scheme-sandbox
Date: Sat, 22 Oct 2016 11:13:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2016-10-22 10:12 GMT+02:00 David Kastrup <address@hidden>:
>> Thomas Morley <address@hidden> writes:
>>
>>> The first hit reads in sourcefiles/guile.changelog:
>>>
>>> guile (1.8.1-2) unstable; urgency=low
>>>
>>>   * Add readline as build dependency, libreadline8 as dependency for
>>>     libguile17 (thanks Ted Anderson).
>>>   * Remove /etc/hints.
>>>   * Remove curr from hints.
>>>
>>>  -- Jan Nieuwenhuizen <address@hidden>  Tue, 31 Oct 2006 00:47:35 +0100
>>>
>>> No idea whether it's important, it's far beyond my depth.
>>
>> That would point to readline support being compiled in.  libreadline8
>> would likely be the current one.
>>
>> At any rate, David stated that calling the lilypond executable with full
>> path left him with working readline support.
>>
>> Does
>>
>>     which lilypond
>>
>> agree that the version called without explicit path is the same as with
>> path?  If so, something in command line processing would appear to make
>> use of the 0th argument for finding libraries.  That would warrant more
>> examination.
>>
>> --
>> David Kastrup
>
>     which lilypond
> returns in my case:
> /home/hermann/bin/lilypond
> which is the script for 2.18.2 I mentioned in my previous post.

David stated:

    I find the following:

    1)

    If I run 'lilypond scheme-sandbox' I get a message saying:

    /usr/local/lilypond/usr/share/lilypond/current/ly/scheme-
    sandbox.ly:3:2: error: GUILE signaled an error for the expression
    beginning here
    #
     (load-user-init)
    readline is not provided in this Guile installation

    In 'top' I can see that the actual running command is
    '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox'.

    2)

    If I run '/usr/local/lilypond/usr/bin/lilypond scheme-sandbox' directly
    from the command line, I get guile complete with readline.


which sounds like he is _not_ running the wrapper script when stuff
works but rather the executable without the wrapper.  So it would appear
that what the wrapper does happens to interfere with finding the system
readline library while LilyPond presumably does not provide one of its
own.  Who is the main author of that wrapper?  Maybe he has an idea?

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]