From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: dvips fails to execute an embedded command even with option -R0 example: [jarioksa@pc112145 biogeo]$ dvips -R0 -q -o hm.ps prosptest2.dvi dvips: Failure to execute /usr/local/bin/bmeps -p2 -er8 figs/florareg.png; continuing I found a discussion about this in the Debian lists, where it was identified as a bug (Debian bug #156406). The suggested cure didn't work in my case, when I tried with the following patch (or then I mucked up with using rpmbuild and editing the spec file so that this was not applied): --- teTeX-1.0/texk/dvipsk/output.c.orig 2003-01-10 12:55:43.000000000 +0200 +++ teTeX-1.0/texk/dvipsk/output.c 2003-01-10 12:56:29.000000000 +0200 @@ -174,7 +174,7 @@ if (_osmode == OS2_MODE) { #endif if (secure == 0) - f = popen(s, FOPEN_RBIN_MODE) ; + f = popen(s, "r") ; #ifdef OS2 } #endif cheers, Jari Oksanen Oulu, Finland Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Put in LaTeX file an instruction to execute a command, such as: \DeclareGraphicsRule{.png}{eps}{.bb}{`cat #1} 2. Run latex 3. dvips -R0 the output dvi Actual Results: Get a message like above: dvips: Failure to execute... Expected Results: dvips to execute the command (like documented for -R0 switch) Additional info:
*** This bug has been marked as a duplicate of 71650 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.