lilypond-devel
[Top][All Lists]
Advanced

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

Re: Doc build failure: pngtopnm: Error writing single byte sample to fil


From: Graham Percival
Subject: Re: Doc build failure: pngtopnm: Error writing single byte sample to file
Date: Thu, 5 Nov 2009 16:10:01 +0000

I'm suspicious about renaming pngtopnm_.  Just leave /opt/ alone, and
make the pngtopnm and pnmtopng scripts as directed.  As long as the
location of those two scripts comes before /opt/local/bin in your
path, you'll be fine.

Cheers,
- Graham


2009/11/5 Harmath Dénes <address@hidden>:
> Hi all,
>
> I finally tried to build the docs myself again after older failed attempts
> to be able to test my translations locally. I'm on OS X 10.5 using MacPorts
> with latest LilyPond development binary installed. After installing the
> required dependencies via MacPorts and following the instructions of
> http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond,
> the last command (nice make
> LILYPOND_EXTERNAL_BINARY=/Applications/LilyPond-dev.app/Contents/Resources/bin/lilypond
> doc) fails with the following error message:
>
> Invoking `pngtopnm ./fa/lily-f024223a.png.old | pnmscale -reduce 2
> 2>/dev/null | pnmtopng -compression 9 2>/dev/null >
> ./fa/lily-f024223a.png'...
> pngtopnm_: Error writing single byte sample to file
> GS exited with status: 32256command failed:
> /Applications/LilyPond-dev.app/Contents/Resources/bin/lilypond -I ./ -I
> ./out-www -I ../../input -I
> /Users/thsoft/Development/lilypond-translation/Documentation -I
> /Users/thsoft/Development/lilypond-translation/Documentation/snippets -I
> ../../input/regression/ -I
> /Users/thsoft/Development/lilypond-translation/Documentation/included/ -I
> /Users/thsoft/Development/lilypond-translation/mf/out/ -I
> /Users/thsoft/Development/lilypond-translation/mf/out/ -I
> /Users/thsoft/Development/lilypond-translation/Documentation/pictures -I
> /Users/thsoft/Development/lilypond-translation/Documentation/pictures/./out-www
> -dbackend=eps --formats=ps,png,pdf  -dinclude-eps-fonts -dgs-load-fonts
> --header=doctitle --header=doctitlefr --header=doctitlees
> --header=doctitlede --header=doctitlenl --header=doctitleja
> --header=doctitlehu --header=texidoc --header=texidocfr --header=texidoces
> --header=texidocde --header=texidocnl --header=texidocja --header=texidochu
> -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 -I
>  "/Users/thsoft/Development/lilypond-translation/out/lybook-db"  -I
> "/Users/thsoft/Development/lilypond-translation/input/regression"  -I
>  "/Users/thsoft/Development/lilypond-translation/input/regression"  -I
>  "/Users/thsoft/Development/lilypond-translation/input/regression/out-www"
>  -I  "/Users/thsoft/Development/lilypond-translation/input"  -I
>  "/Users/thsoft/Development/lilypond-translation/Documentation"  -I
> "/Users/thsoft/Development/lilypond-translation/Documentation/snippets"  -I
>  "/Users/thsoft/Development/lilypond-translation/input/regression"  -I
>  "/Users/thsoft/Development/lilypond-translation/Documentation/included"  -I
>  "/Users/thsoft/Development/lilypond-translation/mf/out"  -I
>  "/Users/thsoft/Development/lilypond-translation/mf/out"  -I
>  "/Users/thsoft/Development/lilypond-translation/Documentation/pictures"  -I
>  
> "/Users/thsoft/Development/lilypond-translation/Documentation/pictures/out-www"
> --formats=eps  --verbose  -deps-box-padding=3.000000  -dread-file-list
> -dno-strip-output-dir
>  
> "/Users/thsoft/Development/lilypond-translation/out/lybook-db/snippet-names--89582432.ly"
> Child returned 1
> make[3]: *** [out-www/collated-files.texi] Error 1
> make[2]: *** [WWW-1] Error 2
> make[1]: *** [WWW-1] Error 2
> make: *** [doc-stage-1] Error 2
>
> What could be the solution? Did anyone else encounter this?
>
> (
> FYI, the command is pngtopnm_ because I had to create a script for pngtopnm
> to run correctly as described in
> http://kainhofer.com/~lilypond/Documentation/contributor/Building-documentation.html#Building-documentation-without-compiling-LilyPond.
> So I renamed pngtopnm to pngtopnm_ and created /opt/local/bin/pngtopnm with
> the following contents:
>
> export DYLD_LIBRARY_PATH=/opt/local/lib
> exec /opt/local/bin/pngtopnm_ "$@"
> )
>
> Thanks in advance,
> Dénes Harmath
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>




reply via email to

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