Re: Configure not finding SANE

From: Doug X (fearless1@visto.com)
Date: Sat Dec 23 2000 - 13:26:55 PST

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

    Hi all,
      Thanks Henning and Alessio Rocchi,
    It makes more sense to me now, yes it was indeed the "/usr/local/lib in /etc/ld.so.conf". It configured and compiled up just fine. I guess I skimmed the INSTALL file a little to fast :-) Thank you for your prompt response and
    to everyone on the list have a great Christmas.
    Doug

    -----Original Message-----
    From: Henning Meier-Geinitz hmg-ml@gmx.de
    Sent: Sat, 23 Dec 2000 12:45:30 +0100
    To: sane-devel@mostang.com
    Subject: Re: Configure not finding SANE

    Hi,

    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 libsane.so 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/ld.so.conf 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
    sane-frontends.

    Bye,
      Henning

    ___________________________________________________________________________
    Visit http://www.visto.com/info, your free web-based communications center.
    Visto.com. Life on the Dot.

    --
    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 : Sat Dec 23 2000 - 13:19:21 PST