php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58336 Error compiling OCI 8 mmodule
Submitted: 2008-09-07 11:08 UTC Modified: 2008-09-08 04:32 UTC
From: jant at ua dot es Assigned:
Status: Not a bug Package: oci8 (PECL)
PHP Version: 5.2.6 OS: Ubuntu Intrepid Ibex Alpha 5
Private report: No CVE-ID: None
 [2008-09-07 11:08 UTC] jant at ua dot es
Description:
------------
When I try to compile OCI8 module on Ubuntu 8.10 (libtool 2.2.4) I get this error:

sudo pecl install oci8
downloading oci8-1.3.4.tgz ...
Starting to download oci8-1.3.4.tgz (134,240 bytes)
.................done: 134,240 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:77: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
aclocal.m4:2912: LT_INIT is expanded from...
aclocal.m4:2947: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:77: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:77: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:6989: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:9525: error: possibly undefined macro: _LT_SET_OPTIONS
configure:9525: error: possibly undefined macro: LT_INIT
ERROR: `phpize' failed
sudo pecl install oci8
downloading oci8-1.3.4.tgz ...
Starting to download oci8-1.3.4.tgz (134,240 bytes)
.................done: 134,240 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:77: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
aclocal.m4:2912: LT_INIT is expanded from...
aclocal.m4:2947: AC_PROG_LIBTOOL is expanded from...
configure.in:77: the top level
configure.in:77: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:77: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:77: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:6989: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:9525: error: possibly undefined macro: _LT_SET_OPTIONS
configure:9525: error: possibly undefined macro: LT_INIT
ERROR: `phpize' failed


Reproduce code:
---------------
pecl install oci8


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-08 03:29 UTC] tony at daylessday dot org
There are some problems with your autotools, apparently.
Please make sure your autotools work and your PHP installation includes ALL the required files (i.e. try with clean PHP distribution, not some broken distro package).
Btw, you might want to upgrade to PHP 5.2.6 which was released 4 months ago.
 [2008-09-08 04:25 UTC] jant at ua dot es
Hi tony2001.

I've tested this configuration on two different machines running Ubuntu 8.10 (alpha version, at this time) and I've got the same results.

BTW: PHP version is 5.2.6

Thanks for your help.
 [2008-09-08 04:32 UTC] tony at daylessday dot org
Please do what I asked:
1) check that your autoconf package works;
2) use clean PHP sources with no third-party patches.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC