Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48843 - Samba 3.0.2a-r1 compile fails on checking for libxml2
Summary: Samba 3.0.2a-r1 compile fails on checking for libxml2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 48844 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-23 21:18 UTC by Leo Franchi
Modified: 2004-07-27 00:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Franchi 2004-04-23 21:18:15 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
*** Bug 48844 has been marked as a duplicate of this bug. ***
Comment 2 Leo Franchi 2004-04-24 16:17:58 UTC
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.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-05-10 20:10:56 UTC
ok, if it's working for you, I'll mark it fixed.  reopen if you still have problems.