<div dir="ltr">Hi guys.<div><br></div><div style>I'm trying to build sane-backends to get my Canon PIXMA 3100 series working. I am able to use Canon's included scanner program, but it's not the greatest. Would like to get xsane / gscan working.</div>

<div style><br></div><div style>I am unable to build sane-backends successfully. </div><div style><br></div><div style>Here's the log from the configure step / make-file: </div><div style><br></div><div style>I'm new to building/compiling.  Any help? Thanks.<br>

</div><div style><br></div><div style><br></div><div style><div> $ ./configure --prefix=/usr BACKENDS=PIXMA --sysconfdir=/etc --localstatedir=/var</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div>

<div>checking whether build environment is sane... yes</div><div>checking for a thread-safe mkdir -p... /bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking whether to enable maintainer-specific portions of Makefiles... no</div>

<div>checking build system type... i686-pc-linux-gnu</div><div>checking host system type... i686-pc-linux-gnu</div><div>checking for gcc... gcc</div><div>checking whether the C compiler works... yes</div><div>checking for C compiler default output file name... a.out</div>

<div>checking for suffix of executables... </div><div>checking whether we are cross compiling... no</div><div>checking for suffix of object files... o</div><div>checking whether we are using the GNU C compiler... yes</div>

<div>checking whether gcc accepts -g... yes</div><div>checking for gcc option to accept ISO C89... none needed</div><div>checking for style of include used by make... GNU</div><div>checking dependency style of gcc... gcc3</div>

<div>checking whether gcc and cc understand -c and -o together... yes</div><div>checking whether make sets $(MAKE)... (cached) yes</div><div>checking how to run the C preprocessor... gcc -E</div><div>checking for grep that handles long lines and -e... /bin/grep</div>

<div>checking for egrep... /bin/grep -E</div><div>checking whether gcc needs -traditional... no</div><div>checking for sane-config... /usr/bin/sane-config</div><div>checking for msgfmt... /usr/bin/msgfmt</div><div>checking for xgettext... /usr/bin/xgettext</div>

<div>checking for msgmerge... /usr/bin/msgmerge</div><div>checking for latex... /usr/bin/latex</div><div>checking for dvips... /usr/bin/dvips</div><div>checking for makeindex... /usr/bin/makeindex</div><div>checking for pkg-config... /usr/bin/pkg-config</div>

<div>checking pkg-config is at least version 0.9.0... yes</div><div>checking whether runtime link path should be used... yes</div><div>checking linker parameter to set runtime link path... -Wl,-rpath,</div><div>checking for ANSI C header files... yes</div>

<div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... yes</div>

<div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... yes</div><div>checking minix/config.h usability... no</div><div>checking minix/config.h presence... no</div><div>

checking for minix/config.h... no</div><div>checking whether it is safe to define __EXTENSIONS__... yes</div><div>checking for library containing strerror... none required</div><div>checking whether byte ordering is bigendian... no</div>

<div>checking for le32toh in machine/endian.h... no</div><div>checking for ntohl in arpa/inet.h... yes</div><div>checking for swap32 in machine/endian.h... no</div><div>checking for bswap_32 in byteswap.h... yes</div><div>

configure: include/byteorder.h is unchanged</div><div>checking for stdint types... stdint.h (shortcircuit)</div><div>make use of stdint.h in include/_stdint.h (assuming C99 compatible system)</div><div>checking dlfcn.h usability... yes</div>

<div>checking dlfcn.h presence... yes</div><div>checking for dlfcn.h... yes</div><div>checking for dlopen in -ldl... yes</div><div>checking for dlopen... yes</div><div>checking dl.h usability... no</div><div>checking dl.h presence... no</div>

<div>checking for dl.h... no</div><div>checking for sqrt in -lm... yes</div><div>checking for jpeg_start_decompress in -ljpeg... no</div><div>checking for TIFFFdOpen in -ltiff... no</div><div>checking ieee1284.h usability... no</div>

<div>checking ieee1284.h presence... no</div><div>checking for ieee1284.h... no</div><div>checking whether to enable pthread support... no</div><div>checking whether to use pthread instead of fork... no</div><div>configure: WARNING: Group uucp does not exist on this system.</div>

<div>configure: WARNING: Locking feature will be disabled.</div><div>checking whether to enable device locking... no</div><div>checking for pkg-config... pkg-config</div><div>checking for LIBV4L... no</div><div>checking for sane_init in -lsane... yes</div>

<div>checking for net-snmp-config... /usr/bin/net-snmp-config</div><div>checking for snmp_timeout in -lnetsnmp... no</div><div>checking for proper SNMP version... no</div><div>configure: WARNING: You need at least net-snmp 5.6, your version is 5.4.3</div>

<div>configure: WARNING: *** Warning: net-snmp library disabled, autodetecting network scanners will not be supported.</div><div>checking for ANSI C header files... (cached) yes</div><div>checking fcntl.h usability... yes</div>

<div>checking fcntl.h presence... yes</div><div>checking for fcntl.h... yes</div><div>checking for unistd.h... (cached) yes</div><div>checking libc.h usability... no</div><div>checking libc.h presence... no</div><div>checking for libc.h... no</div>

<div>checking sys/dsreq.h usability... no</div><div>checking sys/dsreq.h presence... no</div><div>checking for sys/dsreq.h... no</div><div>checking sys/select.h usability... yes</div><div>checking sys/select.h presence... yes</div>

<div>checking for sys/select.h... yes</div><div>checking sys/time.h usability... yes</div><div>checking sys/time.h presence... yes</div><div>checking for sys/time.h... yes</div><div>checking sys/shm.h usability... yes</div>

<div>checking sys/shm.h presence... yes</div><div>checking for sys/shm.h... yes</div><div>checking sys/ipc.h usability... yes</div><div>checking sys/ipc.h presence... yes</div><div>checking for sys/ipc.h... yes</div><div>

checking sys/signal.h usability... yes</div><div>checking sys/signal.h presence... yes</div><div>checking for sys/signal.h... yes</div><div>checking sys/scanio.h usability... no</div><div>checking sys/scanio.h presence... no</div>

<div>checking for sys/scanio.h... no</div><div>checking os2.h usability... no</div><div>checking os2.h presence... no</div><div>checking for os2.h... no</div><div>checking sys/socket.h usability... yes</div><div>checking sys/socket.h presence... yes</div>

<div>checking for sys/socket.h... yes</div><div>checking sys/io.h usability... yes</div><div>checking sys/io.h presence... yes</div><div>checking for sys/io.h... yes</div><div>checking sys/hw.h usability... no</div><div>
checking sys/hw.h presence... no</div>
<div>checking for sys/hw.h... no</div><div>checking for sys/types.h... (cached) yes</div><div>checking linux/ppdev.h usability... yes</div><div>checking linux/ppdev.h presence... yes</div><div>checking for linux/ppdev.h... yes</div>

<div>checking dev/ppbus/ppi.h usability... no</div><div>checking dev/ppbus/ppi.h presence... no</div><div>checking for dev/ppbus/ppi.h... no</div><div>checking machine/cpufunc.h usability... no</div><div>checking machine/cpufunc.h presence... no</div>

<div>checking for machine/cpufunc.h... no</div><div>checking sys/bitypes.h usability... yes</div><div>checking sys/bitypes.h presence... yes</div><div>checking for sys/bitypes.h... yes</div><div>checking sys/sem.h usability... yes</div>

<div>checking sys/sem.h presence... yes</div><div>checking for sys/sem.h... yes</div><div>checking sys/poll.h usability... yes</div><div>checking sys/poll.h presence... yes</div><div>checking for sys/poll.h... yes</div><div>

checking windows.h usability... no</div><div>checking windows.h presence... no</div><div>checking for windows.h... no</div><div>checking be/kernel/OS.h usability... no</div><div>checking be/kernel/OS.h presence... no</div>

<div>checking for be/kernel/OS.h... no</div><div>checking limits.h usability... yes</div><div>checking limits.h presence... yes</div><div>checking for limits.h... yes</div><div>checking sys/ioctl.h usability... yes</div>
<div>
checking sys/ioctl.h presence... yes</div><div>checking for sys/ioctl.h... yes</div><div>checking asm/types.h usability... yes</div><div>checking asm/types.h presence... yes</div><div>checking for asm/types.h... yes</div>

<div>checking netinet/in.h usability... yes</div><div>checking netinet/in.h presence... yes</div><div>checking for netinet/in.h... yes</div><div>checking tiffio.h usability... no</div><div>checking tiffio.h presence... no</div>

<div>checking for tiffio.h... no</div><div>checking ifaddrs.h usability... yes</div><div>checking ifaddrs.h presence... yes</div><div>checking for ifaddrs.h... yes</div><div>checking pwd.h usability... yes</div><div>checking pwd.h presence... yes</div>

<div>checking for pwd.h... yes</div><div>checking getopt.h usability... yes</div><div>checking getopt.h presence... yes</div><div>checking for getopt.h... yes</div><div>checking for asm/io.h... no</div><div>checking winsock2.h usability... no</div>

<div>checking winsock2.h presence... no</div><div>checking for winsock2.h... no</div><div>checking resmgr.h usability... no</div><div>checking resmgr.h presence... no</div><div>checking for resmgr.h... no</div><div>checking return type of signal handlers... void</div>

<div>checking for size_t... yes</div><div>checking for pid_t... yes</div><div>checking for ssize_t... yes</div><div>checking for u_char... yes</div><div>checking for u_short... yes</div><div>checking for u_int... yes</div>

<div>checking for u_long... yes</div><div>checking for long long support... yes</div><div>checking for socklen_t in <sys/socket.h>... yes</div><div>checking for union semun in <sys/sem.h>... no</div><div>checking for struct flock in fcntl.h... yes</div>

<div>checking for Linux ioctl defines... yes</div><div>checking whether byte ordering is bigendian... (cached) no</div><div>checking for an ANSI C-conforming const... yes</div><div>checking for inline... __inline__</div>
<div>
checking for gethostbyaddr... yes</div><div>checking for gethostbyaddr... (cached) yes</div><div>checking for socket... yes</div><div>checking for inet_aton... yes</div><div>checking for inet_addr... yes</div><div>checking for inet_aton... (cached) yes</div>

<div>checking for inet_ntoa... yes</div><div>checking for inet_ntop... yes</div><div>checking for inet_pton... yes</div><div>checking for working alloca.h... yes</div><div>checking for alloca... yes</div><div>checking for stdlib.h... (cached) yes</div>

<div>checking for unistd.h... (cached) yes</div><div>checking for sys/param.h... yes</div><div>checking for getpagesize... yes</div><div>checking for working mmap... yes</div><div>checking for atexit... yes</div><div>checking for ioperm... yes</div>

<div>checking for i386_set_ioperm... no</div><div>checking for mkdir... yes</div><div>checking for strftime... yes</div><div>checking for strstr... yes</div><div>checking for strtod... yes</div><div>checking for cfmakeraw... yes</div>

<div>checking for tcsendbreak... yes</div><div>checking for strcasecmp... yes</div><div>checking for strncasecmp... yes</div><div>checking for _portaccess... no</div><div>checking for getaddrinfo... yes</div><div>checking for getnameinfo... yes</div>

<div>checking for poll... yes</div><div>checking for setitimer... yes</div><div>checking for iopl... yes</div><div>checking for getuid... yes</div><div>checking for getpass... yes</div><div>checking for getenv... yes</div>

<div>checking for isfdtype... yes</div><div>checking for sigprocmask... yes</div><div>checking for snprintf... yes</div><div>checking for strcasestr... yes</div><div>checking for strdup... yes</div><div>checking for strndup... yes</div>

<div>checking for strsep... yes</div><div>checking for usleep... yes</div><div>checking for sleep... yes</div><div>checking for syslog... yes</div><div>checking for vsyslog... yes</div><div>checking for getopt_long... yes</div>

<div>checking for cups</div><div>Checking for systemd...no</div><div>checking usb.h usability... yes</div><div>checking usb.h presence... yes</div><div>checking for usb.h... yes</div><div>checking for usb_interrupt_read in -lusb... yes</div>

<div>checking lusb0_usb.h usability... no</div><div>checking lusb0_usb.h presence... no</div><div>checking for lusb0_usb.h... no</div><div>checking IOKit/scsi/SCSITaskLib.h usability... no</div><div>checking IOKit/scsi/SCSITaskLib.h presence... no</div>

<div>checking for IOKit/scsi/SCSITaskLib.h... no</div><div>checking IOKit/cdb/IOSCSILib.h usability... no</div><div>checking IOKit/cdb/IOSCSILib.h presence... no</div><div>checking for IOKit/cdb/IOSCSILib.h... no</div><div>

checking IOKit/scsi/SCSICommandOperationCodes.h usability... no</div><div>checking IOKit/scsi/SCSICommandOperationCodes.h presence... no</div><div>checking for IOKit/scsi/SCSICommandOperationCodes.h... no</div><div>checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no</div>

<div>checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no</div><div>checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no</div><div>checking scsi.h usability... no</div><div>checking scsi.h presence... no</div>

<div>checking for scsi.h... no</div><div>checking sys/scsi.h usability... no</div><div>checking sys/scsi.h presence... no</div><div>checking for sys/scsi.h... no</div><div>checking sys/scsicmd.h usability... no</div><div>

checking sys/scsicmd.h presence... no</div><div>checking for sys/scsicmd.h... no</div><div>checking sys/scsiio.h usability... no</div><div>checking sys/scsiio.h presence... no</div><div>checking for sys/scsiio.h... no</div>

<div>checking bsd/dev/scsireg.h usability... no</div><div>checking bsd/dev/scsireg.h presence... no</div><div>checking for bsd/dev/scsireg.h... no</div><div>checking scsi/sg.h usability... yes</div><div>checking scsi/sg.h presence... yes</div>

<div>checking for scsi/sg.h... yes</div><div>checking camlib.h usability... no</div><div>checking camlib.h presence... no</div><div>checking for camlib.h... no</div><div>checking scdds.h usability... no</div><div>checking scdds.h presence... no</div>

<div>checking for scdds.h... no</div><div>checking sys/scsi/scsi.h usability... no</div><div>checking sys/scsi/scsi.h presence... no</div><div>checking for sys/scsi/scsi.h... no</div><div>checking sys/scsi/sgdefs.h usability... no</div>

<div>checking sys/scsi/sgdefs.h presence... no</div><div>checking for sys/scsi/sgdefs.h... no</div><div>checking sys/scsi/targets/scgio.h usability... no</div><div>checking sys/scsi/targets/scgio.h presence... no</div><div>

checking for sys/scsi/targets/scgio.h... no</div><div>checking apollo/scsi.h usability... no</div><div>checking apollo/scsi.h presence... no</div><div>checking for apollo/scsi.h... no</div><div>checking sys/sdi_comm.h usability... no</div>

<div>checking sys/sdi_comm.h presence... no</div><div>checking for sys/sdi_comm.h... no</div><div>checking sys/passthrudef.h usability... no</div><div>checking sys/passthrudef.h presence... no</div><div>checking for sys/passthrudef.h... no</div>

<div>checking for io/cam/cam.h... no</div><div>checking for ntddscsi.h... no</div><div>checking for ddk/ntddscsi.h... no</div><div>checking for scsireq_enter in -lscsi... no</div><div>checking for cam_open_device in -lcam... no</div>

<div>checking for scsireq_enter... no</div><div>checking for sg_header.target_status in <scsi/sg.h>... yes</div><div>scsi buffersize: 131072</div><div>checking whether to enable IPv6... yes</div><div>checking whether struct sockaddr_storage has an ss_family member... yes</div>

<div>checking how to print strings... printf</div><div>checking for a sed that does not truncate output... /bin/sed</div><div>checking for fgrep... /bin/grep -F</div><div>checking for ld used by gcc... /usr/bin/ld</div><div>

checking if the linker (/usr/bin/ld) is GNU ld... yes</div><div>checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B</div><div>checking the name lister (/usr/bin/nm -B) interface... BSD nm</div><div>checking whether ln -s works... yes</div>

<div>checking the maximum length of command line arguments... 1572864</div><div>checking whether the shell understands some XSI constructs... yes</div><div>checking whether the shell understands "+="... yes</div>

<div>checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop</div><div>checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop</div>

<div>checking for /usr/bin/ld option to reload object files... -r</div><div>checking for objdump... objdump</div><div>checking how to recognize dependent libraries... pass_all</div><div>checking for dlltool... dlltool</div>

<div>checking how to associate runtime and link libraries... printf %s\n</div><div>checking for ar... ar</div><div>checking for archiver @FILE support... @</div><div>checking for strip... strip</div><div>checking for ranlib... ranlib</div>

<div>checking command to parse /usr/bin/nm -B output from gcc object... ok</div><div>checking for sysroot... no</div><div>checking for mt... mt</div><div>checking if mt is a manifest tool... no</div><div>checking for dlfcn.h... (cached) yes</div>

<div>checking for objdir... .libs</div><div>checking if gcc supports -fno-rtti -fno-exceptions... no</div><div>checking for gcc option to produce PIC... -fPIC -DPIC</div><div>checking if gcc PIC flag -fPIC -DPIC works... yes</div>

<div>checking if gcc static flag -static works... yes</div><div>checking if gcc supports -c -o file.o... yes</div><div>checking if gcc supports -c -o file.o... (cached) yes</div><div>checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes</div>

<div>checking whether -lc should be explicitly linked in... no</div><div>checking dynamic linker characteristics... GNU/Linux ld.so</div><div>checking how to hardcode library paths into programs... immediate</div><div>checking whether stripping libraries is possible... yes</div>

<div>checking if libtool supports shared libraries... yes</div><div>checking whether to build shared libraries... yes</div><div>checking whether to build static libraries... no</div><div>configure: Manually selected backends: PIXMA</div>

<div>*** pnm backend not manually selected - disabling</div><div>enabling translations</div><div>enabling latex</div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div>config.status: creating lib/Makefile</div>

<div>config.status: creating sanei/Makefile</div><div>config.status: creating frontend/Makefile</div><div>config.status: creating japi/Makefile</div><div>config.status: creating backend/Makefile</div><div>config.status: creating include/Makefile</div>

<div>config.status: creating doc/Makefile</div><div>config.status: creating po/Makefile</div><div>config.status: creating testsuite/Makefile</div><div>config.status: creating testsuite/sanei/Makefile</div><div>config.status: creating tools/Makefile</div>

<div>config.status: creating doc/doxygen-sanei.conf</div><div>config.status: creating doc/doxygen-genesys.conf</div><div>config.status: creating tools/sane-config</div><div>config.status: creating tools/sane-backends.pc</div>

<div>config.status: creating include/sane/config.h</div><div>config.status: include/sane/config.h is unchanged</div><div>config.status: executing depfiles commands</div><div>config.status: executing include/_stdint.h commands</div>

<div>config.status: creating include/_stdint.h : _SANE_BACKENDS_INCLUDE__STDINT_H</div><div>config.status: include/_stdint.h is unchanged</div><div>config.status: executing libtool commands</div><div>-> Variables used for compilation/linking:</div>

<div>CPPFLAGS=" -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0"</div><div>CFLAGS="-g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -pedantic -ansi"</div>

<div>LDFLAGS=""</div><div>LIBS="-lcups "</div><div>-> Installation directories:</div><div>Configuration: /etc</div><div>Libraries:     /usr/lib</div><div>Binaries:      /usr/bin and /usr/sbin</div>
<div>
Manpages:      /usr/share/man</div><div>Documentation: /usr/doc/sane-1.0.24git</div><div>Lockfiles:     Feature is disabled!</div><div>-> Network parameters:</div><div>Build saned:   yes</div><div>IPv6 support:  yes</div>

<div>Avahi support: no</div><div>SNMP support:  no</div><div>CUPS support:  yes</div><div>-> The following backends will be built:</div><div>PIXMA </div><div><br></div><div>-> The following preload backends will be built:</div>

<div><br></div><div>****************************************************************</div><div>* Please be sure to read file PROBLEMS in this directory       *</div><div>* BEFORE running any of the SANE applications.  Some devices   *</div>

<div>* may be damaged by improper operation, so please do heed this *</div><div>* advice.                                                      *</div><div>****************************************************************</div>

<div><br></div><div>[11:48:12PM 04-08-2013] ~/Etc/sane-backends </div><div> $ sudo make</div><div>[sudo] password for ~~~~: </div><div>Making all in include</div><div>make[1]: Entering directory `/home/emf/Etc/sane-backends/include'</div>

<div>make[1]: Nothing to be done for `all'.</div><div>make[1]: Leaving directory `/home/emf/Etc/sane-backends/include'</div><div>Making all in lib</div><div>make[1]: Entering directory `/home/emf/Etc/sane-backends/lib'</div>

<div>make[1]: Nothing to be done for `all'.</div><div>make[1]: Leaving directory `/home/emf/Etc/sane-backends/lib'</div><div>Making all in sanei</div><div>make[1]: Entering directory `/home/emf/Etc/sane-backends/sanei'</div>

<div>make[1]: Nothing to be done for `all'.</div><div>make[1]: Leaving directory `/home/emf/Etc/sane-backends/sanei'</div><div>Making all in backend</div><div>make[1]: Entering directory `/home/emf/Etc/sane-backends/backend'</div>

<div>make  all-am</div><div>make[2]: Entering directory `/home/emf/Etc/sane-backends/backend'</div><div>make[2]: *** No rule to make target `libsane-PIXMA.la', needed by `all-am'.  Stop.</div><div>make[2]: Leaving directory `/home/emf/Etc/sane-backends/backend'</div>

<div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/home/emf/Etc/sane-backends/backend'</div><div>make: *** [all-recursive] Error 1</div><div><br></div></div></div>