primax: compression algorithm ....


Previous by date: 3 Sep 2002 19:44:18 -0000 Re: Force and calibration patch again, Christian Ordig
Next by date: 3 Sep 2002 19:44:18 -0000 Re: compression algorithm ...., Christian Ordig
Previous in thread:
Next in thread: 3 Sep 2002 19:44:18 -0000 Re: compression algorithm ...., Christian Ordig

Subject: compression algorithm ....
From: Siegfried Janutta ####@####.####
Date: 3 Sep 2002 19:44:18 -0000
Message-Id: <3D7510FF.3070306@gmx.de>

Hallo Christian
hallo linuxhacker-crew,

please let me write german, it's not so heavy for me.

Ich habe einen Primax Colorado Direct 600 am Parallelport des
Druckers Lpt1 (EPP). Single-PC mit SuSE Linux 8.0

Trotz eifrigen Suchens mit Google und viel Lesens im ListenArchiv
kann ich mir folgende Fragen nicht beantworten und bitte Dich deshalb
um Hilfe wie folgt:

1) Welches nachstehend genannte Programm wird
zusammen mit Primax (Parallelport) verwendet ?:

Gimp - Sane - Xsane - Gocr - Clara - Kooka

2) Welches Programm sollte ich neben
Primax_scan-0.93beta3.tar.gz auch installieren ?:

Primaxd-0.5.tar.gz
PrimaxGUI-0.99-9.tar.gz (falsche Version ?)

3) Wird mit Primax das Modul pt-drv benötigt
und wenn ja, wo finde ich es ?

4) Bei mir ist u.a. installiert:

libxml, libxml2, libxml2-devel, libtiff

5) wieselsdachsbau:~ # rpm -qi libtiff

Name        : libtiff
Version     : 3.5.7
Release     : 60
  [. . . ]
URL         : http://www.libtiff.org/
Summary     : Tiff Library (with jpeg and compression support)
Description :
To link a program with this libtiff, you will have to add
-ljpeg and -lz to include the necessary libjpeg and libz
in the linking process.
[. . . .]

6)  wieselsdachsbau:~ # primax_scan -ljpeg -lz

Looks like a Primax Colorado Direct

7) Beim Aufruf von primax_scan leuchtet die Lampe
des Scanners und der Sannvorgang beginnt. Alsdann
werden folgende Fehlermeldungen ausgegeben:

wieselsdachsbau:~ # primax_scan
primax_scan.tif: LZW compression is not available to due to Unisys patent enforcement.
primax_scan.tif: Compression algorithm does not support random access.
[. . . .]


Wenn "libtiff" daran Schuld ist, was muss ich in libtiff ändern ?

Nach Abschluß des Scannvorganges erlischt die Leuchte nicht.
(Auch nicht beim Ausschalten des PC's)

8) Beim Konfigurieren von primaxd erhalte ich
diverse Probleme:

a) Es wird nach makeinfo gesucht, habe ich aber nicht.

b)  /usr/local/etc/primaxd-conf.xml wird nicht geschrieben,
obwohl ich manuell /usr/local/etc/ angelegt habe.

c) Beim "make" werden folgende Fehlermeldungen ausgegeben:

wieselsdachsbau:/usr/local/primaxd-0.5 # make
Making all in primaxd
make[1]: Wechsel in das Verzeichnis Verzeichnis 
»/usr/local/primaxd-0.5/primaxd«
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c authorize.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c primax_opts.c
primax_opts.c: In function `init_odescs':
primax_opts.c:292: warning: assignment from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c 
sanei_codec_bin.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sanei_wire.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c 
scanner_settings.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c primaxd.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c 
primaxd_init_wire.c
primaxd_init_wire.c:64: warning: `print_ip' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sanei_net.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c sane_stuff.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c 
from_primax_scan.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c tables.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c lp.c
lp.c: In function `epp_on':
lp.c:84: warning: implicit declaration of function `iopl'
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c LM9811.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c lamp_control.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c config_file.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c parport_lock.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include  -Wall 
-DPRIMAXD_CONF_FILE=\"/usr/local/etc/primaxd-conf.xml\" 
-DPRIMAXD_LOCK_FILE=\"/usr/local/var/lock/primaxd.pid\" 
-DPRIMAXD_VERSION=\"\" 	`xml2-config --cflags`  -g -O2 -c daemon.c
gcc  -g -O2 -g `xml2-config --libs` -o primaxd  authorize.o 
primax_opts.o sanei_codec_bin.o sanei_wire.o scanner_settings.o 
primaxd.o primaxd_init_wire.o sanei_net.o sane_stuff.o 
from_primax_scan.o tables.o lp.o LM9811.o lamp_control.o 
config_file.o parport_lock.o daemon.o -lm
config_file.o: In function `load_settings':
/usr/local/primaxd-0.5/primaxd/config_file.c:35: undefined reference 
to `xmlParseFile'
/usr/local/primaxd-0.5/primaxd/config_file.c:36: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:36: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:38: undefined reference 
to `xmlFreeDoc'
/usr/local/primaxd-0.5/primaxd/config_file.c:42: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:42: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:54: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:55: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:60: undefined reference 
to `xmlNodeGetContent'
/usr/local/primaxd-0.5/primaxd/config_file.c:63: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:64: undefined reference 
to `xmlNodeGetContent'
/usr/local/primaxd-0.5/primaxd/config_file.c:69: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:70: undefined reference 
to `xmlNodeGetContent'
/usr/local/primaxd-0.5/primaxd/config_file.c:75: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:77: undefined reference 
to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:79: undefined reference 
to `xmlNodeGetContent'
config_file.o: In function `save_settings':
/usr/local/primaxd-0.5/primaxd/config_file.c:96: undefined reference 
to `xmlSetCompressMode'
/usr/local/primaxd-0.5/primaxd/config_file.c:97: undefined reference 
to `xmlParseFile'
/usr/local/primaxd-0.5/primaxd/config_file.c:98: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:98: undefined reference 
to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:100: undefined 
reference to `xmlFreeDoc'
/usr/local/primaxd-0.5/primaxd/config_file.c:104: undefined 
reference to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:104: undefined 
reference to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:107: undefined 
reference to `xmlDocGetRootElement'
/usr/local/primaxd-0.5/primaxd/config_file.c:108: undefined 
reference to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:109: undefined 
reference to `xmlNodeSetContent'
/usr/local/primaxd-0.5/primaxd/config_file.c:111: undefined 
reference to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:112: undefined 
reference to `xmlNodeSetContent'
/usr/local/primaxd-0.5/primaxd/config_file.c:114: undefined 
reference to `xmlStrcasecmp'
/usr/local/primaxd-0.5/primaxd/config_file.c:117: undefined 
reference to `xmlUnlinkNode'
/usr/local/primaxd-0.5/primaxd/config_file.c:118: undefined 
reference to `xmlFreeNodeList'
/usr/local/primaxd-0.5/primaxd/config_file.c:121: undefined 
reference to `xmlNewChild'
/usr/local/primaxd-0.5/primaxd/config_file.c:125: undefined 
reference to `xmlSaveFormatFile'
collect2: ld returned 1 exit status
make[1]: *** [primaxd] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis 
»/usr/local/primaxd-0.5/primaxd«
make: *** [all-recursive] Fehler 1

9) Was habe ich falsch gemacht ?
Wo finde ich Info-Material auch für den späteren Gebrauch von Primax
unter Linux ? (Ich kenne unter Windows "Tbridge, Twain, MGI, Iris")

Ich bin nur einfacher User (kein Admin). Es wäre schön, wenn Du
das berücksichtigen könntest.

Für alle Hilfe im voraus meinen herzlichen Dank.

Schöne Grüße
Siegfried











Previous by date: 3 Sep 2002 19:44:18 -0000 Re: Force and calibration patch again, Christian Ordig
Next by date: 3 Sep 2002 19:44:18 -0000 Re: compression algorithm ...., Christian Ordig
Previous in thread:
Next in thread: 3 Sep 2002 19:44:18 -0000 Re: compression algorithm ...., Christian Ordig


Powered by ezmlm-browse 0.20.