lilypond-devel
[Top][All Lists]
Advanced

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

relocation problems on linuxppc


From: Graham Percival
Subject: relocation problems on linuxppc
Date: Tue, 24 Apr 2007 16:40:46 -0700
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

Mats Bengtsson wrote:

Graham Percival wrote:
Debian etch, linux/PPC, git head. I have no trouble compiling this file on OSX/intel. I had some trouble getting international stuff set up (well, I forgot that I needed to install the packages), but now files such as input/regression/utf-8.ly and input/sakura-sakura.ly are working fine. This _is_ a new system, and the first time I've ever tried out the linux binaries, so I might be missing something obvious.


I don't really understand. On the first line you said "git head" and here you say "ppc binary". Did you use the installation package from lilypond.org or did you
compile yourself from git head?

I'm trying to build the documentation from git head, using the lilypond binary. For the past year and a half, I've been building the docs on OSX using the OSX binaries; now I'm trying to do the same thing on linux.

I suppose that I could try to compile lilypond now that I'm on linux, but I'd prefer to use precompiled binaries using the same extra libraries and whatnot.


For the rest of this email, I'm not trying to make the entire docs; I'm simply trying to do "lilypond input/typography-demo.ly"

This tells you that Ghostscript failed converting the file. The messages below are probably a consequence of this Ghostscript problem. I don't think it's because
of any Guile problems.  If you run lilypond --verbose,

Mao, I can't believe I forgot that!  Sorry!

Is it the Ghostscript from the LilyPond installer?

Yes, the lilypond version.
address@hidden:~/usr/src/lilypond/input$ gs --version
8.54
%% in the logs you'll see gs 8.56


There are a few suspicious things. There are some warnings in the relocations, and the LILYPOND_DATADIR seems to be hard-coded -- I installed lilypond (via the shell script installer) into $HOME/usr/lilypond/ , but the LILYPOND_DATADIR is pointing to /usr/share.


address@hidden:~/usr/src/lilypond/input$ lilypond -V typography-demo.ly
GNU LilyPond 2.11.22
warning: Relocation: is absolute: argv0=/home/gperciva/usr//lilypond/usr/bin/lilypond
PATH=/home/gperciva/usr/lilypond/usr/bin (prepend)
Setting PATH to /home/gperciva/usr/lilypond/usr/bin:/home/gperciva/aaa/bin:/home/gperciva/usr/bin/:/home/gperciva/aaa/bin:/home/gperciva/usr/bin/:/usr/local/bin:/usr/bin:/bin:/usr/games warning: Relocation: compile datadir=, new datadir=/home/gperciva/usr/lilypond/usr/share/lilypond//current
warning: Relocation: framework_prefix=/home/gperciva/usr/lilypond/usr/bin/..
Setting INSTALLER_PREFIX to /home/gperciva/usr/lilypond/usr/bin/..

...

Setting PANGO_PREFIX to /home/gperciva/usr/lilypond/usr/bin/../
Relocation file: /home/gperciva/usr/lilypond/usr/bin/../etc/relocate//gs.reloc warning: no such directory: /home/gperciva/usr/lilypond/usr/bin/../share/ghostscript/8.56/fonts for GS_FONTPATH warning: no such directory: /home/gperciva/usr/lilypond/usr/bin/../share/gs/fonts for GS_FONTPATH warning: no such directory: /home/gperciva/usr/lilypond/usr/bin/../share/ghostscript/8.56/Resource for GS_LIB GS_LIB=/home/gperciva/usr/lilypond/usr/bin/../share/ghostscript/8.56/lib (prepend) Setting GS_LIB to /home/gperciva/usr/lilypond/usr/bin/../share/ghostscript/8.56/lib

...

LILYPOND_DATADIR="/usr/share/lilypond/2.11.22"
LOCALEDIR="/usr/share/locale"

...

Invoking `gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile="typography-demo.pdf" -c .setpdfwrite -f "typography-demo.ps"'...GPL Ghostscript SVN PRE-RELEASE 8.56 (2006-05-20)
Copyright (C) 2006 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is useful for generating ToUnicode CMap.
Error: /invalidfont in --glyphshow--
Operand stack:
1.1056 0.0 afii57675 0.5203 0.0 afii57673 1.2357 0.0 89.0399 -27.1347
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1765 1 3 %oparray_pop 1764 1 3 %oparray_pop 1760 1 3 %oparray_pop 1643 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 2 --nostringval-- %repeat_continue --nostringval--
Dictionary stack:
   --dict:1083/1123(ro)(G)--   --dict:0/20(G)--   --dict:110/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 18052864
GPL Ghostscript SVN PRE-RELEASE 8.56: Unrecoverable error, exit code 1

`gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile="typography-demo.pdf" -c .setpdfwrite -f "typography-demo.ps"' failed (256)





reply via email to

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