Bug 72426 - libcaca trouble with /usr/X11R6/lib move
|
Bug#:
72426
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: media-video@gentoo.org
|
Reported By: swtaylor@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: libcaca trouble with /usr/X11R6/lib move
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-11-25 00:54 0000
|
Currently, with xorg-x11-6.8.0-r4's move of the libraries, libcaca does not
find
the proper libraries. Basically the same issue as 69400 which was for
libxklavier instead. So far though, these are the only two packages i've
come across that have this problem:
checking for X... libraries , headers /usr/X11R6/include
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: error: cannot find X11 development files
!!! ERROR: media-libs/libcaca-0.9-r1 failed.
Adding *either* of the following to the econf call makes it work:
-x-libraries=/usr/lib \
-x-libraries=/usr/X11R6/lib \
however it's autodetection doesn't do so well.
You can clearly see what happens here:
configure:21036: checking for XOpenDisplay in -lX11
configure:21066: i686-pc-linux-gnu-gcc -o conftest -O2 -march=athlon-tbird -funit-at-a-time -mno-sse -mno-sse2 -mno-sse3 -DOPTIMISE_SLANG_PALETTE=1 conftest.c -lX11 -lXt -L >&5
i686-pc-linux-gnu-gcc: argument to `-L' is missing
It assumes that a -L/path/to/X/stuff will be required, so when it finds X in /usr/lib, it gets confused and just does -L.
I can confirm this error. By the way: Why do I need libcaca all of a sudden?
Since I dif emerge sync this day it seems to be required.
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.182
2005/01/03 03:26:58 chriswhite Exp $
03 Jan 2005; Chris White <chriswhite@gentoo.org> xine-lib-1.0.ebuild:
Quick fix. Removed libcaca USE flag but forgot to remove the conditional dep
as it appears xine-lib doesn't play nice if you don't have it.
This has been fixed according to the duplicate Bug 76517.
I'll say that it works for me, now, and it did not work before.
same problem with xorg-x11-6.8.1.901
Worked for me now too, but didn't before. ~x86
Ok then, closing this jolly ole bug :P.
0.9-r1 does not work for me with xorg-x111-6.8.0-r3.
Will attach config.log.
Am I the only one still having this problem?
<snip>
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.2.5-r2,glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux-headers-2.4.18,sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks moo sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.icd.hu/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa apm avi berkdb bitmap-fonts bonobo cdr chroot crypt cups dga dillo directfb divx4linux dvd encode esd ethereal fam fbcon flac foomaticdb fortran freetds gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java javascript jce jpeg junit libg++ libwww mad maildir mbox mikmod motif mpeg mysql ncurses nls offensive oggvorbis opengl oss pam pcmcia pda pdflib perl php png pnp python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tetex tiff truetype trusted unicode usb xface xfs xml xml2 xmms xv xvid zlib"
</snip>
Thank's Chris. It works now.
Nit: a short notice would have been helpful though..
*** Bug 77804 has been marked as a duplicate of this bug. ***