On 08/04/2013 18:10, Matt Fields wrote: > Hi guys. > > 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. > > I am unable to build sane-backends successfully. > > Here's the log from the configure step / make-file: > > I'm new to building/compiling. Any help? Thanks. > > > $ ./configure --prefix=/usr BACKENDS=PIXMA --sysconfdir=/etc > --localstatedir=/var > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking whether gcc and cc understand -c and -o together... yes > checking whether make sets $(MAKE)... (cached) yes > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking whether gcc needs -traditional... no > checking for sane-config... /usr/bin/sane-config > checking for msgfmt... /usr/bin/msgfmt > checking for xgettext... /usr/bin/xgettext > checking for msgmerge... /usr/bin/msgmerge > checking for latex... /usr/bin/latex > checking for dvips... /usr/bin/dvips > checking for makeindex... /usr/bin/makeindex > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking whether runtime link path should be used... yes > checking linker parameter to set runtime link path... -Wl,-rpath, > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking whether it is safe to define __EXTENSIONS__... yes > checking for library containing strerror... none required > checking whether byte ordering is bigendian... no > checking for le32toh in machine/endian.h... no > checking for ntohl in arpa/inet.h... yes > checking for swap32 in machine/endian.h... no > checking for bswap_32 in byteswap.h... yes > configure: include/byteorder.h is unchanged > checking for stdint types... stdint.h (shortcircuit) > make use of stdint.h in include/_stdint.h (assuming C99 compatible system) > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking for dlopen in -ldl... yes > checking for dlopen... yes > checking dl.h usability... no > checking dl.h presence... no > checking for dl.h... no > checking for sqrt in -lm... yes > checking for jpeg_start_decompress in -ljpeg... no > checking for TIFFFdOpen in -ltiff... no > checking ieee1284.h usability... no > checking ieee1284.h presence... no > checking for ieee1284.h... no > checking whether to enable pthread support... no > checking whether to use pthread instead of fork... no > configure: WARNING: Group uucp does not exist on this system. > configure: WARNING: Locking feature will be disabled. > checking whether to enable device locking... no > checking for pkg-config... pkg-config > checking for LIBV4L... no > checking for sane_init in -lsane... yes > checking for net-snmp-config... /usr/bin/net-snmp-config > checking for snmp_timeout in -lnetsnmp... no > checking for proper SNMP version... no > configure: WARNING: You need at least net-snmp 5.6, your version is 5.4.3 > configure: WARNING: *** Warning: net-snmp library disabled, > autodetecting network scanners will not be supported. > checking for ANSI C header files... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for unistd.h... (cached) yes > checking libc.h usability... no > checking libc.h presence... no > checking for libc.h... no > checking sys/dsreq.h usability... no > checking sys/dsreq.h presence... no > checking for sys/dsreq.h... no > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/shm.h usability... yes > checking sys/shm.h presence... yes > checking for sys/shm.h... yes > checking sys/ipc.h usability... yes > checking sys/ipc.h presence... yes > checking for sys/ipc.h... yes > checking sys/signal.h usability... yes > checking sys/signal.h presence... yes > checking for sys/signal.h... yes > checking sys/scanio.h usability... no > checking sys/scanio.h presence... no > checking for sys/scanio.h... no > checking os2.h usability... no > checking os2.h presence... no > checking for os2.h... no > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/io.h usability... yes > checking sys/io.h presence... yes > checking for sys/io.h... yes > checking sys/hw.h usability... no > checking sys/hw.h presence... no > checking for sys/hw.h... no > checking for sys/types.h... (cached) yes > checking linux/ppdev.h usability... yes > checking linux/ppdev.h presence... yes > checking for linux/ppdev.h... yes > checking dev/ppbus/ppi.h usability... no > checking dev/ppbus/ppi.h presence... no > checking for dev/ppbus/ppi.h... no > checking machine/cpufunc.h usability... no > checking machine/cpufunc.h presence... no > checking for machine/cpufunc.h... no > checking sys/bitypes.h usability... yes > checking sys/bitypes.h presence... yes > checking for sys/bitypes.h... yes > checking sys/sem.h usability... yes > checking sys/sem.h presence... yes > checking for sys/sem.h... yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking windows.h usability... no > checking windows.h presence... no > checking for windows.h... no > checking be/kernel/OS.h usability... no > checking be/kernel/OS.h presence... no > checking for be/kernel/OS.h... no > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking asm/types.h usability... yes > checking asm/types.h presence... yes > checking for asm/types.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking tiffio.h usability... no > checking tiffio.h presence... no > checking for tiffio.h... no > checking ifaddrs.h usability... yes > checking ifaddrs.h presence... yes > checking for ifaddrs.h... yes > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking for asm/io.h... no > checking winsock2.h usability... no > checking winsock2.h presence... no > checking for winsock2.h... no > checking resmgr.h usability... no > checking resmgr.h presence... no > checking for resmgr.h... no > checking return type of signal handlers... void > checking for size_t... yes > checking for pid_t... yes > checking for ssize_t... yes > checking for u_char... yes > checking for u_short... yes > checking for u_int... yes > checking for u_long... yes > checking for long long support... yes > checking for socklen_t in <sys/socket.h>... yes > checking for union semun in <sys/sem.h>... no > checking for struct flock in fcntl.h... yes > checking for Linux ioctl defines... yes > checking whether byte ordering is bigendian... (cached) no > checking for an ANSI C-conforming const... yes > checking for inline... __inline__ > checking for gethostbyaddr... yes > checking for gethostbyaddr... (cached) yes > checking for socket... yes > checking for inet_aton... yes > checking for inet_addr... yes > checking for inet_aton... (cached) yes > checking for inet_ntoa... yes > checking for inet_ntop... yes > checking for inet_pton... yes > checking for working alloca.h... yes > checking for alloca... yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for sys/param.h... yes > checking for getpagesize... yes > checking for working mmap... yes > checking for atexit... yes > checking for ioperm... yes > checking for i386_set_ioperm... no > checking for mkdir... yes > checking for strftime... yes > checking for strstr... yes > checking for strtod... yes > checking for cfmakeraw... yes > checking for tcsendbreak... yes > checking for strcasecmp... yes > checking for strncasecmp... yes > checking for _portaccess... no > checking for getaddrinfo... yes > checking for getnameinfo... yes > checking for poll... yes > checking for setitimer... yes > checking for iopl... yes > checking for getuid... yes > checking for getpass... yes > checking for getenv... yes > checking for isfdtype... yes > checking for sigprocmask... yes > checking for snprintf... yes > checking for strcasestr... yes > checking for strdup... yes > checking for strndup... yes > checking for strsep... yes > checking for usleep... yes > checking for sleep... yes > checking for syslog... yes > checking for vsyslog... yes > checking for getopt_long... yes > checking for cups > Checking for systemd...no > checking usb.h usability... yes > checking usb.h presence... yes > checking for usb.h... yes > checking for usb_interrupt_read in -lusb... yes > checking lusb0_usb.h usability... no > checking lusb0_usb.h presence... no > checking for lusb0_usb.h... no > checking IOKit/scsi/SCSITaskLib.h usability... no > checking IOKit/scsi/SCSITaskLib.h presence... no > checking for IOKit/scsi/SCSITaskLib.h... no > checking IOKit/cdb/IOSCSILib.h usability... no > checking IOKit/cdb/IOSCSILib.h presence... no > checking for IOKit/cdb/IOSCSILib.h... no > checking IOKit/scsi/SCSICommandOperationCodes.h usability... no > checking IOKit/scsi/SCSICommandOperationCodes.h presence... no > checking for IOKit/scsi/SCSICommandOperationCodes.h... no > checking IOKit/scsi-commands/SCSICommandOperationCodes.h usability... no > checking IOKit/scsi-commands/SCSICommandOperationCodes.h presence... no > checking for IOKit/scsi-commands/SCSICommandOperationCodes.h... no > checking scsi.h usability... no > checking scsi.h presence... no > checking for scsi.h... no > checking sys/scsi.h usability... no > checking sys/scsi.h presence... no > checking for sys/scsi.h... no > checking sys/scsicmd.h usability... no > checking sys/scsicmd.h presence... no > checking for sys/scsicmd.h... no > checking sys/scsiio.h usability... no > checking sys/scsiio.h presence... no > checking for sys/scsiio.h... no > checking bsd/dev/scsireg.h usability... no > checking bsd/dev/scsireg.h presence... no > checking for bsd/dev/scsireg.h... no > checking scsi/sg.h usability... yes > checking scsi/sg.h presence... yes > checking for scsi/sg.h... yes > checking camlib.h usability... no > checking camlib.h presence... no > checking for camlib.h... no > checking scdds.h usability... no > checking scdds.h presence... no > checking for scdds.h... no > checking sys/scsi/scsi.h usability... no > checking sys/scsi/scsi.h presence... no > checking for sys/scsi/scsi.h... no > checking sys/scsi/sgdefs.h usability... no > checking sys/scsi/sgdefs.h presence... no > checking for sys/scsi/sgdefs.h... no > checking sys/scsi/targets/scgio.h usability... no > checking sys/scsi/targets/scgio.h presence... no > checking for sys/scsi/targets/scgio.h... no > checking apollo/scsi.h usability... no > checking apollo/scsi.h presence... no > checking for apollo/scsi.h... no > checking sys/sdi_comm.h usability... no > checking sys/sdi_comm.h presence... no > checking for sys/sdi_comm.h... no > checking sys/passthrudef.h usability... no > checking sys/passthrudef.h presence... no > checking for sys/passthrudef.h... no > checking for io/cam/cam.h... no > checking for ntddscsi.h... no > checking for ddk/ntddscsi.h... no > checking for scsireq_enter in -lscsi... no > checking for cam_open_device in -lcam... no > checking for scsireq_enter... no > checking for sg_header.target_status in <scsi/sg.h>... yes > scsi buffersize: 131072 > checking whether to enable IPv6... yes > checking whether struct sockaddr_storage has an ss_family member... yes > checking how to print strings... printf > checking for a sed that does not truncate output... /bin/sed > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert i686-pc-linux-gnu file names to > i686-pc-linux-gnu format... func_convert_file_noop > checking how to convert i686-pc-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... dlltool > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking for dlfcn.h... (cached) yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > configure: Manually selected backends: PIXMA > *** pnm backend not manually selected - disabling > enabling translations > enabling latex > configure: creating ./config.status > config.status: creating Makefile > config.status: creating lib/Makefile > config.status: creating sanei/Makefile > config.status: creating frontend/Makefile > config.status: creating japi/Makefile > config.status: creating backend/Makefile > config.status: creating include/Makefile > config.status: creating doc/Makefile > config.status: creating po/Makefile > config.status: creating testsuite/Makefile > config.status: creating testsuite/sanei/Makefile > config.status: creating tools/Makefile > config.status: creating doc/doxygen-sanei.conf > config.status: creating doc/doxygen-genesys.conf > config.status: creating tools/sane-config > config.status: creating tools/sane-backends.pc > config.status: creating include/sane/config.h > config.status: include/sane/config.h is unchanged > config.status: executing depfiles commands > config.status: executing include/_stdint.h commands > config.status: creating include/_stdint.h : > _SANE_BACKENDS_INCLUDE__STDINT_H > config.status: include/_stdint.h is unchanged > config.status: executing libtool commands > -> Variables used for compilation/linking: > CPPFLAGS=" -DPATH_SANE_CONFIG_DIR=$(configdir) > -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) > -DV_MAJOR=1 -DV_MINOR=0" > CFLAGS="-g -O2 -W -Wall -Wcast-align -Wcast-qual > -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith > -Wreturn-type -Wstrict-prototypes -pedantic -ansi" > LDFLAGS="" > LIBS="-lcups " > -> Installation directories: > Configuration: /etc > Libraries: /usr/lib > Binaries: /usr/bin and /usr/sbin > Manpages: /usr/share/man > Documentation: /usr/doc/sane-1.0.24git > Lockfiles: Feature is disabled! > -> Network parameters: > Build saned: yes > IPv6 support: yes > Avahi support: no > SNMP support: no > CUPS support: yes > -> The following backends will be built: > PIXMA > > -> The following preload backends will be built: > > **************************************************************** > * Please be sure to read file PROBLEMS in this directory * > * BEFORE running any of the SANE applications. Some devices * > * may be damaged by improper operation, so please do heed this * > * advice. * > **************************************************************** > > [11:48:12PM 04-08-2013] ~/Etc/sane-backends > $ sudo make > [sudo] password for ~~~~: > Making all in include > make[1]: Entering directory `/home/emf/Etc/sane-backends/include' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/emf/Etc/sane-backends/include' > Making all in lib > make[1]: Entering directory `/home/emf/Etc/sane-backends/lib' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/emf/Etc/sane-backends/lib' > Making all in sanei > make[1]: Entering directory `/home/emf/Etc/sane-backends/sanei' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/emf/Etc/sane-backends/sanei' > Making all in backend > make[1]: Entering directory `/home/emf/Etc/sane-backends/backend' > make all-am > make[2]: Entering directory `/home/emf/Etc/sane-backends/backend' > make[2]: *** No rule to make target `libsane-PIXMA.la', needed by > `all-am'. Stop. > make[2]: Leaving directory `/home/emf/Etc/sane-backends/backend' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/emf/Etc/sane-backends/backend' > make: *** [all-recursive] Error 1 > > >
Hello, shouldn't it be 'pixma' in lower case ? Regards, Stef -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130408/dab34bde/attachment-0001.html>