Re: ./configure for frontend can't fine sane

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Tue Jan 23 2001 - 14:55:56 PST

  • Next message: Shea Martin: "[configure] Could not run SANE test program (still)"

    Shea Martin wrote:

    >
    > 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>

    Please also mail the next lines after this point, the error is not listed in the lines you posted.

    >
    > 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.

    ...oops.. that is a problem of the sane-config script and a black out on my side ;-).

    The path to sane-config has to be set this way:
    SANE_CONFIG=/usr/local/bin/sane-config ./configure
    with --with-sane-prefix=/xyz the install path should be corrected
    when the sane-files have been moved after installations (but that
    is not implemented in sane-config).

    Bye
    Oliver

    -- 
    Homepage:	http://www.wolfsburg.de/~rauch
    sane-umax:	http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:		http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:		mailto:Oliver.Rauch@Wolfsburg.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 : Tue Jan 23 2001 - 14:54:36 PST