checking for X... no configure: error: no X support found. Use --x-includes and --x-libraries to specify the X path on your system, or --without-x to disable X support. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/imlib2-1.2.0.007/work/imlib2-1.2.0.007/config.log !!! ERROR: media-libs/imlib2-1.2.0.007 failed. see bug #88546.
Yep, same problem as referenced bug (though personally I think the patch should apply to both configure and configure.in :-) Phil
if i remember correctly there was no equivalent line in configure.in (or more likely i just couldn't find it). ;)
It's probably the line: AC_PATH_X([X], [X11/Xlib.h], [XOpenDisplay(NULL)]) but my autoconf memory is a bit weak at the moment, so that might be rubbish :-) Phil
*** Bug 93308 has been marked as a duplicate of this bug. ***
same problem with imlib-1.9.14-r3 Portage 2.0.51.22-r1 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc4 i686) ================================================================= System uname: 2.6.12-rc4 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] 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.16 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs digest 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.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 avi bitmap-fonts cdr crypt cups dba divx4linux dvd encode esd flac fluxbox font-server ftp gd gd-external gif gnome gtk gtk2 icq idea imap imlib java jikes jpeg mad mmx mozilla mp3 mpeg ncurses nptl nptlonly ogg oggvorbis opengl pam pcmcia php pic png posix python samba sdl spell sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vim vorbis xmms xprint xv xvid userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
s/imlib-1.9.14-r3/imlib-1.2.0.007 sorry, wrong emerge -pv :-P
The same: configure: error: no X support found. Use --x-includes and --x-libraries to specify the X path on your system, or --without-x to disable X support. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/imlib2-1.2.0.007/work/imlib2-1.2.0.007/config.log !!! ERROR: media-libs/imlib2-1.2.0.007 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. emerge info: Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-ck8 i686) ================================================================= System uname: 2.6.11-ck8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.4.1 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.16 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -pipe" CHOST="i686-pc-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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt dvd emboss extras foomaticdb fortran gtk gtk2 iconv imlib java jpeg kdeenablefinal libg++ libwww mad mmx mmx2 mozilla mp3 mpeg ncurses nls no-old-linux nptl offensive ogg oggvorbis opengl pam perl png postgres python qt quicktime readline samba sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Related part of config.log: configure:20107: checking for X configure:20213: i686-pc-linux-gnu-gcc -E conftest.c configure:20219: $? = 0 configure:20269: i686-pc-linux-gnu-gcc -o conftest -march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -pipe conftest.c -lX >&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lX collect2: ld returned 1 exit status configure:20275: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "imlib2" | #define VERSION "1.2.0.007" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define PACKAGE_BIN_DIR "/usr/bin" | #define PACKAGE_LIB_DIR "/usr/lib" | #define PACKAGE_DATA_DIR "/usr/share/imlib2" | #define PACKAGE_SOURCE_DIR "/var/tmp/portage/imlib2-1.2.0.007/work/imlib2-1.2.0.007" | #define DO_MMX_ASM 1 | /* end confdefs.h. */ | #include <X11/Xlib.h> | int | main () | { | XOpenDisplay(NULL) | ; | return 0; | } configure:20327: result: no configure:20350: error: no X support found. Use --x-includes and --x-libraries to specify the X path on your system, or --without-x to disable X support.
same here.... adding this patch makes it workie.... https://svn.uludag.org.tr/paketler/trunk/media-libs/ imlib2/files/imlib2-1.2.0.004-x-lib.patch
Created attachment 59385 [details, diff] imlib2-libX11.patch according to #88546 this was supposed to be fixed upstream, but it doesn't look like it was. configure.in should ultimately be fixed but i need to read up on autotools first ;P. this will work in the meantime.
maybe i should also include what needs to be added to the ebuild in case anyone's unfamiliar with them: src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/imlib2-libX11.patch }
I can verify that this patch works...fixed the problem for me!
Ryan's patch in comment #10 and application in comment #11 work for me. Thanks, Ryan!
configure.in seems to be correct. I've modified the ebuild with : cd ${S} autoreconf libtoolize --copy --force before export "MY_ECONF[...]" and imlib2 is building fine
fixed in portage
*** Bug 93384 has been marked as a duplicate of this bug. ***
*** Bug 93431 has been marked as a duplicate of this bug. ***