View previous topic :: View next topic |
Author |
Message |
E001754 Guru
Joined: 01 Aug 2004 Posts: 442 Location: Paris, France
|
Posted: Sun Mar 18, 2007 7:28 pm Post subject: sane-backends wont emerge [SOLVED] |
|
|
Hi,
I cant emerge "sane-backends-1.0.18-r2".
I have this log (tail -20) :
Quote: | i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -march=pentium4 -O2 -pipe -fomit-frame-pointer -W -Wall sanei_access.c -fPIC -DPIC -o .libs/sanei_access.o
i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share -DPATH_SANE_LOCK_DIR=/var/lib/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -march=pentium4 -O2 -pipe -fomit-frame-pointer -W -Wall sanei_jpeg.c -fPIC -DPIC -o .libs/sanei_jpeg.o
make[1]: Leaving directory `/var/tmp/portage/media-gfx/sane-backends-1.0.18-r2/work/sane-backends-1.0.18/sanei'
making all in backend
make[1]: Entering directory `/var/tmp/portage/media-gfx/sane-backends-1.0.18-r2/work/sane-backends-1.0.18/backend'
make[1]: *** No rule to make target `libsane-sane-snapscan.la', needed by `all'. Stop.
make[1]: Leaving directory `/var/tmp/portage/media-gfx/sane-backends-1.0.18-r2/work/sane-backends-1.0.18/backend'
make: *** [all-recursive] Error 1
!!! ERROR: media-gfx/sane-backends-1.0.18-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3016: Called src_compile
sane-backends-1.0.18-r2.ebuild, line 104: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-gfx/sane-backends-1.0.18-r2/temp/build.log'.
|
In fact, I couldn't use my scanner at all.
It was working well with sane-backends-1.0.15 but, since UDEV or GCC-4.0 or Glibc-2.4, something wrong has happened and I can't use my scanner at all.
And I can't upgrade to "sane-backends-1.0.18" since there is a break during the compilation.
Here's my make.conf
Quote: | # These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
#CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"
CXXFLAGS="${CFLAGS}"
LINGUAS="fr"
USE="qt kde alsa oss usb mmx mozilla java pic ppds gimpprint gimp nsplugin irda aac -gtk -gnome -ipv6"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
# FEATURES="ccache"
CCACHE_SIZE="2G"
SANE_BACKENDS="sane-snapscan"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia fbdev vesa"
CLEAN_DELAY=0
|
Can someone help me ?
Thanks
Last edited by E001754 on Tue Mar 20, 2007 8:03 pm; edited 1 time in total |
|
Back to top |
|
|
j79zlr Apprentice
Joined: 05 Dec 2004 Posts: 235 Location: Chicago, IL
|
Posted: Sun Mar 18, 2007 9:12 pm Post subject: |
|
|
Why is this set in your make.conf:
SANE_BACKENDS="sane-snapscan"
Try removing or commenting that out. |
|
Back to top |
|
|
E001754 Guru
Joined: 01 Aug 2004 Posts: 442 Location: Paris, France
|
Posted: Sun Mar 18, 2007 10:56 pm Post subject: |
|
|
It's here because I've read it in the Gentoo Wiki HOW-TO :
http://gentoo-wiki.com/HOWTO_Installing_USB_Scanner
You are meaning that newer versions of sane-backends doesn't use this variable anymore, do they ? |
|
Back to top |
|
|
j79zlr Apprentice
Joined: 05 Dec 2004 Posts: 235 Location: Chicago, IL
|
Posted: Sun Mar 18, 2007 11:12 pm Post subject: |
|
|
I've never set that variable and my scanner works fine. It just seems that your compile is failing on libsane-sane-snapscan.la, I donno, try building it without the variable set. |
|
Back to top |
|
|
E001754 Guru
Joined: 01 Aug 2004 Posts: 442 Location: Paris, France
|
Posted: Tue Mar 20, 2007 8:03 pm Post subject: |
|
|
Many thanks for this tip !
This works perfectly now.
I think I'll go update the Gentoo Wiki so that other people dont get trapped as I was.
Thanks again |
|
Back to top |
|
|
|