>You need to get the latest version of gtk+ in order to run both the >gimp and the sane stuff. Beware, it will break some of the config >tools that come from Red Hat. The control-panel for one. You'll also >need to uninstall any 'gtk' rpms that came w/ Red Hat. >jason OK, I have installed gtk+-0.99.10, which I downloaded from the RedHat ftp site a few days ago. I removed the old gtk-0.99.xxxx that came with RedHat Linux 5.0 so the control-panel is disabled now. >From within the /usr/local/src/sane-0.72 root directory, I executed /configure, which generated the following config.log file of what it did: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:581: checking for gcc configure:658: checking whether the C compiler (gcc ) works configure:672: gcc -o conftest conftest.c 1>&5 configure:692: checking whether the C compiler (gcc ) is a cross-compiler configure:697: checking whether we are using GNU C configure:706: gcc -E conftest.c configure:721: checking whether gcc accepts -g configure:778: checking for a BSD compatible install configure:828: checking whether make sets ${MAKE} configure:855: checking how to run the C preprocessor configure:876: gcc -E conftest.c >/dev/null 2>conftest.out configure:917: checking whether gcc needs -traditional configure:963: checking for AIX configure:988: checking for minix/config.h configure:998: gcc -E conftest.c >/dev/null 2>conftest.out configure:994: minix/config.h: No such file or directory configure: failed program was: #line 993 "configure" #include "confdefs.h" #include <minix/config.h> configure:1036: checking for POSIXized ISC configure:1063: checking for ANSI C header files configure:1076: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1143: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c 1>&5 configure:1174: checking for fcntl.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for unistd.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for libintl.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for libc.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: libc.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <libc.h> configure:1174: checking for sys/dsreq.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/dsreq.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/dsreq.h> configure:1174: checking for sys/select.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for sys/scanio.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scanio.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scanio.h> configure:1174: checking for scsi.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: scsi.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <scsi.h> configure:1174: checking for sys/scsi.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scsi.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scsi.h> configure:1174: checking for sys/scsicmd.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scsicmd.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scsicmd.h> configure:1174: checking for sys/scsiio.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scsiio.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scsiio.h> configure:1174: checking for bsd/dev/scsireg.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: bsd/dev/scsireg.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <bsd/dev/scsireg.h> configure:1174: checking for scsi/sg.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for /usr/src/linux/include/scsi/sg.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for io/cam/cam.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: io/cam/cam.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <io/cam/cam.h> configure:1174: checking for os2.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: os2.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <os2.h> configure:1174: checking for sys/socket.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for sys/io.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for asm/io.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1174: checking for gscdds.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: gscdds.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <gscdds.h> configure:1174: checking for sys/scsi/sgdefs.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scsi/sgdefs.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scsi/sgdefs.h> configure:1174: checking for sys/scsi/targets/scgio.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: sys/scsi/targets/scgio.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <sys/scsi/targets/scgio.h> configure:1174: checking for apollo/scsi.h configure:1184: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:1180: apollo/scsi.h: No such file or directory configure: failed program was: #line 1179 "configure" #include "confdefs.h" #include <apollo/scsi.h> configure:1212: checking for working const configure:1266: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1>&5 configure: In function `main': configure:1240: warning: unused variable `s' configure:1260: warning: unused variable `foo' configure:1228: warning: unused variable `zero' configure:1222: warning: unused variable `x' configure:1239: warning: `t' might be used uninitialized in this function configure:1257: warning: `b' might be used uninitialized in this function configure:1287: checking for inline configure:1301: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1>&5 configure: In function `main': configure:1297: warning: control reaches end of non-void function configure: At top level: configure:1297: warning: return-type defaults to `int' configure:1327: checking return type of signal handlers configure:1349: gcc -c -g -O2 -Wall -D_GNU_SOURCE conftest.c 1>&5 configure: In function `main': configure:1345: warning: unused variable `i' configure:1368: checking for size_t configure:1401: checking for pid_t configure:1434: checking for ssize_t configure:1467: checking for u_char configure:1500: checking for u_int configure:1533: checking for u_long configure:1596: checking for scsireq_enter in -lscsi configure:1615: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lscsi 1>&5 ld: cannot open -lscsi: No such file or directory configure: failed program was: #line 1604 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char scsireq_enter(); int main() { scsireq_enter() ; return 0; } configure:1643: checking for sqrt in -lm configure:1662: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lm 1>&5 configure:1655: warning: conflicting types for built-in function `sqrt' configure:1690: checking for gettext in -lintl configure:1709: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lintl -lm 1>&5 ld: cannot open -lintl: No such file or directory configure: failed program was: #line 1698 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gettext(); int main() { gettext() ; return 0; } configure:1737: checking for gethostbyaddr in -lnsl configure:1756: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:1784: checking for socket in -lsocket configure:1803: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lsocket -lnsl -lm 1>&5 ld: cannot open -lsocket: No such file or directory configure: failed program was: #line 1792 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { socket() ; return 0; } configure:1834: checking for working alloca.h configure:1846: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure: In function `main': configure:1842: warning: unused variable `p' configure:1867: checking for alloca configure:1895: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure: In function `main': configure:1891: warning: unused variable `p' configure:2066: checking for unistd.h configure:2105: checking for getpagesize configure:2133: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2158: checking for working mmap configure:2306: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure: In function `main': configure:2247: warning: implicit declaration of function `getpagesize' configure:2256: warning: implicit declaration of function `rand' configure:2257: warning: implicit declaration of function `umask' configure:2261: warning: implicit declaration of function `write' configure:2263: warning: implicit declaration of function `close' configure:2294: warning: implicit declaration of function `read' configure:2300: warning: implicit declaration of function `unlink' configure:2333: checking for atexit configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for ioperm configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for mkdir configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for scsireq_enter configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 /tmp/cca036051.o: In function `main': /usr/local/src/sane-0.72/configure:2355: undefined reference to `scsireq_enter' configure: failed program was: #line 2338 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char scsireq_enter(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char scsireq_enter(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_scsireq_enter) || defined (__stub___scsireq_enter) choke me #else scsireq_enter(); #endif ; return 0; } configure:2333: checking for sigprocmask configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strdup configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strndup configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strftime configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strstr configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strsep configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strtod configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for snprintf configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for usleep configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for strncasecmp configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 configure:2333: checking for gtk_tooltips_set_tooltips configure:2361: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -lnsl -lm 1>&5 /tmp/cca037781.o: In function `main': /usr/local/src/sane-0.72/configure:2355: undefined reference to `gtk_tooltips_set_tooltips' configure: failed program was: #line 2338 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gtk_tooltips_set_tooltips(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gtk_tooltips_set_tooltips(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gtk_tooltips_set_tooltips) || defined (__stub___gtk_tooltips_set_tooltips) choke me #else gtk_tooltips_set_tooltips(); #endif ; return 0; } configure:2439: checking host system type configure:2462: checking for ranlib configure:2501: checking for ld used by GCC configure:2558: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.8.1 (with BFD linux-2.8.1.0.1) configure:2574: checking for BSD-compatible nm configure:2611: checking whether ln -s works configure:2686: checking for X configure:2945: checking for dlfcn.h configure:2955: gcc -E -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out configure:2976: checking for dlopen in -ldl configure:2995: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -ldl -lnsl -lm 1>&5 configure:3025: checking for dlopen configure:3053: gcc -o conftest -g -O2 -Wall -D_GNU_SOURCE conftest.c -ldl -lnsl -lm 1>&5 configure:3107: checking for main in -lX11 configure:3122: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lX11 -ldl -lnsl -lm 1>&5 configure:3150: checking for main in -lXext configure:3165: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3193: checking for main in -lXpm configure:3208: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lXpm -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3237: checking for main in -lglib configure:3252: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lglib -lXpm -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3280: checking for main in -lXi configure:3295: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lXi -lglib -lXpm -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3323: checking for main in -lgdk configure:3338: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lgdk -lXi -lglib -lXpm -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3366: checking for gtk_gamma_curve_new in -lgtk configure:3385: gcc -o conftest -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -L/usr/X11R6/lib conftest.c -lgtk -lgdk -lXi -lglib -lXpm -lXext -lX11 -ldl -lnsl -lm 1>&5 configure:3411: checking for libgimp/gimp.h configure:3421: gcc -E -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE conftest.c >/dev/null 2>conftest.out Then I executed the make command to compile the SANE-0.72 source code, which much of it compiled fine, except for the following section: for subdir in lib sanei backend frontend doc tools; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ || case "" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[1]: Entering directory `/usr/local/src/sane-0.72/lib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/sane-0.72/lib' making all in sanei make[1]: Entering directory `/usr/local/src/sane-0.72/sanei' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/sane-0.72/sanei' making all in backend make[1]: Entering directory `/usr/local/src/sane-0.72/backend' gcc -c -I/usr/X11R6/include -I/usr/lib/glib/include -g -O2 -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/X11R6/include -I/usr/lib/glib/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share ! -DV_MAJOR=0 -DV_MINOR=72 -DBACKEND_NAME=umax -DLIBDIR=/usr/local/lib -fPIC -DPIC umax.c umax.c: In function `sane_umax_set_io_mode': umax.c:5083: parse error at null character umax.c:5084: warning: control reaches end of non-void function make[1]: *** [umax.lo] Error 1 make[1]: Leaving directory `/usr/local/src/sane-0.72/backend' make: *** [all-recursive] Error 1 I had to execute the make command a second time with 2>&1 | tee /makelog to capture the above compile results. Anyway, I don't understand what is causing the compile error with the umax.c part of SANE. The only scanners that I have, is a Hewlett Packard 4c flatbed and a Connectix QuickCAM. If you have any ideas or suggestions to correct this error, please send me email. I have been trying to make SANE work for two weeks now. Don't want to go in-SANE. :) Thank you for helping me. David Smith Net-Tamer V 1.09.2 - Registered -- PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES! http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.