During emerge kdemultimedia in ./configure while compiling there is a check on xine version which is incorrectly detected. Cause it is looking for x.y.z version format while it is x.y.z.w in newer version of xine-lib. In configure there is : xine_config_major_version=`$XINE_CONFIG $xine_config_args --version | \ sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` which set xine_config_major_version to 10.1 while xine-config --version return 1.1.10.1 upstream has a bug about it: http://bugs.xine-project.org/show_bug.cgi?id=41 but the sed expression in the patch may failed (for xine_config_sub_version or two digit number) (a simple test: echo "3.2.50.9999" | sed -n 's/^\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*$/\3/p' retrun 5 not 50 , so sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/' looks better ) As I am not aware on how automake works, xine-lib package with /usr/share/aclocal/xine.m4 file may also be fixed or be the root cause. Reproducible: Always Steps to Reproduce: 1. emerge -pv =kde-base/kdemultimedia-3.5.8-r1 with USE flag xine and media-libs/xine-lib-1.1.10.1 installed Actual Results: checking for xine-config... /usr/bin/xine-config checking for XINE-LIB version >= 1.0.0... *** 'xine-config --version' returned -1717986918.1072798105.-1717986918, but XINE (1072798105.858993459.1076114227) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If xine-config was wrong, set the environment variable XINE_CONFIG *** to point to the correct copy of xine-config, and remove the file config.cache *** before re-running configure no checking for strsep... yes checking for strpbrk... yes checking for setenv... yes configure: error: --with-xine was given, but test for Xine failed Expected Results: checking for xine-config... /usr/bin/xine-config checking for XINE-LIB version >= 1.0.0... yes checking for strsep... yes checking for strpbrk... yes checking for setenv... yes checking if arts should be compiled... yes Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz Timestamp of tree: Mon, 11 Feb 2008 10:16:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS=" -O2 -mtune=i686 -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS=" -O2 -mtune=i686 -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ft p.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LINGUAS="fr fr_FR en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib accessibility acl acpi activefilter adns aiglx akode alsa amr apache2 arts atm audio audiofile avahi avi bash-completion berkdb bidi bitmap-fonts bl bluetooth bookmarks browserplugin bzip2 bzlib cairo calendar caps cario cdda cddb cdparanoia cdr chroot cli corba cpudetection cracklib crypt css ctype cups curl daap dba dbus dbx dga dhcp dio directfb divx4linux dmx dri dts dv dvb dvd dvdnav dvdr dvdread dvi eds emboss enca encode esd ethereal evo fam fame fbcon ffmpeg fftw firefox flac font-server foomaticdb fortran ftp gd ggi gif gimpprint glib glibc-omitfp glitz gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardenedphp hddtemp howl-compat iconv ieee1394 imagemagick imap imlib imlib2 innodb ipv6 irda isdnlog jabber jack java javascript jpeg jpeg2k kde kerberos ladcca latex ldap libcaca libgda libnotify live lm_sensors lzo mad maildir matroska mbox mcal md5sum mdnsresponder-compat memlimit mhash midi mikmod mime mixer mjpeg mmap mmx mmxext mng mod modplug mono mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mp2 mp3 mp4 mpeg mpeg4 mpi mudflap musepack music musicbrainz mysql nas ncurses network nls nntp nptl nptlonly nsplugin nvidia odbc ogg oggvorbis openal opengl openmp openntpd oracle oss pam pcntl pcre pdf pdflib perl php png pnm pnp portaudio posix postgres ppds pppd print profile pulseaudio python qt qt3support qt4 quicktime rar readline real reflection rplay rtsp ruby samba sasl screen sdl session shared sharedmem shout slang slp smime sndfile snmp sockets socks5 sox speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 stream svg svga syslog sysvipc tcl tga theora threads tiff timidity tk transcode transparent-proxy truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vidix virus-scan vlm vorbis wifi win32codecs wma wmf wxwindows x264 x86 xanim xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev vmmouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR en" USERLAND="GNU" VIDEO_CARDS="v4l vesa vga fbdev vmware apm glint i128 i740 i810 nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have the same problem but my version numbers are reported slightly different than yours. I'm on AMD64 if that makes a difference. checking for _x_ao_new_port in -lxine... yes checking for ao_new_port... no checking for xine-config... /usr/bin/xine-config checking for XINE-LIB version >= 1.0.0... *** 'xine-config --version' returned 1.1.10, but XINE (-1717986919.10.184153408) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If xine-config was wrong, set the environment variable XINE_CONFIG *** to point to the correct copy of xine-config, and remove the file config.cache *** before re-running configure no checking for strsep... yes checking for strpbrk... yes checking for setenv... yes configure: error: --with-xine was given, but test for Xine failed !!! Please attach the following file when seeking support: !!! /var/tmp/portage/kde-base/kdemultimedia-3.5.8-r1/work/kdemultimedia-3.5.8/config.log
same problem here. checking for XINE-LIB version >= 1.0.0... *** 'xine-config --version' returned 1.1.10, but XINE (-1.0.1820041856) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If xine-config was wrong, set the environment variable XINE_CONFIG *** to point to the correct copy of xine-config, and remove the file config.cache *** before re-running configure no checking for strsep... yes checking for strpbrk... yes checking for setenv... yes configure: error: --with-xine was given, but test for Xine failed
amd64 here too and I get: checking for XINE-LIB version >= 1.0.0... *** 'xine-config --version' returned 1.1.10, but XINE (-1.0.1420870336) *** was found! If xine-config was correct, then it is best *** to remove the old version of XINE. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. Tried with kdemultimedia 3.5.8 and 3.5.8-r1
Created attachment 143457 [details, diff] Patch for kdemultimedia-3.5.8/xine_artsplugin/configure.in.in Got a successfully run of ./configure during compile and emerge. It solve the problem for me.
Thanks, I was able to ebuild unpack, apply your patch, then compile install qmerge and get past this breakage.
Patch works for me too!
I can confirm this bug.
The patch solved the problem. So I Propose to Push the Patch to Portage (Please!) :-)
Hi there, I have also solved the problem with the patch. However, konqueror now shows a movie icon instead of the preview-thumbnails for my video files. Since xine(lib) is used for video-thumbnails rendering can this compilation problem be related with my new video-thumbnails problem? Do you guys have the same problem? Best regards, Octavian
Forget about my post. I had to enable the preview from View=> Preview. Octav'
Patch solved problem for me too! g, Mueli
Pardon a noob breaking in, but how is this patch applied? I couldn't get it to go with the usual "patch" command against the kdemultimedia-3.5.8.ebuild. TIA!
Quick instructions would be something like: ebuild /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.5.8-r1.ebuild unpack cd /var/tmp/portage/kde-base/kdemultimedia-3.5.8-r1/work/kdemultimedia-3.5.8/ curl -o xinefix.patch 'http://bugs.gentoo.org/attachment.cgi?id=143457&action=view' patch -p1 < xinefix.patch cd - ebuild /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.5.8-r1.ebuild compile ebuild /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.5.8-r1.ebuild install ebuild /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.5.8-r1.ebuild qmerge
Created attachment 143866 [details, diff] Patch for ebuild to use xine-patch. Xine Patch works for me too! Here a patch for the ebuild to use the xine patch.
*** Bug 209699 has been marked as a duplicate of this bug. ***
(In reply to comment #15) > *** Bug 209699 has been marked as a duplicate of this bug. *** > (In reply to comment #12) > Pardon a noob breaking in, but how is this patch applied? I couldn't get it to > go with the usual "patch" command against the kdemultimedia-3.5.8.ebuild. > > TIA! I thought it was way too difficult and took too long to figure out how to make this work, thought I did with hints here and in the forum. See: http://forums.gentoo.org/viewtopic-p-4878803.html#4878803 for my approach that worked successfully. Es todo!
Fixed in CVS, thanks for the patch :)