bug-lilypond
[Top][All Lists]
Advanced

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

Re: Pango & jailing


From: Sebastiano Vigna
Subject: Re: Pango & jailing
Date: Fri, 17 Jun 2005 18:09:24 +0200

On Fri, 2005-06-17 at 14:30 +0200, Han-Wen Nienhuys wrote:
> Sebastiano Vigna wrote:
> I'd expect that it loads the modules based on the languages it finds in 
> the input. I guess it would be easiest to copy the modules (together 
> with the fonts, and fontconfig configuration) into the jail, and use 
> ARGV0_RELOCATION (see main.cc) to make them find the relevant files.

ARGV0_RELOCATION was not needed, but I had to remove the noexec from the
mount, which makes the cage less secure (albeit still reasonably
secure). I have no time to find another solution now. In any case, the
manual must be updated, as there are things that should be copied that
it doesn't mention presently, and noexec must be eliminated.

Some time ago I think you mentioned that --png was all that was needed
to get snippet compiled. But unfortunately it doesn't.

Presently, in fact, I cannot compile at all snippets with the ps
backend:

test.ly:2:32: In procedure module-lookup in expression
(ly:parser-print-score p (ly:music-scorify m p)):
test.ly:2:32: unbound variable: output-classic-framework

The tex backend is not better:

/usr/share/lilypond/2.5.31/scm/framework-tex.scm:348:13: In expression
(ly:kpathsea-expand-variable "$extra_mem_top"):
/usr/share/lilypond/2.5.31/scm/framework-tex.scm:348:13: Unbound
variable: ly:kpathsea-expand-variable

So I'm completely stuck at this point. I cannot compile snippets (even
snippets from the manual), and apparently there is no way to get an EPS
file "cut around" the output (as I used to do using dvips). There is an
--eps option in the manual (Section 5.2), but it is missing from the
program help and in fact it doesn't work.

I've been certainly a bit naïve in estimating the change of setup to
pass to 2.5.31...
-- 
Ciao,

                                        seba




reply via email to

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