I built 2.6.0 on my Gentoo box using a home-built ebuild script, which
behind the scenes does the following:

./configure --prefix=/usr
make
prefix=/usr datadir=/usr/share infodir=/usr/share/info
localstatedir=/var/lib mandir=/usr/share/man sysconfdir=/etc
lilypond_datadir=/usr/share/lilypond
local_lilypond_datadir=/usr/share/lilypond install

but in order to use midi2ly, I have to edit /usr/bin/midi2ly, lines 34-36:

-libdir = '/usr/lib/lilypond/2.6.0'
+libdir = '/usr/share/lilypond/2.6.0'
if not os.path.isdir (libdir):
-       libdir = '/usr/lib/lilypond/2.6.0'
+       libdir = '/usr/share/lilypond/2.6.0'

(Actually I only changed the 2nd one.)

scripts/midi2ly.py in the source reads as follows:

libdir = '@local_lilypond_libdir@'
if not os.path.isdir (libdir):
       libdir = '@lilypond_libdir@'

Any guesses why both @lilypond_libdir@ and @lilypond_local_libdir@ are
getting /usr/lib instead of /usr/share?  Is this a bug or do I need to
refine my ebuild?

--Daniel



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to