Re: problems with sysconfdir

From: Oliver Rauch (oliver.rauch@rauch-domain.de)
Date: Wed Apr 11 2001 - 12:29:47 PDT

  • Next message: Henning Meier-Geinitz: "Re: problems with sysconfdir"

    Peter Weilbacher wrote:
    >
    > Hi all,
    >
    > I have tried to use sane-backends-1.0.4 with xsane-0.75 and found
    > with strace that it looks in /etc/sane.d/sane.d for the
    > *.conf-files, although I configured with --sysconfdir=/etc and *not*
    > --sysconfdir=/etc/sane.d
    >
    > All Makefiles correctly show sysconfdir, and during installation
    >
    > sane-backends-1.0.4> find . -name Makefile -exec grep -H "sysconfdir" {} \;
    > ./backend/Makefile:sysconfdir = /etc
    > ./backend/Makefile:configdir = ${sysconfdir}/sane.d
    > ./doc/Makefile:sysconfdir = /etc
    > ./doc/Makefile:configdir = ${sysconfdir}/sane.d
    > ./frontend/Makefile:sysconfdir = /etc
    > ./frontend/Makefile:configdir = ${sysconfdir}/sane.d
    > ./japi/Makefile:sysconfdir = /etc
    > ./japi/Makefile:configdir = ${sysconfdir}/sane.d
    > ./lib/Makefile:sysconfdir = /etc
    > ./lib/Makefile:configdir = ${sysconfdir}/sane.d
    > ./sanei/Makefile:sysconfdir = /etc
    > ./sanei/Makefile:configdir = ${sysconfdir}/sane.d
    > ./tools/Makefile:sysconfdir = /etc
    > ./tools/Makefile:configdir = ${sysconfdir}/sane.d
    > ./Makefile:sysconfdir = /etc
    >
    > Where do I have to change something, so that it looks for
    > /etc/sane.d/dll.conf and hp.conf, when I start xsane/scanimage
    > without device parameters (otherwise I cannot use it as GIMP
    > plugin).

    Hi Peter,

    the simple way would be to configure sane and xsane
    without any --prefix options.

    The hack would be to place the config files in /etc/sane.d/sane.d/...

    If I have the time I will take a look what happens when I configure
    sane with --prefix

    Bye
    Oliver

    -- 
    Homepage:	http://www.rauch-domain.de
    sane-umax:	http://www.rauch-domain.de/sane-umax
    xsane:		http://www.xsane.org
    E-Mail:		mailto:Oliver.Rauch@rauch-domain.de
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Wed Apr 11 2001 - 12:08:33 PDT