bug-lilypond
[Top][All Lists]
Advanced

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

Re: problem with lilypond from the command line


From: Graham Percival
Subject: Re: problem with lilypond from the command line
Date: Wed, 05 Sep 2007 02:31:11 -0700
User-agent: Icedove 1.5.0.12 (X11/20070607)

Give the filename, I presume that you're using OSX?

Where did the script in /usr/local/bin come from? I don't think that we install such a script (although I could be wrong) We recently changed the variable name; see the NEWS file for 2.11. Perhaps this update was accidentally merged back into 2.10... or perhaps your script was designed for a different version of LilyPond?

Do you get any errors when you run from the GUI? We'll be making a new stable release soon, so if it only affects command-line users, I'd rather concentrate on bugs in the upcoming release. :)

Cheers,
- Graham


Jake Rundall wrote:
The script (lilypond) listed at the end of this message is in /usr/local/bin.
When I execute it, I get the following error:

GNU LilyPond 2.10.29
error: LILYPONDPREFIX is obsolete, use LILYPOND_DATADIR

If I edit Lilypond.app/Contents/Resources/lilycall.py by changing
'LILYPONDPREFIX' to 'LILYPOND_DATADIR'
everything seems to work fine.




#!/bin/sh

#
# Example file for invoking LilyPond.app from the commandline. #

# customize the following variables

## where was the app installed?
INSTALLDIR=/Applications

## uncomment to get some debugging info, and leave .ps files
# export LILYPOND_WRAPPER_DEBUG=1

if [ "$1" == "--print-appdir" ]; then
  echo "$INSTALLDIR/LilyPond.app/"
  exit 0
fi


# where to put the output
export LILYPOND_DESTDIR=`pwd`

# run the program
python "$INSTALLDIR/LilyPond.app/Contents/Resources/lilycall.py" \
  "$INSTALLDIR/LilyPond.app/" $*





_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond






reply via email to

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