lilypond-user
[Top][All Lists]
Advanced

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

Re: ver. 2.11.56 problems


From: Reinhold Kainhofer
Subject: Re: ver. 2.11.56 problems
Date: Tue, 19 Aug 2008 19:50:54 +0200
User-agent: KMail/1.9.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Dienstag, 19. August 2008 schrieb Patrick McCarty:
> On Tue, Aug 19, 2008 at 05:04:52PM +0200, James E. Bailey wrote:
> > You need to add the folder that lilypond is in to your $PATH. Then,
> > linux will know to look in that folder as well for executables,
> > regardless of which directory you're actually in. Apparently on linux,
> > according to carl, you add to your /home/tomc/~.bashrc:
> > PATH=/home/tomc/bin:$PATH
> > export PATH
>
> I have tried adding these lines to ~/.bashrc in the past, too, but it
> hasn't worked for me.  Instead I put this is my ~/.bash_profile

The login sequence for login shells and normal shells is a bit different:
At login ~/.bash_profile is sourced (i.e. executed), but not ~/.bashrc... 
That's the reason why e.g. Debian's default ~/.bash_profile contains:

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

This will also execute the .bashrc during login and you can savely place your 
customization into .bashrc (which will be executed for every 
shell, .bash_profile will not in general..).

> PATH=$PATH:$HOME/bin
> and it works for me (after logging out and logging back in).

I would rather do
       export PATH=$HOME/bin:$PATH
which makes the shell look in ~/bin before it looks in default locations 
like /usr/bin or /bin... Otherwise you'll automatically run the lilypond 
version from /usr/bin/ and not your self-compiled version.

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIqwf+TqjEwhXvPN0RAoa8AKCbSenojD3iAOJjt/8FY4grMXKJDgCfbYxY
YOYP5OjfM7CUYB1si9mMWz4=
=qnGJ
-----END PGP SIGNATURE-----




reply via email to

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