Hi all, I am unable to 'emerge -u fluxbox' It give me several WARNING's reguarding missing pre-requisite headers before finally dying on on XOpenDisplay issue. < snip... > configure: WARNING: cstring: present but cannot be compiled configure: WARNING: cstring: check for missing prerequisite headers? configure: WARNING: cstring: see the Autoconf documentation configure: WARNING: cstring: section "Present But Cannot Be Compiled" configure: WARNING: cstring: proceeding with the preprocessor's result configure: WARNING: cstring: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## . . . checking for IceConnectionNumber in -lICE... no checking for XOpenDisplay in -lX11... no configure: error: Could not find XOpenDisplay in -lX11. !!! ERROR: x11-wm/fluxbox-0.9.11 failed. !!! Function econf, Line 447, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge -up world 2. 3. Actual Results: The update dies with a nice warning. Expected Results: Emerge update moves on and finishes maggie steven # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r10 i686) =============================================================== == System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 21 2004, 18:27:08)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.7.9, 1.9.3, 1.8.5-r2, 1.6.3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/ kde/3.3/share/config /usr/kde/3.3/shutdown /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/alias /var/qmail/control /var/ vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -Os -pipe -fomit-frame-pointer -fstack-protector -finline-functions" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ 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="X aalib acpi aim alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bzlib cdb cdr crypt cscope ctype cups curl curlwrappers dbm dif directfb divx4linux doc dvd dvdr encode esd ethereal f77 fam fbcon foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 iconv imagemagick imap imlib jabber java jpeg kde libg++ libwww mad maildir mikmod mng motif mpeg mysql mysqli ncurses nls oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline samba sdl slang slp spell sse ssl svga tcltk tcpd tetex tidy tiff truetype unicode usb video x86 xine xml xml2 xmms xosd xpm xv xvid zlib" And the actual output of emerg -u world..
Created attachment 45577 [details] The actual output of the emerge -u world command
Can you please sho me output of this command: nm /usr/X11R6/lib/libX11.so | grep XOpenDisplay If it doesn't find anything, means X11 really doesn't have this function, otherwise it's problem of fluxbox configs
Now, that I looked more carefully at the messages I see this: "libtool.m4: error: problem compiling CXX test program"
Can you posting your /usr/include/errno.h file? I see you have multiple versions of auto tools instaled. Maybe in this problem? ---------------------------------------------------------------- This is my emerge info output: ---------------------------------------------------------------- Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.8-gentoo-r7 i686) ================================================================= System uname: 2.6.8-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.6 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.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r6 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gentoo.org.ua/gentoo-portage" USE="X apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib innodb java jpeg junit ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline ruby samba sdl slang spell sqlite sse ssl svga tcltk tcpd tiff truetype unicode x86 xml xml2 xmms xv zlib"
Created attachment 45642 [details] errno.h at the request of devil! At the request of devil@gentoo.org.ua here is a copy of /usr/include/errno.h Thanks you guys rock!!
The output of nm /usr/X11R6/lib/libX11.so | grep XOpenDisplay 000292b8 T XOpenDisplay Thanks again!!
Ok, the only thing I can recommend you to try is to reemerge glibc, gcc and binutils. according to the output of the configure script, it looks like a major problem with building all c++ libs/headers. P.S. Let me guess - you got similar problems with other applications writen in c++, right?
You would be correct I had a problem with fam - so (usually) my course of action is to do an emerge sync to make sure it hasn't been reported and subsequently fixed and then continue on. However this time it got through about 10 new packages then bombed here. If I try to emerge fam I get an error - different but similar in the fact that both people see an issue around g++. My question to you is.. What does reemrging each of the glibc, gcc and binutils actually do except give you the same thing? What does this fix? Lastly, should I do it any other way other than the obvious 'emerge glibc; emerge gcc; emerge binutils' Thanks a lot for your help on this!!
Hi! I see are you using ACCEPT_KEYWORDS="~x86". Do you know that if you turn on this flag you have been instaled NOT STABLE software. If it's problem gentoo specific then we must fixing this problem. If it's problem package specific then we try fixing this problem, if we not fixing this problem then we bugreporting to developers of this program. On your bug we answer that you have problem around g++. Thank you for testing software. If you have lots of bugs please using stable versions of programs.
Apparently there is a problem if I use ~x86. When I removed this it fixed the problem.