Minolta-QMS magicolor 2300 DL :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
 
KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: kagoeg ()
Date: March 25, 2018 04:17AM

Hallo foo2zjs installiert und den Drucker im Cups eingerichtet. Es wird auch gedruckt jedoch in schlechter Qualität. Da bei mir Ghostscript 9.2 läuft, bin ich dem gefolgt:

http://foo2zjs.rkkda.com/forum/read.php?63,3189

bei ./autogen.sh bekomme ich die Anweisung autoconf zu installieren.
autoconf installiert und wieder ./autogen.sh ausgeführt.

make ergibt nun am Schluss folgenden Fehlercode:

In file included from ./base/gp_unix.c:19:0:
./base/time_.h:49:8: error: redefinition of ‘struct timeval’
struct timeval {
^~~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/select.h:47:0,
from /usr/include/x86_64-linux-gnu/sys/types.h:219,
from ./base/stdpre.h:267,
from ./base/std.h:20,
from ./base/stdio_.h:24,
from ./base/pipe_.h:20,
from ./base/gp_unix.c:17:
/usr/include/x86_64-linux-gnu/bits/time.h:30:8: note: originally defined here
struct timeval
^~~~~~~
./base/gp_unix.c: In function ‘gp_get_realtime’:
./base/gp_unix.c:148:6: warning: implicit declaration of function ‘gettimeofday’ [-Wimplicit-function-declaration]
if (gettimeofday(&tp, &tzp) == -1) {
^~~~~~~~~~~~
base/unix-aux.mak:38: die Regel für Ziel „obj/gp_unix.o“ scheiterte
make: *** [obj/gp_unix.o] Fehler 1

Also habe ich alternativ ./configure --without-jbig2dec verwendet.

make ergibt nun am Schluss wieder folgenden den gleichen Fehlercode.

Debian: 9.4 (x86-64)
Cinnamon: 3.2.7
Kernel: 4.9.0-6-amd64

Was kann ich noch tun um das Problem zu lösen

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: rickrich ()
Date: March 25, 2018 08:13AM

Try:

$ cd ghostscript-8.71

$ ./configure  --without-jbig2dec --with-system-libtiff 

$ make CFLAGS+="-DHAVE_SYS_TIME_H=1"

Worked good on my Fedora 26 (2017-07-11) system.

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: kagoeg ()
Date: March 25, 2018 10:39AM

Hallo

./configure --without-jbig2dec --with-system-libtiff

geht nur als root

#make CFLAGS+="-DHAVE_SYS_TIME_H=1"

Ergibt dann leider nur:

make: *** Leerer Variablenname. Schluss.

Also noch mal:

#./autogen.sh

#./configure --without-jbig2dec --with-system-libtiff

#make CFLAGS+="-DHAVE_SYS_TIME_H=1"

Läuft auch nicht durch und sieht am Ende so aus:

./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj ./obj/bmpmono ./obj/gdevbmp.o ./obj/gdevbmpc.o ./obj/gdevpccm.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj ./obj/bmpsep1 ./obj/gdevbmp.o ./obj/gdevbmpc.o ./obj/gdevpccm.o
./obj/echogs -e .dev -w- -l-dev2 -b -s -l-include -l./obj/page -l-obj ./obj/bmpsep8 ./obj/gdevbmp.o ./obj/gdevbmpc.o ./obj/gdevpccm.o
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_SYS_TIME_H=1 -I./obj -I./base -o ./obj/gdevccr.o -c ./base/gdevccr.c
./obj/echogs -e .dev -w- -l-dev -b -s -l-include -l./obj/page -l-obj ./obj/ccr ./obj/gdevccr.o
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_SYS_TIME_H=1 -I./obj -I./base -o ./obj/gdevcfax.o -c ./base/gdevcfax.c
make: *** Keine Regel vorhanden, um das Ziel „obj/libtiff_.dev“,
benötigt von „obj/libtiff.dev“, zu erstellen. Schluss.



Edited 1 time(s). Last edit at 03/25/2018 10:46AM by kagoeg.

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: rickrich ()
Date: March 25, 2018 12:19PM

No idea. Works fine on Fedora.

You shouldn't use root except to install it! I.E.:

        $ wget "http://ghostscript.com/releases/ghostscript-8.71.tar.gz"; 
        $ tar zxf ghostscript-8.71.tar.gz
        $ cd ghostscript-8.71
        $ ./autogen.sh
        $ make
        $ su                            OR $ sudo cp bin/gs /usr/bin/gs.foo
        # cp bin/gs /usr/bin/gs.foo     # This is the ONLY thing done as "root"



Edited 3 time(s). Last edit at 03/25/2018 03:02PM by rickrich.

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: Klaus ()
Date: March 25, 2018 03:23PM

Hallo Ich bin ja auf der Suche nach einer Lösung und hab dabei das hier gefunden, kommen aber nicht damit klar. Du kannst da sicher was mit anfangen...


ghostscript fix compile error with libtiff-4.0.1 …
The gs formula stopped working after libtiff was upgraded to 4.0.1.
It gives an error `no rule to make target obj/libtiff_.dev`.
Add the `--with-system-libtiff` flag so it compiles against 4.0.1.
Remove the `--disable-debug` flag, which is not a valid option.

Add deps on little-cms2 and jbig2dec and

Add `lcms2` and `jbig2dec` to the `renames` variable so that gs
will properly link against those two libraries that many people
already have installed who deal with images frequently. Without
those additions on systems with `lcms2` and `jbig2dec` installed,
`configure` will find them but not link correctly against them.

`autogen.sh` automatically calls configure and warns the user
that it is running configure with no args, explaining how to put
the args after `autogen.sh` if args are desired. Do that for
head builds. It is proper and saves configure from being run twice
when brewing head.

Quelle
https://github.com/Homebrew/legacy-homebrew/issues/12098

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: rickrich ()
Date: March 26, 2018 02:01AM

I just compiled ghostscript on a Debian 9.4 Virtual Machine.

No issues if I did:
        $ wget "http://ghostscript.com/releases/ghostscript-8.71.tar.gz";
        $ tar zxf ghostscript-8.71.tar.gz
        $ cd ghostscript-8.71
        $ ./autogen.sh
        $ ./configure  --without-jbig2dec
        $ make CFLAGS+="-DHAVE_SYS_TIME_H=1"
        $ su                           
        # cp bin/gs /usr/bin/gs.foo
Note: I only did the "cp" as "root" !!!

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: kagoeg ()
Date: March 26, 2018 05:39AM

Hallo noch einmal von Neuen, nichts von den vorherigen Versuchen ist vorhanden.

$ wget "http://ghostscript.com/releases/ghostscript-8.71.tar.gz";; Ok
$ tar zxf ghostscript-8.71.tar.gz Ok
$ cd ghostscript-8.71
$ ./autogen.sh Fehler

You must have autoconf installed to compile ghostscript.
Download the appropriate package for your distribution,
or get the source tarball at ftp://ftp.gnu.org/pub/gnu/

$ apt-get install autoconf Fehler

bash: gpt-get: Kommando nicht gefunden.

$ ./autoconf Fehler

bash: ./autoconf: Datei oder Verzeichnis nicht gefunden

autoconf über Synaptic-Paketverwaltung installiert

$ ./autogen.sh Ok
$ ./configure --without-jbig2dec Ok
$ make CFLAGS+="-DHAVE_SYS_TIME_H=1" Fehler

tif_jbig.c:(.text+0x418): undefined reference to `jbg_enc_out'
tif_jbig.c:(.text+0x427): undefined reference to `jbg_enc_free'
collect2: error: ld returned 1 exit status
base/unixlink.mak:53: die Regel für Ziel „bin/gs“ scheiterte
make: *** [bin/gs] Fehler 1

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: rickrich ()
Date: March 26, 2018 06:46AM

Then try:
        $ ./configure  --without-jbig2dec --with-system-libtiff 
        $ make CFLAGS+="-DHAVE_SYS_TIME_H=1"

or maybe
$ ./configure  --without-jbig2dec
$ make CFLAGS+="-DHAVE_SYS_TIME_H=1 -ljbig"



Edited 1 time(s). Last edit at 03/26/2018 07:25AM by rickrich.

Options: ReplyQuote
Re: KONIKA MINOLTA-QMS magicolor 2300 DL Druckqulität
Posted by: kagoeg ()
Date: March 26, 2018 10:57AM

$ ./configure --without-jbig2dec --with-system-libtiff
$ make CFLAGS+="-DHAVE_SYS_TIME_H=1"

Ergibt am Ende:

make: *** Keine Regel vorhanden, um das Ziel „obj/libtiff_.dev“,
benötigt von „obj/libtiff.dev“, zu erstellen. Schluss.


$ ./configure --without-jbig2dec
$ make CFLAGS+="-DHAVE_SYS_TIME_H=1 -ljbig"

Ergibt am Ende:

collect2: error: ld returned 1 exit status
base/unixlink.mak:53: die Regel für Ziel „bin/gs“ scheiterte
make: *** [bin/gs] Fehler 1

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.