php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57733 Unable to install SCA_SDO package using pecl
Submitted: 2007-07-04 03:20 UTC Modified: 2017-01-10 08:07 UTC
From: akil8528 at gmail dot com Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: 5.1.2 OS: Ubuntu
Private report: No CVE-ID: None
 [2007-07-04 03:20 UTC] akil8528 at gmail dot com
Description:
------------
Hi,

I am not able to Install SCA_SDO package . I am getting some libxml error.i.e,

pecl install SCA_SDO

downloading SCA_SDO-1.2.2.tgz ...
Starting to download SCA_SDO-1.2.2.tgz (492,328 bytes)
..............done: 492,328 bytes
194 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
building in /var/tmp/pear-build-root/SCA_SDO-1.2.2
running: /tmp/tmp0k5GSX/SCA_SDO-1.2.2/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
checking for PHP extension directory... /usr/lib/php5/20051025
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.9.12 (ok)
checking for gawk... gawk
checking whether to enable SDO support... yes, shared
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for swprintf... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
configure: error:
You've configured extension sdo, which depends on extension libxml,
but you've either not enabled libxml, or have disabled it.

ERROR: `/tmp/tmp0k5GSX/SCA_SDO-1.2.2/configure' failed


I have already installed php-pear and libxml packages.



Reproduce code:
---------------
pecl install SCA_SDO

Actual result:
--------------
downloading SCA_SDO-1.2.2.tgz ...
Starting to download SCA_SDO-1.2.2.tgz (492,328 bytes)
..............done: 492,328 bytes
194 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
building in /var/tmp/pear-build-root/SCA_SDO-1.2.2
running: /tmp/tmp0k5GSX/SCA_SDO-1.2.2/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
checking for PHP extension directory... /usr/lib/php5/20051025
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... re2c
checking for re2c version... 0.9.12 (ok)
checking for gawk... gawk
checking whether to enable SDO support... yes, shared
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for swprintf... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
configure: error:
You've configured extension sdo, which depends on extension libxml,
but you've either not enabled libxml, or have disabled it.

ERROR: `/tmp/tmp0k5GSX/SCA_SDO-1.2.2/configure' failed

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-02 10:33 UTC] peter dot dajka at cnm dot hu
I have too this Bug in Ubuntu 6.06 LTS.
 [2008-07-02 19:56 UTC] alan at akbkhome dot com
moving to correct package
 [2008-07-08 06:33 UTC] cem@php.net
OK, thanks to Alan for bringing this to our attention from whatever dark hole it was previously lurking in.

At this stage the details in the bug are very out of date. I guess you're saying that nothing much has changed in the behaviour. But before we can start to investigate, we do need you to update the PHP version, the SCA_SDO version, and the configure output, please.
 [2008-09-03 11:14 UTC] eric dot langevin at canoe dot com
Hi, I also have the same problems with 1.2.4 version.

downloading SCA_SDO-1.2.4.tgz ...
Starting to download SCA_SDO-1.2.4.tgz (576,531 bytes)
.............done: 576,531 bytes
194 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
building in /var/tmp/pear-build-root/SCA_SDO-1.2.4
running: /tmp/tmpBINuNs/SCA_SDO-1.2.4/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext
checking for PHP extension directory... /usr/lib/php5/20051025
checking for PHP installed headers prefix... /usr/include/php5
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking whether to enable SDO support... yes, shared
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for swprintf... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
configure: error:
You've configured extension sdo, which depends on extension libxml,
but you've either not enabled libxml, or have disabled it.

ERROR: `/tmp/tmpBINuNs/SCA_SDO-1.2.4/configure' failed
 [2008-09-08 08:03 UTC] cem@php.net
OK, I notice that you're using PHP 5.1.2. In my working environment I am on 5.2.4, but we think the build should still be working on 5.1.x.

Since I can't reproduce this, I'll need some more help from you. I can see where in the configure script the error must be occurring, but I don't understand why $PHP_LIBXML is set to "no" in your environment. 

In order to do this, you'll need to run the build manually, rather than with pecl install. So download the package file,
untar it to a directory of your choice, then cd to that directory. Then

 phpize

followed by 

 ./configure

You should then find a config.log which will give you more detail about the error. 

It looks like a possible bypass may be to edit the config.m4 and change the line
  PHP_ADD_EXTENSION_DEP(sdo, libxml)
to 
  PHP_ADD_EXTENSION_DEP(sdo, libxml, true)
which ought to make the process continue despite the claimed missing dependency.
 [2017-01-10 08:07 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 08:07 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC