# [configure] Could not run SANE test program (still)

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

- Next message: Jean-Pierre Sutto: "microtek 35t+ doesn't work"
  - Previous message: Oliver Rauch: "Re: ./configure for frontend can't fine sane"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  I ran the following
  export SANE_CONFIG=/usr/local/bin/sane-config
  ./configure

  this time I do not get the usage: message from the sane-config script. It almost seems like the configure script is not passing the proper arguements to sane-config. Anyway are my output snippets, and my config.log snippets. Hope this helps you Oliver.

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

  <config.log>
  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"

  #include <sane/sane.h>
  #include <stdio.h>

  int
  main ()
  {
  big main function ...
  }

  configure:2636: 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:2632: `sane_major_version' undeclared (first use in this function)
  configure:2632: (Each undeclared identifier is reported only once
  configure:2632: for each function it appears in.)
  configure:2632: `sane_minor_version' undeclared (first use in this function)
  configure:2632: `sane_micro_version' undeclared (first use in this function)
  configure: failed program was:
  #line 2626 "configure"
  #include "confdefs.h"

  #include <sane/sane.h>
  #include <stdio.h>

  int main() {
  return ((sane_major_version) || (sane_minor_version) || (sane_micro_version));
  ; return 0; }

  </config.log>

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

  - Next message: Jean-Pierre Sutto: "microtek 35t+ doesn't work"
  - Previous message: Oliver Rauch: "Re: ./configure for frontend can't fine sane"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 15:50:03 PST