Lily 1.5.60 again...

2002-06-13 Thread Maurizio Tomasi

Hello to everybody!  I am still here, trying to run Lilypond 1.5.60.  Now
it seems to work, but there is a strange thing I had to do in order to get
it working, so I would know what exactly I made.

Ok, I will repeat it: I wanted to install Lilypond under /usr, not under
/usr/local, so I called `configure' with `--prefix=/usr'.  Compilation and
installation were successful, but when I executed `ly2dvi' for the first
time, I got this:

--
% ly2dvi piano-dynamics.ly
Running LilyPond...
GNU LilyPond 1.5.60
Now processing:
`/home/ziotom/lilypond-1.5.60/input/template$
Analisi...
Interpretazione della musica...[2]
Pre-elaborazione... kpathsea: Running mktextfm  feta20
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input feta20
This is METAFONT, Version 2.7182 (Web2C 7.3.1)
kpathsea: Running mktexmf  feta20

! I can't find file `feta20'.
<*> ...:=ljfour; mag:=1; nonstopmode; input feta20

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input feta20

Transcript written on mfput.log.

... (other errors)
--

After some investigation, I found that file
`buildscripts/out/lilypond-profile' which I ran after installing Lilypond
contained the following lines:

--
if [ "$LILYPONDPREFIX" == "" ] ; then
datadir=`echo "/usr/local/share/lilypond/1.5.60" | sed 's!//!/!g'`
else

## to support development from ~/usr/src/lilypon.
datadir=$LILYPONDPREFIX
fi
--

The fact is, if I do a `set | grep LILYPONDPREFIX' I see there is no
variable with this name!  So ly2dvi is using
`/usr/local/share/lilypond/1.5.60' instead of `/usr/share/'.
If I run

--
% export LILYPONDPREFIX=/usr/share/lilypond/1.5.60
% . lilypond-profile
--

then ly2dvi works perfectly!  Do you know why is LILYPONDPREFIX not
defined on my computer?  What should I check in my configuration files?

Maurizio


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Lily 1.5.60 again...

2002-06-13 Thread Mats Bengtsson

> Hello to everybody!  I am still here, trying to run Lilypond 1.5.60.  Now
> it seems to work, but there is a strange thing I had to do in order to get
> it working, so I would know what exactly I made.
> 
> Ok, I will repeat it: I wanted to install Lilypond under /usr, not under
> /usr/local, so I called `configure' with `--prefix=/usr'.  Compilation and
> installation were successful, but when I executed `ly2dvi' for the first
> time, I got this:
> ...

> After some investigation, I found that file
> `buildscripts/out/lilypond-profile' which I ran after installing Lilypond
> contained the following lines:
> 
> --
> if [ "$LILYPONDPREFIX" == "" ] ; then
> datadir=`echo "/usr/local/share/lilypond/1.5.60" | sed 's!//!/!g'`

That's strange. The default directory should be the same as
the definition of datadir in config.make. Could it be that
you first ran configure + make and then later reran configure
with --prefix=... followed by make without doing 'make clean'
inbetween? Try 'make -C buildscripts clean' and 'make' again.

Shouldn't there be a dependency on config.make in these
make rules?

   /Mats



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



Re: Lily 1.5.60 again...

2002-06-13 Thread Maurizio Tomasi

> That's strange. The default directory should be the same as
> the definition of datadir in config.make. Could it be that
> you first ran configure + make and then later reran configure
> with --prefix=... followed by make without doing 'make clean'
> inbetween? Try 'make -C buildscripts clean' and 'make' again.
>
> Shouldn't there be a dependency on config.make in these
> make rules?
>
>/Mats

It worked!  Now lilypond-profile refers to the right directory.  In fact,
I tried a lot of calls to `configure' when I was trying to install
Lilypond, both with and without `--prefix=/usr'.  The old
`lilypond-profile' file must have been some garbage.

Thanks a lot!
Maurizio


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user