php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21112 configure error with sqlanywhere support
Submitted: 2002-12-20 07:05 UTC Modified: 2003-02-24 12:40 UTC
From: tnowak at triger dot com dot pl Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.0RC3 OS: linux
Private report: No CVE-ID: None
 [2002-12-20 07:05 UTC] tnowak at triger dot com dot pl
I try to configure php-4.3.0RC3 with sqlanywhere support. I make it like in previous versions of php 4.x:
cd ext
tar xzf ../../../dwn/sqlanywhere-1.0.1.tgz
cd sqlanywhere
touch *
cd ../..
./buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.13 (ok)
buildconf: automake version 1.4-p5 (ok)
buildconf: libtool version 1.4 (ok)
rebuilding configure
autoconf: Undefined macros:
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
***BUG in Autoconf--please report*** AC_ADD_INCLUDE
***BUG in Autoconf--please report*** AC_ADD_LIBRARY_WITH_PATH
rebuilding main/php_config.h.in

and during configuration:
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-EAPI \
--enable-track-vars --with-mysql=/usr/local/mysql --with-jpeg-dir --with-t1lib \
--enable-calendar --enable-sysvsem --enable-sysvshm --enable-trans-sid \
--with-zlib --enable-ftp --enable-yp --enable-memory-limit --with-gd \
--with-exec-dir --enable-sockets --enable-safe-mode \
--with-exec-dir=/usr/local/php/bin --with-pdflib=/usr/pdflib \
--with-imap --with-png-dir --with-gettext --enable-mbstring \
--with-openssl=/usr/openssl/ --with-config-file-path=/root/conf/ \
--with-ldap \
--with-sqlanywhere

checking for SQLAnywhere support... yes
./configure: line 66818: syntax error near unexpected token `AC_ADD_INCLUDE($SQLANY_DIR/include)'
./configure: line 66818: `        AC_ADD_INCLUDE($SQLANY_DIR/include)'


Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-20 07:06 UTC] derick@php.net
Where did you get that sqlanyware from?

Derick
 [2002-12-20 07:07 UTC] tnowak at triger dot com dot pl
changed summary.
 [2002-12-20 07:09 UTC] tnowak at triger dot com dot pl
sqlanywhere from https://login.sybase.com/detail/1,6904,1019698,00.html
 [2002-12-20 07:12 UTC] derick@php.net
We do not support 3rd party extensions. They need to fix their module as it just no longer compiles. Not a PHP problem -> bogus.

Derick
 [2003-02-24 12:36 UTC] ildanish at tiscali dot it
How can you say it is a Sun problem??
I ask that because I have the same problem (PHP-4.3.1,SOLARIS8,Sybase AdaptiveServerAnywhere8), so I searched the documentation in php.net and I found that description in table 41-1. M4 Macros for config.m4:

"AC_ADD_INCLUDE(path) - Adds a compiler include path; for example, used if the module needs to add search paths for header files."

So it seems the code from Sun is correct, but it doesn't work because some macro definition is missing in the PHP source code.

Please let me know
Thanks
Daniele
 [2003-02-24 12:40 UTC] tnowak at triger dot com dot pl
replace AC_ADD_INCLUDE with PHP_ADD_INCLUDE
 [2003-02-24 12:42 UTC] ildanish at tiscali dot it
Of course I intended Sybase, not Sun

Sorry...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Aug 14 19:01:27 2024 UTC