Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)
Karl Heinz Kremer
khk at khk.net
Sat Oct 26 11:50:10 BST 2002
On Sat, Oct 26, 2002 at 11:07:18AM +0200, Henning Meier-Geinitz wrote:
> Hi,
>
> On Fri, Oct 25, 2002 at 06:41:37PM -0500, Frank Zago wrote:
> > Since this is a recurrent issue, sane-find-scanner and maybe (x)scanimage,
> > could test for the presence of 2 sane installation and issue a warning.
> >
> > Testing for the presence of libsane.so in 2 or more directories should
> > suffice.
>
> Well, configure of sane-backends already prints a warning, if there is
> a SANE installation at a different prefix. If this doesn't work, we
> should fix it. Further more, it's stated in man sane, that you should
> check, if another installation is there.
>
> I don't think that frontends should make any assumptions on
> backend-related stuff, e.g. check for dll.conf. And sometimes having
> installed several versions in different places is intentional. I don't
> want a warning in this case with every call of scanimage or
> sane-find-scanner.
... and in this case it would not even have worked: The problem here
was that the user had just the configuration files in two places (not
two complete Sane installations). The "real" configuratio files were
in /usr/etc, which is usually not a place that's used for config
files. What about putting a warning into configure when the config
files go into such a strange place (that is not in /etc or /usr/local/etc)?
Karl Heinz
--
Karl Heinz Kremer khk at khk.net
PGP Key at http://www.khk.net/download/khk.asc
EPSON Sane Backend: http://www.khk.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20021026/28921dd2/attachment.sig>
More information about the sane-devel
mailing list