#31028 [Opn]: Configure thinks my Sablotron 1.0 version is older then version 0.96
| From: | meuk at zwaremetalen dot com | Date: | Thu, 16 Dec 2004 18:43:33 +0000 |
| Subject: | #31028 [Opn]: Configure thinks my Sablotron 1.0 version is older then version 0.96 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70391@lists.php.net to get a copy of this message | ||
ID: 31028
User updated by: meuk at zwaremetalen dot com
Reported By: meuk at zwaremetalen dot com
Status: Open
Bug Type: Compile Failure
Operating System: Gentoo Linux
PHP Version: 4.3.10RC2
New Comment:
Something strange is happening here.
If I do the original configure statement but without the option
"--with-jpeg-dir=/usr" it works perfectly. If I add the option again
it gives me the sablot version error.
Previous Comments:
------------------------------------------------------------------------
[2004-12-16 15:00:10] meuk at zwaremetalen dot com
I already added that output in my initial post. And I am sure that I
have one install of sablotron on my machine. I even tried to install
php on another machine (also GentooLinux) and I had the same problem
there.
Installing Sablotron 1.0.1 gives the same problem.
> Does this work:
> # rm config.cache
> # ./configure --disable-all --with-xslt-sablot --enable-xslt
....
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... >= 0.96
checking for iconv... yes
checking for SablotSetEncoding in -lsablot... yes
checking for SablotGetOptions in -lsablot... yes
....
That seems to work. Strange that it doesn't work if I set the directory
where it should find it.
------------------------------------------------------------------------
[2004-12-16 13:13:06] sniper@php.net
Are you sure you have only one (1) sablotron version installed in your
system? What does "/usr/bin/sablot-config --version" output ?
Does this work:
# rm config.cache
# ./configure --disable-all --with-xslt-sablot --enable-xslt
------------------------------------------------------------------------
[2004-12-09 09:11:05] meuk at zwaremetalen dot com
You can find it here:
http://www.hildebrand.tv/php/config.log
------------------------------------------------------------------------
[2004-12-08 22:27:43] derick@php.net
Please provide a link to your config.log file so that we can check it.
------------------------------------------------------------------------
[2004-12-08 22:14:44] meuk at zwaremetalen dot com
Description:
------------
When doing a configure I get the following error:
checking for XSLT Sablotron backend... /usr
checking for libexpat dir for Sablotron XSL support... /usr
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for sablot-config... found
checking for Sablotron version... configure: error: Sablotron version
0.96 or greater required.
My configure statement:
./configure --with-mysql=/opt/mysql41 --enable-track-vars
--disable-debug --with-apache=../apache_1.3.33 --with-openssl=/usr
--with-xml --with-ldap --with-ttf --with-gd=/opt/libgd2
--enable-gd-imgstrttf --with-mcrypt=/usr --with-mhash=/usr --enable-ftp
--with-dom --with-expat-dir=/usr --with-xslt-sablot=/usr --enable-xslt
--with-freetype-dir=/usr --enable-gd-native-ttf --with-curl=/usr
--with-zlib --with-zlib-dir=/usr --with-imap=/usr --with-imap-ssl=/usr
--with-gettext --with-bz2 --enable-javascript --with-jpeg-dir=/usr
--with-png-dir=/usr --with-dom-xslt=/usr --with-dom-exslt=/usr
--enable-xslt --with-iconv --with-ming=/usr
--with-java=/opt/j2sdk1.4.2
But my Sablotron version is 1.0. Check here:
iridium php-4.3.10RC2 # /usr/bin/sablot-config --version
1.0
Expected result:
----------------
I expect configure to accept my sablotron version. 1.0 is greater than
0.96
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31028&edit=1