lilypond-devel
[Top][All Lists]
Advanced

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

Re: Strange behavior of lilypond-book in self compiled install


From: Francisco Vila
Subject: Re: Strange behavior of lilypond-book in self compiled install
Date: Mon, 2 Oct 2017 16:51:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 01/10/17 19:09, Federico Bruni wrote:
> If a program behaving like another program is not the strangest thing
> you have seen, well, for me it is.
> Both musicxml2ly and lilypond-book are in fact the same program, a
> python wrapper, which looks at `basename $0' to decide who is himself. I
> still can not imagine which advantage could this provide against
> different programs really being different programs, but the reality is
> that the practice could potentially lead to a program believing he is
> something else, which does not look good.

> Everything seems to work fine on my laptop.
> As you did not provide any example, I cannot understand what's really
> going on here.
> But if the precompiled version works fine while the one run from
> source doesn't, then it's likely something wrong in your system
> configuration. What's your default python version?
>
> This is mine:
>
> $ python -V
> Python 2.7.13
Same here.

> Can you paste some example from your terminal?

I can not reproduce it just now. I uninstalled the precompiled version,
did make install from git a couple of times, uninstalled it again,
installed the procompiled version again, repeated everything a couple of
times, and it seems to work now. The exact symptoms were:

$ lilypond-book
Usage: musicxml2ly [OPTION]... FILE.xml

$ musicxml2ly
Usage: musicxml2ly [OPTION]... FILE.xml

$ which lilypond-book
/usr/local/bin/lilypond-book

$ which musicxml2ly
/usr/local/bin/musicxml2ly

$ ls -l /usr/local/bin/lilypond-book

... /usr/local/bin/lilypond-book -> /usr/local/bin/lilypond-wrapper.python

$ ls -l /usr/local/bin/musicxml2ly

... /usr/local/bin/musicxml2ly -> /usr/local/bin/lilypond-wrapper.python

If I fall again into the problem, I'll say. Thanks Federico!

-- 
Francisco Vila. Badajoz (Spain)
paconet.org , csmbadajoz.com




reply via email to

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