Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100824 - mod_php does not recognise sablotron version
Summary: mod_php does not recognise sablotron version
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 10:19 UTC by Wy
Modified: 2005-08-22 05:16 UTC (History)
1 user (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 Wy 2005-07-30 10:19:13 UTC
mod_php refuses to compile.

Error message follows:
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version 0.96 or
greater required.

Sablotron 1.0.1 is installed.
emerge -s sablotron output

emerge -s sablotron
Searching...
[ Results for search key : sablotron ]
[ Applications found : 1 ]

*  app-text/sablotron
      Latest version available: 1.0.1
      Latest version installed: 1.0.1
      Size of downloaded files: 474 kB
      Homepage:    http://www.gingerall.com/charlie/ga/xml/p_sub.xml
      Description: An XSLT Parser in C++
      License:     MPL-1.1

...

I believe that the mod_php version checker does not recognise that the sablotron
 major version, but that's just conjencture.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-07-30 12:36:18 UTC
Hi.
I'm currently rewriting the php4-eclass for the new PHP ebuilds and tried to
reproduce the problem, but couldn't... For me it works and I'm using
sablotron-1.0. I searched possible differences that could lead to this in the
two eclasses and came up with this:

1) open /usr/portage/eclasses/php-sapi.eclass

2) go to line 422, wich should be:
myconf="${myconf} --with-sablot=/usr"

3) delete that line!

and then please retry emerging php-4.4.0 like you did before and report here
your success or failure, thanks!
Comment 2 Wy 2005-07-30 13:13:23 UTC
No joy on that fix.

emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm avi berkdb bitmap-fonts crypt cscope
css cups curl dvd emboss encode esd fam firefox flac foomaticdb fortran gdbm gif
gnome gpm gtk gtk2 imlib ipv6 joystick jpeg kde libg++ libwww lirc mad matroska
mikmod mmx motif mp3 mpeg mysql ncurses net ogg oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline samba sdl slang spell sse ssh ssl tcpd
theora tiff transcode truetype truetype-fonts type1-fonts v412 vorbis xine
xinerama xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

emerge -pv mod_php

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

Calculating dependencies ...done!
[ebuild  N    ] dev-php/mod_php-4.4.0-r1  +X +apache2 +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 -nls -oci8 -odbc +pam +png -postgres -snmp +spell +ssl +tiff
+truetype +xml2 -yaz 0 kB
[ebuild  N    ] dev-php/php-4.4.0  +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 +png -postgres +readline -snmp +spell +ssl +tiff
+truetype +xml2 -yaz 0 kB

Total size of downloads: 0 kB
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2005-08-22 05:16:00 UTC
Please run revdep-rebuild on your system.  You have broken libraries installed,
which need recompiling.

Best regards,
Stu