./configure for frontend can't fine sane

From: Shea Martin (snowsquirrel@home.com)
Date: Tue Jan 23 2001 - 14:16:47 PST

  • Next message: Oliver Rauch: "Re: ./configure for frontend can't fine sane"

    <quote>
    Having the sources is one thing. But you need to have the lot installed.
    And your system must be able to find the include files and what ever it
    may need to compile the frontends.
    </quote>

    I tried ./configure --includedir=~/sane-backends-1.0.4, and but I got the same output as usual
    <output>
    ...
    checking for strncasecmp... yes
    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
    *****************************************************************
    </output>

    <quote>
    please take a look at config.log and search for the first occurence of "sane".
    Take a closer look at the next lines, there you should find the reason
    why the program failed to compile.
    </quote>

    Here is what I found
    <snippet>
    configure:2408: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lm 1>&5
    configure:2380: checking for strncasecmp
    configure:2408: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lm 1>&5
    configure:2475: checking for sane-config
    configure:2510: checking for SANE - version >= 1.0.0
    configure:2590: gcc -o conftest -g -O2 -Wall -I/usr/local/include -D_GNU_SOURCE -L/usr/local/lib conftest.c -lm -lsane -lnsl -lm -ljpeg 1>&5
    configure: In function `main':
    configure:2548: warning: implicit declaration of function `system'
    configure: failed program was:
    #line 2538 "configure"
    #include "confdefs.h"
    </snippet>

    If I ./configure --with-sane-exec-prefix=pathtomysane-config(/usr/local/bin), I get a bunch of output re the usage of sane-config (like I had type the command sane-config --help 20 times.

    If I manually type sane-config --version I get '1.0.4'.

    Anyone know what it going on here?

    -- 
    ...elbows out,
    stick on the ice!
    

    -- 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 : Tue Jan 23 2001 - 14:04:44 PST