General Topics :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
openSUSE tumbleweed and ghostscript
Posted by: rickrich ()
Date: April 12, 2019 02:43PM

If openSUSE tumbleweed and ghostscript gives:
     $ foo2*-wrapper > xxx.prn 
     GPL Ghostscript 9.26: **** Could not open the file cat 1>&3 .
then you will need to do one of two things:
    $ su
    # aa-disable ghostscript

2) Compile it yourself using the GHOSTSCRIPT BUGS in the INSTALL file. It is really a SUSE thing that they don't allow pipes.
        $ su
        # zypper up cups-devel
        $ wget "";;
        $ tar zxf ghostscript-8.71.tar.gz
        $ cd ghostscript-8.71

        - OR -

        $ wget "";
        $ tar zxf ghostscript-9.27.tar.gz
        $ cd ghostscript-9.27

        $ ./
        $ make
        $ su                            OR $ sudo cp bin/gs /usr/bin/
        # cp bin/gs /usr/bin/

        $ --version

Comment # 1 on bug 1132421 from Marcus Meissner

Due to last years security issues in ghostscript we are confining it with
apparmor, and starting random binaries is not allowed by default.

You can whitelist cat yourself , run "logprof" and allow /usr/bin/cat for
instance, or switch the apparmor profile to complain by using "complain

Edited 9 time(s). Last edit at 04/13/2019 12:52PM by rickrich.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.
This forum powered by Phorum.