Update from XSane 0.96 to 0.97. The ./configure script reports an error related to a SANE version installed on the system. It says the SANE is < 1.0 while the installed version with Gentoo is : * media-gfx/sane-frontends Available versions: 1.0.13 Installed: 1.0.13 Homepage: http://www.sane-project.org Description: Scanner Access Now Easy The following message appears : phoebe ~ # emerge -av xsane These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-gfx/xsane-0.97 [0.96-r1] +gtk2 +jpeg +nls +png +tiff 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 1) media-gfx/xsane-0.97 to / >>> md5 files ;-) xsane-0.97.ebuild >>> md5 files ;-) xsane-0.96-r1.ebuild >>> md5 files ;-) files/digest-xsane-0.97 >>> md5 files ;-) files/doublefree.patch >>> md5 files ;-) files/digest-xsane-0.96-r1 >>> md5 src_uri ;-) xsane-0.97.tar.gz >>> Unpacking source... >>> Unpacking xsane-0.97.tar.gz to /var/tmp/portage/xsane-0.97/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --enable-nls --enable-jpeg --enable-png --enable-tiff --enable-gtk2 ************************************************************************** checking whether GTK+-2.0 is requested... yes checking whether GIMP plugin is requested... yes checking whether GIMP-2.0 is requested... yes checking whether JPEG support is requested... yes checking whether PNG support is requested... yes checking whether TIFF support is requested... yes ************************************************************************** checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for AIX... no 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 for library containing strerror... none required checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking whether i686-pc-linux-gnu-gcc needs -traditional... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ANSI C header files... (cached) yes checking for windows.h... (cached) no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no 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/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline 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_int... yes checking for u_long... yes checking for sqrt in -lm... yes checking for deflateInit_ in -lz... yes checking for jpeg_start_decompress in -ljpeg... yes checking for TIFFOpen in -ltiff... 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 getpagesize... yes checking for working mmap... yes checking for atexit... yes checking for mkdir... yes checking for sigprocmask... yes checking for strdup... yes checking for strndup... yes checking for strftime... yes checking for strstr... yes checking for strsep... yes checking for strtod... yes checking for snprintf... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for lstat... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for off_t... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... (cached) yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... cs da de es fr it ja nl pl pt pt_BR ro ru sk sl sr sv vi tr zh checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... no *** Could not run SANE test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SANE or finding the wrong *** version of SANE. If it is not finding SANE, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means SANE was incorrectly installed *** or that you have moved SANE since it was installed. In the latter case, you *** may want to edit the sane-config script: /usr/bin/sane-config checking for pkg-config... /usr/bin/pkg-config checking for GIMP - version >= 1.3.23... yes (version 2.2.8) checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_info_struct in -lpng... yes **************************************************************** ERROR: SANE-1.0.0 or newer is needed for compiling xsane - if you installed SANE as rpm make sure you also included sane-devel **************************************************************** make: *** No targets specified and no makefile found. Stop. !!! ERROR: media-gfx/xsane-0.97 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: phoebe ~ # emerge -av xsane These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] media-gfx/xsane-0.97 [0.96-r1] +gtk2 +jpeg +nls +png +tiff 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] Actual Results: See message above. Expected Results: Install XSane 0.97 I couldn't find a workaround. Some users have also this problem, see : http://forums.gentoo.org/viewtopic-t-365980-highlight-xsane.html
Run revdep-rebuild or re-emerge sane-backends. *** This bug has been marked as a duplicate of 80381 ***