[sane-devel] Sane is definately not Scanner Access Now Easy

Art Fore art_fore at 3mts.com
Wed Feb 20 16:01:56 GMT 2002


Further info from the configure file

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:603: checking whether GIMP plugin is requested
configure:615: checking whether JPEG support is requested
configure:627: checking whether PNG support is requested
configure:639: checking whether TIFF support is requested
configure:654: checking for gcc
configure:767: checking whether the C compiler (gcc  ) works
configure:783: gcc -o conftest    conftest.c  1>&5
configure:809: checking whether the C compiler (gcc  ) is a cross-compiler
configure:814: checking whether we are using GNU C
configure:842: checking whether gcc accepts -g
configure:874: checking how to run the C preprocessor
configure:954: checking for AIX
configure:979: checking for minix/config.h
configure:1027: checking for POSIXized ISC
configure:1051: checking for gcc option to accept ANSI C
configure:1158: checking for a BSD compatible install
configure:1211: checking whether make sets ${MAKE}
configure:1238: checking how to run the C preprocessor
configure:1319: checking whether gcc needs -traditional
configure:1372: checking for ANSI C header files
configure:1479: checking for os2.h
configure:1479: checking for fcntl.h
configure:1479: checking for unistd.h
configure:1479: checking for libc.h
configure:1479: checking for sys/time.h
configure:1479: checking for sys/types.h
configure:1479: checking for zlib.h
configure:1517: checking for working const
configure:1592: checking for inline
configure:1632: checking return type of signal handlers
configure:1673: checking for size_t
configure:1706: checking for pid_t
configure:1739: checking for ssize_t
configure:1772: checking for u_char
configure:1805: checking for u_int
configure:1838: checking for u_long
configure:1872: checking for sqrt in -lm
configure:1919: checking for deflateInit_ in -lz
configure:1968: checking for jpeg_start_decompress in -ljpeg
configure:2019: checking for TIFFOpen in -ltiff
configure:2070: checking for working alloca.h
configure:2103: checking for alloca
configure:2307: checking for unistd.h
configure:2346: checking for getpagesize
configure:2399: checking for working mmap
configure:2572: checking for atexit
configure:2572: checking for mkdir
configure:2572: checking for sigprocmask
configure:2572: checking for strdup
configure:2572: checking for strndup
configure:2572: checking for strftime
configure:2572: checking for strstr
configure:2572: checking for strsep
configure:2572: checking for strtod
configure:2572: checking for snprintf
configure:2572: checking for usleep
configure:2572: checking for strcasecmp
configure:2572: checking for strncasecmp
configure:2572: checking for lstat
configure:2628: checking for ranlib
configure:2656: checking for off_t
configure:2694: checking for argz.h
configure:2694: checking for limits.h
configure:2694: checking for locale.h
configure:2694: checking for nl_types.h
configure:2694: checking for malloc.h
configure:2694: checking for string.h
configure:2694: checking for unistd.h
configure:2694: checking for values.h
configure:2694: checking for sys/param.h
configure:2734: checking for getcwd
configure:2734: checking for munmap
configure:2734: checking for putenv
configure:2734: checking for setenv
configure:2734: checking for setlocale
configure:2734: checking for strchr
configure:2734: checking for strcasecmp
configure:2734: checking for __argz_count
configure:2734: checking for __argz_stringify
configure:2734: checking for __argz_next
configure:2853: checking for LC_MESSAGES
configure:2886: checking whether NLS is requested
configure:2906: checking whether included gettext is requested
configure:2925: checking for libintl.h
configure:2952: checking for gettext in libc
configure:3055: checking for msgfmt
configure:3089: checking for dcgettext
configure:3144: checking for gmsgfmt
configure:3180: checking for xgettext
configure:3220: gcc -o conftest -g -O2 -Wall  -D_GNU_SOURCE  conftest.c
-ltiff -ljpeg -lz -lm  1>&5
configure:3675: checking for catalogs to be installed
configure:3812: checking for sane-config
configure:3847: checking for SANE - version >= 1.0.0
configure:3927: gcc -o conftest -g -O2 -Wall -I/usr/local/include
-D_GNU_SOURCE  -L/usr/local/lib -Wl,-rpath,/usr/local/lib conftest.c -ltiff
-ljpeg -lz -lm  -lsane -lnsl -lm  -ljpeg -ldl 1>&5
configure: In function `main':
configure:3885: warning: implicit declaration of function `system'
configure:4052: checking for gtk-config
configure:4087: checking for GTK - version >= 1.2.0
configure:4173: gcc -o conftest -g -O2 -Wall -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-D_GNU_SOURCE  conftest.c -ltiff -ljpeg -lz -lm  -L/usr/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 1>&5
configure: In function `main':
configure:4120: warning: implicit declaration of function `system'
configure:4304: checking for gimp-config
configure:4353: checking for gimptool
configure:4399: checking for libgimp/gimp.h
configure:4440: checking for libgimp/gimpfeatures.h
configure:4728: gcc -o conftest -g -O2 -Wall -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-D_GNU_SOURCE  conftest.c -ltiff -ljpeg -lz -lm  -L/usr/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm   1>&5
configure:4714: parse error
configure: failed program was:
#line 4708 "configure"
#include "confdefs.h"

#include <libgimp/gimp.h>
#include <stdio.h>
#define GIMP_TEST_CHECK_VERSION(major, minor, micro)     ( > (major) ||
( == (major) &&  > (minor)) ||      ( == (major) &&  == (minor) &&        >=
(micro)))                                

#if !GIMP_TEST_CHECK_VERSION(1,1,25)
#  define GimpPlugInInfo GPlugInInfo /* do test with gimp interface version
1.0 */
#endif
GimpPlugInInfo PLUG_IN_INFO = { NULL, NULL, NULL, NULL };

int main() {
 return ((gimp_major_version) || (gimp_minor_version) ||
(gimp_micro_version)); 
; return 0; }
configure:4779: checking for png.h
configure:4810: checking for png_create_info_struct in -lpng


Art

-----Original Message-----
From: Art Fore [mailto:art_fore at 3mts.com]
Sent: Wednesday, February 20, 2002 7:51 AM
To: SANE devel
Subject: RE: [sane-devel] Sane is definately not Scanner Access Now Easy


There is no /etc/bashrc, there is a /etc/.bashrc but it has nothing in it
about paths.

module.conf should have been modules. conf

I installed the gimp developement, ran the xsane ./configure, it says GIMP
Plugin deactivated. it has checcking for GTK - version >= 1.2.0 ... yes
checking for gimp-config ... (cached) no
checking for gimptool ... (cached) no
checking for libgimp/gimp.h .. cached no
checking for libimpfeatures.h .. (cached) no
no
*** Could not run GIMP test program, checking why...

This is all greek to me.

Art

-----Original Message-----
From: Major A [mailto:andras at users.sourceforge.net]
Sent: Wednesday, February 20, 2002 7:12 AM
To: Art Fore; SANE devel
Subject: Re: [sane-devel] Sane is definately not Scanner Access Now Easy



> Have finally gotten sane-find-scanner working and scanimage -L working as
> root after over 3 days trying. Have to do PATH=$PATH:/usr/local/bin
though.
> Tried the profiles.local, that did not work. Does anyone have any idea how
> to make the add to the path environment on a permanent basis?

Have you tried /etc/bashrc? /etc/profile etc. are only executed on
login.

> When I execute xsane, I get 
> Gtk-Warning **: Unable to locate loadable module in module-path:
> "libpixmap.so" even though file is located in
> /opt/gnome/lib/gtk/themes/engines,
> then it comes up, cannot find scanner. Added the path to the
> /etc/module.conf, still no work.

I have no libpixmap.so on my computer, so it cannot be too much or a
problem. In any case, /etc/module.conf (are you sure it's not
/etc/modules.conf?) is for kernel modules rather than GTK/GNOME
modules, and the two have nothing to do with each other.

> Tried Gimp, it also cannot find scanner even though I done the 
> ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/ Per the Xsane website
which
> also did not work, so I done ln -s /usr/local/bin/xsane
> /opt/gnome/lib/gimp/1.2/plug-ins/ which appeared to take but gimp still
> cannot find scanner.

Does GIMP print any error messages? Try running it from within an
xterm, it might print things there. It looks like you did not have the
GIMP development packages installed when you built xsane, so xsane has
disabled GIMP plugin support.

  Andras

===========================================================================
Major Andras
    e-mail: andras at users.sourceforge.net
    www:    http://andras.webhop.org/
===========================================================================
_______________________________________________
Sane-devel mailing list
Sane-devel at www.mostang.com
http://www.mostang.com/mailman/listinfo/sane-devel



More information about the sane-devel mailing list