|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-06-20 07:09 UTC] john_w_lloyd at yahoo dot co dot uk
# ./configure --prefix=/usr/local --with-apache=/var/tmp/Apachetoolbox-1.5.30/apache_1.3.20 --enable-exif --enable-track-vars --with-calendar=shared --enable-safe-mode --enable-magic-quotes --enable-trans-sid --enable-wddx --enable-ftp --with-adabas=/usr/SAG/aad/v1200 --with-gd=/usr --with-openssl --with-pgsql
Check in "/var/tmp/Apachetoolbox-1.5.30/logs/php-compile.log" for errors.
[root@heimdall Apachetoolbox-1.5.30]# more logs/php-compile.log
Making all in Zend
make[1]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend'
Making all in main
make[1]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main'
make[2]: Entering directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main'
gcc -I. -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main -I/var/tm
p/Apachetoolbox-1.5.30/src/php-4.0.6RC4 -I/var/tmp/Apachetoolbox-1.5.30/apache_1.3.20/src/include -I/var/tmp/Apachetoolbox-1.5
.30/apache_1.3.20/src/os/unix -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/Zend -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.
0.6RC4/ext/mysql/libmysql -I/usr/SAG/aad/v1200/incl -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/xml/expat/xmltok -I/v
ar/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/xml/expat/xmlparse -I/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/TSRM -DS
UPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c internal_functions.c && touch internal_functions.lo
In file included from /var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/ext/odbc/php_odbc.h:78,
from internal_functions.c:36:
/usr/SAG/aad/v1200/incl/sqlext.h:1951: parse error before `SQLHANDLE'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/Apachetoolbox-1.5.30/src/php-4.0.6RC4/main'
make: *** [all-recursive] Error 1
Then obviously make!
Thanks for your help.
John
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 00:00:02 2025 UTC |
I belive the fix for this is to edit your sqlext.h file. There was a missing if statement for this version. The offending stanza (around 1951) should read: #if (ODBCVER >= 0x0300) #ifndef RC_INVOKED SQLRETURN SQL_API SQLAllocHandleStd( SQLSMALLINT fHandleType, SQLHANDLE hInput, SQLHANDLE *phOutput); #endif /* RC_INVOKED */ #endif