#21112 [Com]: unexpected token AC_ADD_INCLUDE during configure with sqlanywhere
ID: 21112 Comment by: ildanish at tiscali dot it Reported By: tnowak at triger dot com dot pl Status: Bogus Bug Type: Compile Failure Operating System: linux PHP Version: 4.3.0RC3 New Comment: 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 Previous Comments: [2002-12-20 07:12:24] [EMAIL PROTECTED] 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 [2002-12-20 07:09:22] tnowak at triger dot com dot pl sqlanywhere from https://login.sybase.com/detail/1,6904,1019698,00.html [2002-12-20 07:07:17] tnowak at triger dot com dot pl changed summary. [2002-12-20 07:06:46] [EMAIL PROTECTED] Where did you get that sqlanyware from? Derick [2002-12-20 07:05:04] 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)' -- Edit this bug report at http://bugs.php.net/?id=21112edit=1
#21112 [Com]: configure error with sqlanywhere support
ID: 21112 Comment by: ildanish at tiscali dot it Reported By: tnowak at triger dot com dot pl Status: Bogus Bug Type: Compile Failure Operating System: linux PHP Version: 4.3.0RC3 New Comment: Of course I intended Sybase, not Sun Sorry... Previous Comments: [2003-02-24 12:40:46] tnowak at triger dot com dot pl replace AC_ADD_INCLUDE with PHP_ADD_INCLUDE [2003-02-24 12:36:53] 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 [2002-12-20 07:12:24] [EMAIL PROTECTED] 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 [2002-12-20 07:09:22] tnowak at triger dot com dot pl sqlanywhere from https://login.sybase.com/detail/1,6904,1019698,00.html [2002-12-20 07:07:17] tnowak at triger dot com dot pl changed summary. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21112 -- Edit this bug report at http://bugs.php.net/?id=21112edit=1