lilypond-devel
[Top][All Lists]
Advanced

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

Re: Lilypond 2.5.11 uploaded to Mandrakelinux


From: Abel Cheung
Subject: Re: Lilypond 2.5.11 uploaded to Mandrakelinux
Date: Wed, 9 Feb 2005 14:48:56 +0800

On 2005-02-08(Tue) 00:40:08 +0100, Jan Nieuwenhuizen wrote:
> > 1. lilypond can't bootstrap -- it tries to search for .scm files in
> >    system location. This problem has been reported by others before
> >    but not patched in 2.5.11 yet. Patch is attached (again) with this mail.
> 
> Thanks.  This is for --srcdir build, I presume?  Does the patch below
> work for you?

No, --srcdir is not used. But have anybody tried building with different
--srcdir? The patch below worked, actually the idea is similar to the
patch I attached.

Looking forward to have it fixed before next version of lilypond. This
bug is there since (I think) 2.5.10 or so.


> >    However, seems DESTDIR is only supported when installing info and
> >    manpages.
> 
> Can you clarify?  Are you using an unusual exec-prefix, perchance?
> config.make.in has

I think I pinpointed the problem. When doing packaging, prefix and
other paths are specified explicitly like:

./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share ......

So in turn ${exec_prefix} is not used. But in this way packagers would
have their life difficult, since manpages, infopages etc may stay in
location different from what lilypond source preferred. For example,
while lilypond installs manpages in /usr/man (when prefix=/usr), most
Linux prefers to have manpage inside /usr/share/man. Directly hardcoding
./configure --mandir=/usr/share/man would cause install to fail if
DESTDIR is not used.

But anyway, this is not a great deal, since this affects only packagers,
and I have another workaround (prepend DESTDIR to most install dirs).

Abel


> 
>     prefix = $(DESTDIR)@prefix@
>     exec_prefix = @exec_prefix@
> 
> and unless you override exec-prefix to be different from prefix, every
> install directory should have $DESTDIR prepended.
> 
> Jan.
> 
> 
> --- make/lilypond-vars.make   31 jan 2005 08:39:45 +0100      1.56
> +++ make/lilypond-vars.make   08 feb 2005 00:37:11 +0100      
> @@ -10,6 +10,8 @@ export LILYPONDPREFIX:=$(build_lilypond_
>  
>  export PYTHONPATH:=$(builddir)/python/$(outconfbase):$(PYTHONPATH)
>  
> +export GUILE_LOAD_PATH:=$(builddir):$(GUILE_LOAD_PATH)
> +
>  ## arg, TEXINPUTS, TFMFONTS, MFINPUTS may still override and thus break this
>  export TEXMF:={$(LILYPONDPREFIX),$(shell kpsexpand \$$TEXMF)}
>  
> @@ -28,8 +30,6 @@ export DVIPSMAKEPK := mktexpk --destdir 
>  endif
>  
>  
> -# guile load path?
> -
>  the-script-dir=$(wildcard $(script-dir))
>  
> 
> -- 
> Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
> http://www.xs4all.nl/~jantien       | http://www.lilypond.org

-- 
Abel Cheung
+---------------------------------+---------------------------------+
|GPG Key: (0xC67186FF)            |       http://deaddog.org/gpg.asc|
|Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF|
+---------------------------------+---------------------------------+

Attachment: pgpOByDQ3sKHr.pgp
Description: PGP signature


reply via email to

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