Samba version 3.0.2a-r1 fails compiling when checking for libxml > 2: checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.0.0... no *** Could not run libxml test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means LIBXML was incorrectly installed *** or that you have moved LIBXML since it was installed. In the latter case, you *** may want to edit the xml2-config script: /usr/bin/xml2-config configure: error: Can't find XML libraries while XML support is requested !!! ERROR: net-fs/samba-3.0.2a-r1 failed. !!! Function src_compile, Line 175, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge samba 2. 3. emerge info: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6. 5-love4) ================================================================= System uname: 2.6.5-love4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ANT_HOME="/usr/share/ant" ARCH="x86" AUTOCLEAN="yes" AUTO_SYMLINK="no" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXX="g++" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" USE="3dfx X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dedicated directfb doc encode esd foomaticdb gdbm gif gphoto2 gpm gtk gtk2 gtkhtml imap imlib ipod java jpeg libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb videos x86 xml xml2 xmms xv zlib"
*** Bug 48844 has been marked as a duplicate of this bug. ***
I think the bug has something to do with GCC 3.4 (using the latest ebuild from the forums) because emerging an ebuild of GCC 3.4 using the 20040407 prerelease allowed it to compile fine.
ok, if it's working for you, I'll mark it fixed. reopen if you still have problems.