Did the sane-frontends-1.0.4 'configure' error issue ever get completely
resolved?
Sorry if I missed the solution, but the following message was the last I can
find regarding this subject on the 'sane-devel' list. I just moved to SANE
1.0.4 and am having the same problem.
Tom Davis
-----Original Message-----
From: Shea Martin [mailto:snowsquirrel@home.com]
Sent: Tuesday, January 23, 2001 6:02 PM
To: sane-devel@mostang.com
Cc: oliver.rauch@Wolfsburg.DE
Subject: [configure] Could not run SANE test program (still)
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
-- 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 Mar 06 2001 - 11:11:49 PST