Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29103 - mod_php congigure fails due to Sablotron version error
Summary: mod_php congigure fails due to Sablotron version error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 29110 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-19 05:17 UTC by SpanKY
Modified: 2005-06-17 10:05 UTC (History)
3 users (show)

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 SpanKY gentoo-dev 2003-09-19 05:17:56 UTC
When trying to emerge mod_php I get this error (during the configure phase):

checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96 or 
greater required.

!!! ERROR: dev-php/mod_php-4.3.3 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

-------------------------------------------------------------------------------

# qpkg -v sablotron
app-text/sablotron-1.0 *

I've tried to comment my USE and CFLAGS in make.conf, does not help. I've tried 
different versions of sablotron, 0.96, 0.97 and 1.0. I've also tried different 
versions of mod_php. Same problems all the time.

Sorry if I've done something wrong, my first bug report ^^
Comment 1 SpanKY gentoo-dev 2003-09-19 05:19:01 UTC
------- Additional Comments From micso236@student.liu.se  2003-18-09 09:21 EST -------
I paste my USE flags and CFLAGS:

USE="alsa apache2 dvd gtk2 smooth usb oss -apm -nls -spell -arts -kde -java"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
Comment 2 SpanKY gentoo-dev 2003-09-19 05:19:51 UTC
------- Additional Comments From micso236@student.liu.se  2003-18-09 09:35 EST -------
 # emerge -vp mod_php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-php/mod_php-4.3.3  +apache2 +X +crypt -curl -firebird -flash -freetds -gd -gd-external +gdbm -imap -informix -ipv6 -java +jpeg -ldap -mcal -memlimit -mysql -nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp -spell +ssl -tiff +truetype +xml2 
Comment 3 SpanKY gentoo-dev 2003-09-19 08:07:50 UTC
*** Bug 29110 has been marked as a duplicate of this bug. ***
Comment 4 Micke Southman 2003-09-19 14:24:21 UTC
Found that it was the qt use flag that caused this error. So USE="-qt" emerge mod_php passes the configure state.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-26 17:22:52 UTC
Run revdep-rebuild and then you can merge php with QT support.
Comment 6 Alexander Skwar 2005-06-17 09:15:34 UTC
Please reopen!

[18:11:34 alexander@server:~/tmp] $ sudo emerge -vat =dev-php/php-cgi-4.4.0_rc1

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild     UD] dev-php/php-cgi-4.4.0_rc1 [5.0.3-r1] +X -berkdb +crypt -curl
-debug -doc -fdftk -firebird +flash -force-cgi-redirect -freetds +gd
-gd-external -gdbm -gmp -hardenedphp -imap -informix -ipv6 +java +jpeg -kerberos
-ldap -mcal -memlimit -mssql -mysql +nls -oci8 -odbc +pam +pdflib +png -postgres
-qt* -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[...]
checking whether to enable xslt support... yes
checking for XSLT Sablotron backend... yes
checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96 or
greater required.



[18:14:31 alexander@server:~/tmp] $ epm -q sablotron
sablotron-1.0.1


As you can see, I'm trying to build php with "USE=-qt".




[18:08:38 alexander@server:~/tmp] $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686)
=================================================================
System uname: 2.6.11-ck10.ASN.006.reiser4.patch-4.no-proc-pci.xfs-module i686
AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm async avi bash-completion
bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs crypt cscope css
cups divx4linux dvdread encode esd ethereal exif fam fbcon fbdev ffmpeg fftw
firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail gnokii gnome
gphoto2 gpm gs gstreamer gtk gtk2 guile hal iconv idn imagemagick imap imlib
java javascript jpeg kde kdeenablefinal kdexdeltas libwww logitech-mouse
logrotate lufsusermount lzw lzw-tiff mad maildir matroska matrox mbox mime mmap
mmx mng mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg mplayer
ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel nobeanutils nobsh
nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro nopop3d
noregexp norhino noxalan noxerces nptl offensive ofx ogg oggvorbis opengl oss
pam parse-clocks pcntl pcre pda pdflib perl pic pie png posix ppds python qt
quicktime quotes rdesktop readline real recode samba sasl shared slang sockets
speex spell sse ssl svg symlink sysvipc tcltk tcpd theora tidy tiff truetype
truetype-fonts type1-fonts unicode usb usepackagedmakefiles vcd videos vim
vim-pager vim-with-x vorbis wmf wsconvert x11vnc xchattext xfs xine xml2 xmms xv
xvid zlib video_cards_matrox linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY

Comment 7 Alexander Skwar 2005-06-17 10:05:06 UTC
I'm able to build php with "USE=-*". Disabling just one of

[ebuild     UD] dev-php/php-4.4.0_rc1 [5.0.4] +X -berkdb +crypt -curl -debug
-doc -fdftk -firebird +flash -freetds +gd -gd-external -gdbm -gmp -hardenedphp
-imap -informix -ipv6 +java +jpeg -kerberos -ldap -mcal -memlimit -mssql -mysql
+ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres -qt* -readline -snmp
+spell +ssl +tiff +truetype +xml2 -yaz 0 kB

did not work, though.