Sane installed twice (was Re: [sane-devel] epson scanner driving me crazy)

Henning Meier-Geinitz henning@meier-geinitz.de
Sun, 27 Oct 2002 14:00:58 +0100


Hi,

On Sat, Oct 26, 2002 at 06:50:10AM -0400, Karl Heinz Kremer wrote:
> ... 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)?

I have added a test for sysconfdir = /usr/etc in configure. I think
that's the most common mistake. Other directories like
prefix=/opt/sane with sysconfdir=/opt/sane/etc would be intentional,
so no warning is printed in this case.

Bye,
  Henning