[sane-devel] upgraded through 1.0.5 -> 1.0.6 and still 1.0.3 around?

Karl Heinz Kremer khk@khk.net
Tue, 6 Nov 2001 12:15:41 -0000


Christoph,

it's very likely that your Linux distribution installed a 
version of Sane in /usr/... , and when you compiled and
installed the new version of Sane it was installed in /usr/local/...

Depending on how your system is set up (ldconfig or LD_LIBRARY_PATH)
the frontends first find the libraries in /usr/lib/sane, even though
there is a newer version available in /usr/local/lib/sane.

Because of this, it is very important that you uninstall Sane before
you manually install a new version. When you use the distribution's
upgrade capabilities (based on RPM) the remove operation is done 
automatically, but when you manually install a new version it's
your responsibility to get rid of the old version.

A manual compile and install usually (if you don't specify anything
different) installs files into these directories: /usr/local/bin,
/usr/local/lib/sane, /usr/local/etc/sane.d

The RPM package generated by Red Hat or SuSE (or probably every other
Linux distribution) gets installed in /usr/bin, /usr/lib/sane and /etc/sane.d.

Please check if you have the /usr/lib/sane and /etc/sane.d directories and
rename them. You should also remove every libsane* file from /usr/lib.

It is possible that your distribution is not using /usr/lib but /lib. So
please check also in /lib and /lib/sane.

Hope this helps,

Karl Heinz


Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de> said:

> 
> I'm trying to get a Mustek 1200 USB working. For this purpose
> I upgraded from RH Linux 6.1 to 7.1 and sane from
> 1.0.5 to 1.0.6.
> 
> When looking at the output of
> 
> scanimage -L 
> 
> it seems that 1.0.3 is still around somewhere or am I wrong?
> 
> # scanimage -L
> [sanei_debug] Setting debug level of mustek to 5.
> [mustek] SANE Mustek backend version 1.0 build 96 (SANE 1.0.3)
> [mustek] sane_init: authorize == null
> [mustek] sane_init: using sanei_scsi_open_extended
> [mustek] sane_init: reading config file `mustek.conf'
> [mustek] sane_init: config file line 1: ignoring comment line
> [mustek] sane_init: config file line 2: ignoring empty line
> [mustek] sane_init: config file line 3: strip-height set to 1 inches
> [mustek] sane_init: config file line 4: ignoring comment line
> [mustek] sane_init: config file line 5: ignoring empty line
> [mustek] sane_init: config file line 6: ignoring comment line
> [mustek] sane_init: config file line 7: trying to attach `scsi MUSTEK * 
Scanner'[mustek] sane_init: config file line 8: ignoring comment line
> [mustek] sane_init: config file line 9: ignoring comment line
> [mustek] sane_init: config file line 10: option lineart-fix ignored, was 
set before any device name
> [mustek] sane_init: config file line 11: ignoring empty line
> [mustek] sane_init: config file line 12: trying to attach `scsi SCANNER'
> [mustek] sane_init: config file line 13: ignoring comment line
> [mustek] sane_init: config file line 14: ignoring comment line
> [mustek] sane_init: config file line 15: option lineart-fix ignored, was 
set before any device name
> [mustek] sane_init: config file line 16: ignoring empty line
> [mustek] sane_init: config file line 17: trying to attach `/dev/scanner'
> [mustek] attach: trying device /dev/scanner
> [mustek] dev_open /dev/scanner
> [mustek] dev_open: Invalid argument: can't open /dev/scanner as a SCSI 
device
> [mustek] dev_open: Invalid argument: can't open /dev/scanner as an AB306N 
device[mustek] dev_open: can't open /dev/scanner
> [mustek] sane_init: config file line 18: ignoring comment line
> [mustek] sane_init: config file line 19: ignoring comment line
> [mustek] sane_init: config file line 20: option lineart-fix ignored, was 
set before any device name
> [mustek] sane_init: config file line 21: ignoring empty line
> [mustek] sane_init: config file line 22: ignoring empty line
> [mustek] sane_init: config file line 23: ignoring comment line
> [mustek] sane_init: config file line 24: ignoring comment line
> [mustek] sane_init: config file line 25: ignoring comment line
> [mustek] sane_init: config file line 26: ignoring comment line
> [mustek] sane_init: config file line 27: ignoring comment line
> [mustek] sane_get_devices 
> [mustek] sane_exit
> onfig file line 27: ignoring comment line
> [mustek] sane_get_devices 
> [mustek] sane_exit
> #
> 
> 
> -- 
> Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
> _______________________________________________
> Sane-devel mailing list
> Sane-devel@www.mostang.com
> http://www.mostang.com/mailman/listinfo/sane-devel
> 



--