After several attempt, I successfully install lilypond v2.14.0_1 in 
/home/tsang/bin/lilypond   (v2.14.0_1)
lilypond v2.12.3 was still in /bin/lilypond

Now I have two version in ubuntu.  Right now frescobaldi is using the 
/bin/lilypond (version 2.12.3)

Question:  How can I configure frescobaldi to execute /home/tsang/bin/lilypond 
(2.14.0)?  On frescobaldi configure, I edit the path to point to 
/home/tsang/bin/, but when click on lilypond button on frescobaldi, it execute 
lilypond 2.12.3.
Here is the echo $PATH entry:
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games






________________________________
From: Federico Bruni <fedel...@gmail.com>
To: MING TSANG <tsan...@rogers.com>
Cc: David Santamauro <david.santama...@gmail.com>; lilypond-user@gnu.org
Sent: Fri, June 10, 2011 11:09:51 AM
Subject: Re: V2.14.0 - midi volume & midi arpeggio

~/bin is not in your path, that's why uninstall-lilypond returns 'command not 
found'. (~ stands for user's home)
The absolute path should work:

/home/tsang/bin/uninstall-lilypond

You can understand what's going on using these two commands:

which lilypond
which -a lilypond
echo $PATH


But first have a look at this page (Ubuntu is based on Debian):
http://wiki.debian.org/EnvironmentVariables



2011/6/10 MING TSANG <tsan...@rogers.com>

After I use ./ on the file name It run successfully. I was asked 
uninstall-lilypond. So I did.  Run install again with ./.
>
>This time the execution went OK. But when I do lilypond it says the lily pond 
>is 
>2.12.3. 
>
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ lilypond
>GNU LilyPond 2.12.3
>Usage: lilypond [OPTION]... FILE...
>
>
><><><><><>message begin:
>
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
>acl          Documents        Music    Test.ly       Videos
>bin          Downloads        Pictures     Test.ly~      yming.xhb
>BOOKS          Dropbox        Public    Test.pdf      yming.xhb~
>Calibre\ Library  examples.desktop  rosegarden    Test.ps       your-love.ly
>Desktop          lilypond        Templates    untitled.xhb
>
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
>2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
>gsview-4.9                   lilypond-2.13.61-1.linux-x86.sh
>gsview-4.9.tar.gz               lilypond-2.14.0-1.linux-x86.sh
>install_flash_player_10_linux.tar.gz   usr
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -l 
>lilypond-2.14.0-1.linux-x86.sh
>-rwxr-xr-x 1 tsang tsang 20626851 2011-06-06 11:37 
>lilypond-2.14.0-1.linux-x86.sh
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
>./lilypond-2.14.0-1.linux-x86.sh
>
>lilypond installer for version 2.14.0 release 1,
>i686 build.
>For a list of options, abort (^C) then do:
>sh ./lilypond-2.14.0-1.linux-x86.sh --help
>
>
>You are about to install LilyPond in /home/tsang/lilypond
>A script in /home/tsang/bin will be created as a shortcut.
>
>Press ^C to abort, or Enter to proceed.
>
>Directory /home/tsang/lilypond already exists.
>Remove old lilypond installations before installing this one.
>Run /home/tsang/bin/uninstall-lilypond to uninstall previous version.
>
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ 
>uninstall-lilypond
>uninstall-lilypond: command not found
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ cd /home/tsang/bin
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
>uninstall-lilypond: command not found
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ dir
>abc2ly        lilypond            lilypond-wrapper.guile   mup2ly
>convert-ly  lilypond-book        lilypond-wrapper.python  musicxml2ly
>etf2ly        lilypond-invoke-editor  midi2ly             uninstall-lilypond
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ run install-lilypond
>No command 'run' found, did you mean:
> Command 'crun' from package 'ceph' (universe)
> Command 'zrun' from package 'moreutils'  (universe)
> Command 'runq' from package 'exim4-daemon-heavy' (main)
> Command 'runq' from package 'sendmail-bin' (universe)
> Command 'runq' from package 'exim4-daemon-light' (main)
> Command 'grun' from package 'grun' (universe)
> Command 'qrun' from package 'torque-client' (multiverse)
> Command 'qrun' from package 'torque-client-x11' (universe)
> Command 'lrun' from package 'lustre-utils' (universe)
> Command 'rn' from package 'trn' (multiverse)
> Command 'rn' from package 'trn4' (multiverse)
> Command 'rup' from package 'rstat-client' (universe)
> Command 'srun' from package 'slurm-llnl' (universe)
>run: command not found
>tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
>uninstall-lilypond: command not found
><><><><><> end of message
>
>
>
>
________________________________
From: David Santamauro <david.santama...@gmail.com>
>To: Federico Bruni <fedel...@gmail.com>
>Cc: MING TSANG <tsan...@rogers.com>; lilypond-user@gnu.org
>Sent: Fri, June 10, 2011 8:43:45 AM
>
>Subject: Re: V2.14.0 - midi volume & midi arpeggio
>
>
>
>Hi,
>
>On Fri, 10 Jun 2011 14:12:44 +0200
>Federico Bruni <fedel...@gmail.com> wrote:
>
>> In the Permissions tab (or something like that) you must check
>>  Execution. Close and clic normally on the file.
>
>He is using sh <file> so even if it weren't executable, sh would
>execute it.
>
>> > tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
>> > lilypond-2.14.0-linux-x86.sh
>> > sh: Can't open lilypond-2.14.0-linux-x86.sh
>
>Simply try,
>
>sh ./lilypond-2.14.0-linux-x86.sh
>
>... with the './'. I think the problem is that '.' (the current working
>directory) is not in PATH -- my guess
>
>HTH
>
>David
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to