#24606 [Opn]: Compile Error- Unable to install OpenLink IODBC Support
ID: 24606
Updated by: kalowsky@php.net
Reported By: wolf at nbm dot com
Status: Open
Bug Type: ODBC related
Operating System: Red Hat Linux 8.0
PHP Version: 4.3.2
New Comment:
Well that would explain it. Do you know what the w3config dir is, and
if it's standard in all 5.0 releases?
Previous Comments:
------------------------------------------------------------------------
[2003-07-11 10:35:47] wolf at nbm dot com
openlink
openlink/bin
openlink/bin/w3config
openlink/bin/w3config/html
(omitted html subdirectories for HTML admin interface)
openlink/bin/w3config/include
openlink/lib
------------------------------------------------------------------------
[2003-07-11 10:22:08] kalowsky@php.net
and what does the dir struct under /usr/local/openlink look like?
------------------------------------------------------------------------
[2003-07-11 10:10:39] wolf at nbm dot com
Description:
------------
Installed latest 5.0 OpenLink client and verified it is working
correctly.
OpenLink installed in /usr/local/openlink
Tried to Compile PHP with the following options:
--enable-dbase --with-mysql=/usr/local/mysql
--with-zlib --enable-ftp --with-mcrypt=/usr/local/lib
--enable-trans-sid --with-imap=/usr/local/imap
--with-imap-ssl --with-kerberos
--with-apache=../apache_1.3.27
--with-iodbc=/usr/local/openlink
Got this error on make:
In file included from /usr/install/php-4.3.2/ext/odbc/php_odbc.c:37:
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:94:18: isql.h: No
such file or directory
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:95:21: isqlext.h:
No such file or directory
In file included from /usr/install/php-4.3.2/ext/odbc/php_odbc.c:37:
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:208: parse error
before "HENV"
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:208: warning: no
semicolon at end of struct or union
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:209: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:211:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:214: parse error
before '}' token
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:214: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:220: parse error
before "SDWORD"
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:220: warning: no
semicolon at end of struct or union
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:221: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:224: parse error
before "HSTMT"
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:224: warning: no
semicolon at end of struct or union
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:226: parse error
before '*' token
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:226: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:227: parse error
before "numcols"
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:227: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:228: parse error
before "numparams"
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:228: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:235: parse error
before '*' token
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:235: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:236: parse error
before '}' token
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:236: warning: data
definition has no type or storage class
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:252:
`SQL_MAX_MESSAGE_LENGTH' undeclared here (not in a function)
/usr/install/php-4.3.2/ext/odbc/php_odbc_includes.h:255: confused by
earlier errors, bailing out
make: *** [ext/odbc/php_odbc.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24606&edit=1
Thread (9 messages)