Re: Configure not finding SANE

From: Henning Meier-Geinitz (
Date: Sat Dec 23 2000 - 03:45:30 PST

  • Next message: Mitsuru Okaniwa: "Defining the preview area in the xscanimage"


    On Fri, Dec 22, 2000 at 07:53:44PM -0800, Doug X wrote:
    > checking for sane-config... /usr/local/bin/sane-config
    > checking for SANE - version >= 1.0.0... no
    > *** Could not run SANE test program, checking why...
    > *****************************************************************
    > ERROR: SANE is needed for compiling sane-frontends
    > - if you installed SANE as rpm make sure you also included
    > sane-devel
    > *****************************************************************

    That means that sane-config was found but compilation of the test
    program or linking to libsane failed. Look at config.log (search for
    sane-config) for details.

    > What does the script use to find the version no.

    The test program does two things: It compares the value returned by
    sane-config --version to the minimum value (and checks for the same
    major version). Further more it's linked to which seems to
    fail in your case.

    > This is an out of
    > the box install effort, but it worked with 1.0.3.

    In 1.0.3 the library paths were hardcoded. This doesn't work with two
    separate packages.

    > What do I need to do to get this to configure?

    It may be necessary to put /usr/local/lib in /etc/ if it's
    not searched by default. Don't forget to run ldconfig afterwards. You
    may use "LD_LIBRARY_PATH=/usr/local/lib ./configure" instead (if you
    are not root on your system). There is a comment about this in INSTALL.
    There will be better error handling in the next version of


    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 03:40:45 PST