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

Bug 48844

Summary: Samba 3.0.2a-r1 compile fails on checking for libxml2
Product: Gentoo Linux Reporter: Leo Franchi <lfranchi>
Component: Current packagesAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Leo Franchi 2004-04-23 21:21:43 UTC
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"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-04-24 07:43:21 UTC

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