Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 93384

Summary: imlib2 libX configure error
Product: Gentoo Linux Reporter: Damien Thébault <damien.thebault>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to change the configure script
Modified ebuild

Description Damien Thébault 2005-05-20 16:10:40 UTC
When I try to emerge imlib2, the configure script cannot detect the X library...
It tries to use "-lX", but it seems that it should work with "-lX11" (I don't
know exactly the difference)
I made a patch to change the configure script ("-lX" to "-lX11") and all is
working, but I don't know if it is good or not (check -lX too or not?)

Reproducible: Always
Steps to Reproduce:
1.emerge media-libs/imlib2
2.
3.

Actual Results:  
The ebuild fails.

Expected Results:  
The configure script is working.

xorg : x11-base/xorg-x11-6.8.2-r1

emerge --info:

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.10-mm1 i686)
=================================================================
System uname: 2.6.10-mm1 i686 AMD Athlon(tm) MP 2400+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/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 /var/bind /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mcpu=athlon-mp -march=athlon-mp -O2 -pipe -fomit-frame-pointer
-finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acpi alsa apm avi berkdb bitmap-fonts bonobo cdr
crypt cups curl dbus dga directfb dvd dvdread eds emboss encode esd fam fbcon
flac foomaticdb gcj gd gdbm ggi gif glut gnome gnomedb gpm gstreamer gtk gtk2
hal imagemagick imap imlib ipv6 java jpeg junit ldap libcaca libg++ libwww
linguas_fr mad matroska mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses
network nls nptl nvidia ogg oggvorbis opengl pam pdflib perl pic pie plotutils
png python quicktime readline real rtc samba sasl sdl slang spell sqlite sse
sse2 ssl svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
usb v4l v4l2 vorbis win32codecs xine xinerama xml xml2 xv xvid zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2005-05-20 16:11:56 UTC
this is a dup of bug 93300. someone please close
Comment 2 Damien Thébault 2005-05-20 16:12:44 UTC
Created attachment 59418 [details, diff]
patch to change the configure script

This patch only change "-lX" with "-lX11", but with this, the script is
working!
Comment 3 Damien Thébault 2005-05-20 16:14:44 UTC
Created attachment 59419 [details]
Modified ebuild

This ebuild just patch the configure script
Comment 4 Damien Thébault 2005-05-20 16:17:06 UTC
I didn't find the bug, thanks

*** This bug has been marked as a duplicate of 93300 ***