This works (see bottom for what I did). Thank you!

Robert
chupacerveza at sourceforge


At 9:24 PM +0200 5/9/04, Martin Costabel wrote:
I think I know now more or less what is happening. I think it is a bug in guile which needs to be linked with -ldl but doesn't say so when asked via "guile-config link". The problem is that guile-1.4 on 10.2-gcc3.3 is not really maintained any more, and for me it is not obvious how to fix it.

I know, however, how to fix lilypond-1.6.10-2 so that it compiles. I am CCing its maintainer.

I suppose that you are using the stable tree, because otherwise you would probably build lilypond-2.0.1-11 (which might be a good idea anyway). In this case, you can edit the file
/sw/fink/dists/stable/main/finkinfo/text/lilypond-1.6.10-2.info


You will see two lines that contain the command "gnumake", one in the CompileScript, the other one in the InstallScript. Replace each "gnumake" by

gnumake USER_LDFLAGS=" -L%p/lib -lguile -lm -ldl"


==> file after editing


CompileScript: <<
./configure %c
ulimit -S -s 8192; gnumake USER_LDFLAGS=" -L%p/lib -lguile -lm -ldl" <<
InstallScript: <<
gnumake USER_LDFLAGS=" -L%p/lib -lguile -lm -ldl" prefix=%i install


==> fink rebuild lilypond

[localhost:/Users/anniedec] anniedec# fink rebuild lilypond
Reading package info...
Updating package index... done.
Information about 1323 packages read in 16 seconds.
The following package will be rebuilt:
lilypond
The following additional package will be installed:
guile-dev
Do you want to continue? [Y/n]
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/languages/guile-dev_1.4-17_darwin-powerpc.deb
Selecting previously deselected package guile-dev.
dpkg: considering removing guile16-dev in favour of guile-dev ...
dpkg: yes, will remove guile16-dev in favour of guile-dev.
(Reading database ... 132458 files and directories currently installed.)
Unpacking guile-dev (from .../guile-dev_1.4-17_darwin-powerpc.deb) ...
Setting up guile-dev (1.4-17) ...
gzip -dc /sw/src/lilypond-1.6.10.tar.gz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions
patch -p1 </sw/fink/dists/stable/main/finkinfo/text/lilypond-1.6.10-2.patch
patching file buildscripts/clean-fonts.sh
patching file lily/kpath.cc
patching file lily/lily-guile.cc
patching file lily/my-lily-parser.cc
patching file stepmake/stepmake/c++-rules.make
patching file stepmake/stepmake/c-vars.make
patching file stepmake/stepmake/compile-vars.make
./configure --prefix=/sw --infodir='$(prefix)/share/info' --mandir='$(prefix)/share/man'
creating cache ./config.cache
checking Package... LILYPOND
checking builddir... /sw/src/lilypond-1.6.10-2/lilypond-1.6.10
checking for stepmake... ./stepmake (${prefix}/share/stepmake not found)
checking host system type... powerpc-apple-darwin6.8
checking for gmake... no



==> end of rebuild


Writing control file...
Finding prebound objects...
Writing dependencies...
Writing package script postinst...
Writing package script prerm...
Writing package script postrm...
dpkg-deb -b root-lilypond-1.6.10-2 /sw/fink/dists/stable/main/binary-darwin-powerpc/text
dpkg-deb: building package `lilypond' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/text/lilypond_1.6.10-2_darwin-powerpc.deb'.


==> fink install lilypond

[localhost:/Users/anniedec] anniedec# fink install lilypond
Information about 1323 packages read in 7 seconds.
The following package will be installed or updated:
lilypond
dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/text/lilypond_1.6.10-2_darwin-powerpc.deb
Selecting previously deselected package lilypond.
(Reading database ... 132451 files and directories currently installed.)
Unpacking lilypond (from .../lilypond_1.6.10-2_darwin-powerpc.deb) ...
Setting up lilypond (1.6.10-2) ...
mktexlsr: Updating /sw/etc/texmf.local/ls-R...
mktexlsr: Done.
removing
@@@ Installation Complete.
@@@ Start a new shell to get the correct lilypond environment settings.
* GNU LilyPond: (lilypond). The GNU music typesetter.
install-info(/sw/share/info/lilypond.info): no section specified for new entry, placing at end
* GNU LilyPond internals: (lilypond-internals). LilyPond internals.
install-info(/sw/share/info/lilypond-internals.info): creating new section `GNU music project'


==> nothing follows


------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to