[Top][All Lists]

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

midi2ly can't find midi.so without help

From: Daniel Johnson
Subject: midi2ly can't find midi.so without help
Date: Fri, 01 Jul 2005 14:13:50 -0700
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050623)

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
prefix=/usr datadir=/usr/share infodir=/usr/share/info
localstatedir=/var/lib mandir=/usr/share/man sysconfdir=/etc
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?


reply via email to

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