You are not logged in.

#1 2006-09-27 13:51:55

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Lilypond problem - guile breaks it [SOLVED]

Hi all,

Any Lilypond users out there?  I've installed the lilypond package from [community] which seems to be a development version, 2.9.3.

When running lilypond on a very basic test input file I get the following errors:

GNU LilyPond 2.9.3
Processing `test.ly'
Parsing...
/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:102:1: error: GUILE signaled an error for the expression beginning here
#(use-modules (scm display-lily))invalid module name for use-syntax ((srfi srfi-39))

/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:102:5: error: syntax error, unexpected '-', expecting '='
#(use-modules (scm display-lily))/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:48:56: In expression (display-lily-init parser):

/usr/share/lilypond/2.9.3/ly/music-functions-init.ly:48:56: Unbound variable: display-lily-init

Any clues as to what might be causing this?  I've tried digging around the forums and on the web with no luck. 

I tried to make a new package in ABS of a different version but got a ' makeinfo not found'  error.  Also couldn't find the md5sums of other versions .tar.gz files on the lilypond download site....

Thanks
Francis

Offline

#2 2006-09-27 15:11:18

liem
Member
Registered: 2006-04-29
Posts: 71
Website

Re: Lilypond problem - guile breaks it [SOLVED]

fdac wrote:

I tried to make a new package in ABS of a different version but got a ' makeinfo not found'  error.  Also couldn't find the md5sums of other versions .tar.gz files on the lilypond download site....

I don't know nothing about lilypond but your "makeinfo not found" looks like a makedepend. You gotta have makeinfo installed to  compile the package. After you've made the package you can deinstall makeinfo.

md5sums can be generated with makepkg -g. Suggestion is to use makepkg -g >> PKGBUILD.

The wiki got this information.


Sebastian  A. Liem

Offline

#3 2006-09-27 17:20:46

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Lilypond problem - guile breaks it [SOLVED]

AFAIK this is a problem in the guile package. There's a bug open for it, but I still haven't had enough time to take a good look at it.

Offline

#4 2006-09-28 02:46:46

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: Lilypond problem - guile breaks it [SOLVED]

Thanks..

I suspected it was not a bug in lilypond itself but in one of the other programmes it calls.

Therefore there is no point compiling a different version of lilypond.

Is it worthwhile changing back to a different guile version as a temporary fix?

Cheers
Francis

Offline

#5 2006-09-28 02:54:27

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: Lilypond problem - guile breaks it [SOLVED]

Edit - found bug report, will try downgrading guile as suggested in bug comments.

http://bugs.archlinux.org/task/5127

Thanks for guidance above, JGC.   Shouldn't be any problem with downgrading guile, should there?

Cheers
Francis

Offline

#6 2006-09-28 08:59:16

fdac
Member
From: Brisbane, Australia
Registered: 2005-06-19
Posts: 96

Re: Lilypond problem - guile breaks it [SOLVED]

Hi, got it fixed by downgrading guile.  Couldn't find a compiled package anywhere so here is the PKGBUILD  I adapted from 1.6.8, just changed the pkgver and md5sums.  Took a minute or three to compile on my Athlon  64 3500+.

pkgname=guile
pkgver=1.6.7
pkgrel=2
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
arch=(i686)
depends=(readline)
options=(NOLIBTOOL)
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
        ltdl-gcc4.patch)
md5sums=('c2ff2a2231f0cbb2e838dd8701a587c5' '156f1aedd5cc6a6835f067b714ff37a6')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  patch -Np1 -i ${startdir}/src/ltdl-gcc4.patch || return 1
  ./configure --prefix=/usr --disable-networking
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

Offline

Board footer

Powered by FluxBB