Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134591 - emerge lirc fails : it is not possible to install the specified driver
Summary: emerge lirc fails : it is not possible to install the specified driver
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Matthias Schwarzott
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-27 23:51 UTC by Lugduweb
Modified: 2006-06-19 02:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lugduweb 2006-05-27 23:51:21 UTC
Hi !

I can't emerge lirc with kernel 2.6.15r5 or 2.6.16r1.
Too bad, because I would like to use the remote control of a Hauppauge PVR 350 on Pegasos PPC.
My Gentoo install is brand new.

Here is the emerge log :

Calculating dependencies ...done!
>>> emerge (1 of 1) app-misc/lirc-0.8.0 to /
...
...
checking for Linux kernel sources... /usr/src/linux/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
configure: error: *** it is not possible to install the specified driver
on this system

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/lirc-0.8.0/work/lirc-0.8.0/config.log

!!! ERROR: app-misc/lirc-0.8.0 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Regards.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-27 23:55:30 UTC
Reopen with emerge --info and 'grep LIRC_OPTS /etc/make.conf' output.
Comment 2 Lugduweb 2006-05-28 00:32:44 UTC
(In reply to comment #1)
> Reopen with emerge --info and 'grep LIRC_OPTS /etc/make.conf' output.
> 

When you've talked about /etc/make.conf, I realized that I add added a useless LIRC_OPTIONS=hauppauge_dvb flag at the begining of my install a few fews ago because I thought I add to use DVB drivers (but it's ivtv).

So I've just removed it, and it now works...
Sorry for that...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 00:45:07 UTC
Thanks for reporting back. The proper syntax is LIRC_OPTS="--with-driver=ivtv" (see the ebuild for honored drivers).
Comment 4 Lugduweb 2006-05-28 01:10:07 UTC
(In reply to comment #3)
> Thanks for reporting back. The proper syntax is LIRC_OPTS="--with-driver=ivtv"
> (see the ebuild for honored drivers).
> 

grrr... You're right, the line must be there (if not it emerges lirc but does not use the right driver at the end).
And... Now with "ivtv" it does not emerge again (sic !) Bug reopened :-(
By the way, why not using LIRC_OPTS="--with-driver=hauppauge" ?

So here is my /etc/make.conf :
==============================
# 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="-O3 -mtune=G4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="ppc altivec nptl socks5 smartcard pcsc-lite ldap bzip2 Xaw3d lesstif tetex mysal postgres sasl javascript tiff howl samba jack bash-completion xml libclamav browserplugin mozilla sdl arts sqlite vorbis libcaca jpeg2k zeroconf ieee1394 pda snmp wifi xine guile flac speex gstreamer curl cdr dvdr dvd dxr3 ffmpeg v4l v4l2 vcd graphviz unicode ssl  berkdb crypt nls tcpd python vorbis ipv6 perl zlib readline eds kde gtk pam ogg lcms qt gdbm ncurses bitmap-fonts truetype-fonts type1-fonts xv opengl dri png X usb imlib2 gnome esd imagemagick cdparanoia dts dvdvdread encode live lzo mythtv nas xanim xmms fame mjpeg network pvm quicktime xvid innodb ivtv"
$FEATURES="buildpkg sandbox"
ACCEPT_KEYWORDS="ppc"
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"

LIRC_OPTS="--with-driver=ivtv"
KERNEL_ARCH="ppc"


And emerge --info result :
Portage 2.0.54-r2 (default-linux/ppc/ppc32, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r1 ppc)
=================================================================
System uname: 2.6.15-gentoo-r1 ppc 7447/7457, altivec supported
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mtune=G4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/rc.d /etc/splash /etc/terminfo /etc/wget /etc/env.d"
CXXFLAGS="-O3 -mtune=G4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d altivec arts audiofile bash-completion berkdb bitmap-fonts browserplugin bzip2 cdparanoia cdr cli crypt cups curl dri dts dv dvd dvdr dvdread dxr3 eds encode esd exif expat fam fame ffmpeg flac fortran gd gdbm gif glut gnome graphviz gstreamer gtk gtkhtml guile howl idn ieee1394 imagemagick imlib imlib2 innodb ipv6 isdnlog ivtv jack java javascript jpeg jpeg2k kde lcms ldap lesstif libcaca libclamav libwww lirc live lzo mad mjpeg mng mozilla mysal mysql mythtv nas ncurses network nls nptl ogg openal opengl pam pcre pcsc-lite pda perl png postgres ppc pppd pvm python qt quicktime readline reflection samba sasl sdl session smartcard snmp socks5 speex spl sqlite ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi xanim xine xml xml2 xmms xorg xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 02:03:46 UTC
(In reply to comment #4)
> By the way, why not using LIRC_OPTS="--with-driver=hauppauge" ?

Eh? I don't know which driver you need... The above was an *example*.
Comment 6 david cooper 2006-05-28 08:03:26 UTC
I have this issue. I need to install two LIRC drivers; one for Hauppage and one for Serial (IR Blaster). I used to use --with-driver=any, but that fails with this error. I have also tried --with-driver=hauppage alone, and --with-driver=ivtv alone, both fail. If i include both ivtv and --with-driver=serial, only the serial module is installed. I have tried LIRC 0.7.2 and 0.8.0, same result.

:emerge info

Portage 2.0.54-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt dri dts dvd eds emboss encode expat fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 idn imagemagick imlib isdnlog jpeg kde lcms libg++ libwww lirc mad mikmod mmx mmxext mng motif mp3 mpeg mysql mythtv ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl sse ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

:make.conf

LIRC_OPTS="--with-x --with-driver=any --with-transmitter --with-major=61 --with-port=0x3f8 --with-irq=4"
Comment 7 Matthias Schwarzott gentoo-dev 2006-05-28 08:36:13 UTC
Where do you got the "--with-driver=any". This must be "--with-driver=all".

Perhaps this should be changed to LIRC_DRIVERS="... ... ..." which falls back to all if not specified.
Comment 8 david cooper 2006-05-28 08:58:10 UTC
(In reply to comment #7)
> Where do you got the "--with-driver=any". This must be "--with-driver=all".
> Perhaps this should be changed to LIRC_DRIVERS="... ... ..." which falls back
> to all if not specified.

Fixed. Sorry for the bother, even the lirc docs say to use all.
Comment 9 Lugduweb 2006-05-28 10:36:00 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > By the way, why not using LIRC_OPTS="--with-driver=hauppauge" ?
> 
> Eh? I don't know which driver you need... The above was an *example*.
> 

OK... Sorry ! I thought you were saying that was the one and only good option.
With "hauppauge" it seems to work...
Thanks.
Comment 10 Matthias Schwarzott gentoo-dev 2006-06-19 02:10:38 UTC
Closed as this problem is based on wrong variable settings.