I have a project which uses a perl program to run the ps2pdf command. It fails when run by the perl program but works fine when run by me from the command line. No environment variables are changed -- the perl program is pretty harmless. This is really frustrating -- I can literally print the proposed command from the perl program, copy and paste it into the same shell window, and it runs fine, no errors and the ps is converted to pdf nicely.
Here is the complaint from ps2pdf: /usr/bin/ps2pdf13 /tmp/print-32248.ps /tmp/print-32248.pdf Error: /undefinedfilename in (/tmp/print-32248.ps) Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:1117/1686(ro)(G)-- --dict:0/20(G)-- --dict:80/200(L)-- Current allocation mode is local Last OS error: 2 ESP Ghostscript 815.01: Unrecoverable error, exit code 1 I have been working on this on and off on several systems, only one of which is gentoo. It has generally been the same on all systems, except for the gtk libs on this machine (rPath) being sufficiently out of date that firefox 2 beta 4 won't run. But this has nothing to do with firefox. Google shows that the most common cause of this error is spaces in file names. But this name has none, and even removing thedash doesn't change it. I am going to start simplifying the perl wrapper, but that's a slow tweaky road. Does anyone have experience with this error from ps2pdf? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list