As a workaround meanwhile, you could always symlink rgb.txt over to one of the places netpbm is looking for it. More robust than setting an envariable...
On 2/21/08, Martin Costabel <[EMAIL PROTECTED]> wrote: > Alexander Hansen wrote: > > Michael Brickenstein wrote: > [] > >>pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h73952/ > >>p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' > img15.png" > >>failed: Invalid argument > [] > > It works OK on Tiger. Since the executables are scripts, It's likely > > that the problem is due to changes in how some of the shell builtins > > under Leopard handle certain arguments. I'll cc this on to the > > latex2html maintainer as well. > > Found it. The problem is that on Leopard, the file rgb.txt is no longer > in /usr/X11R6/lib/X11/, but in /usr/X11[R6]/share/X11/. Therefore the > pnmtopng utility does not find it and fails. > > As a workaround, you can set the environment variable RGBDEF, for > example like this: > > env RGBDEF=/usr/X11/share/X11/rgb.txt latex2html tutorial.tex > > I think the right place to fix this is in the netpbm-bin package. It has > a list of directories to search for rgb.txt, and /usr/X11/share/X11 > needs to be put on this list. > > -- > Martin > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Fink-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fink-users > -- Mark J. Reed <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
