Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122724 - php 5.1, XML-RPC extension requires LIBXML extension
Summary: php 5.1, XML-RPC extension requires LIBXML extension
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 13:02 UTC by Helge Haugland
Modified: 2006-03-12 05:50 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 Helge Haugland 2006-02-13 13:02:37 UTC
There should be a nicer way to inform the user that you need xml if you have xmlrpc in your use-flags.

Trying to get the relevant last lines of emerge output:

checking whether to enable XML support... no
checking libexpat install dir... no
checking for XMLReader support... no
checking for XMLRPC-EPI support... yes
checking libexpat dir for XMLRPC-EPI... no
checking iconv dir for XMLRPC-EPI... no
configure: error: XML-RPC extension requires LIBXML extension, add --enable-libxml

!!! ERROR: dev-lang/php-5.1.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  php-5.1.1.ebuild, line 128:   Called src_compile_normal
  php-5.1.1.ebuild, line 232:   Called php5_1-sapi_src_compile

!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

----
emerge info:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -g "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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=athlon-xp -pipe -fomit-frame-pointer -fforce-addr -g "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.intergenia.de ftp://ftp.du.se/pub/os/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo "
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 acpi alsa apache2 apm avi berkdb bitmap-fonts cairo calendar cddb cdparanoia cli crypt ctype cups dba dbus dga dvd eds emboss encode evo ffmpeg flash foomaticdb fortran ftp gb gd gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imap imlib imlib2 java jpeg kde libg++ libgda libwww mad mbox mikmod mmx motif mp3 mpeg musicbrainz ncurses network nls nptl ogg oggvorbis opengl oss pam pdflib pdo perl plotutils png posix ppds python qt quicktime razor readline sdl session slp spell sse ssl t1lib tcpd tidy truetype truetype-fonts type1-fonts unicode vorbis xbase xface xml2 xmlrpc xmms xv zip zlib elibc_glibc kernel_linux userland_GNU video_cards_rage128"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2006-03-12 05:50:40 UTC
Fixed in CVS now, the "xmlrpc" USE flag depends on the "xml" USE flag, thanks for reporting this!
Best regards, CHTEKK.