#24606 [Opn->Fbk]: Compile Error- Unable to install OpenLink IODBC Support
ID: 24606
Updated by: kalowsky@php.net
Reported By: wolf at nbm dot com
-Status: Open
+Status: Feedback
Bug Type: ODBC related
Operating System: Red Hat Linux 8.0
PHP Version: 4.3.2
New Comment:
Can you also share with me the contents of w3config/include?
BTW where did you grab this install? The iODBC site still only lists
3.0.6 as the latest version.
Previous Comments:
------------------------------------------------------------------------
[2003-07-11 11:04:12] wolf at nbm dot com
The w3config directory is just for an HTML admin interface. To the best
of my knowledge it is common to both this and the previous version of
OpenLink. OpenLink runs a custom HTML daemon so a Web browser can be
used to configure it. They do the same thing on the the server side.
Also, in case it helps, here are the contents of the /lib directory:
-rwxr-xr-x 1 root root 732 Apr 1 14:29 libiodbc.la
lrwxrwxrwx 1 root root 17 Jul 10 11:54 libiodbc.so ->
libiodbc.so.2.1.7
lrwxrwxrwx 1 root root 17 Jul 10 11:54 libiodbc.so.2
-> libiodbc.so.2.1.7
-rwxr-xr-x 1 root root 235964 Apr 1 14:29
libiodbc.so.2.1.7
lrwxrwxrwx 1 root root 17 Jul 10 11:54 libodbc.so ->
libiodbc.so.2.1.7
-rwxr-xr-x 1 root root 719 Apr 1 14:29 oplodbc.la
-rwxr-xr-x 1 root root 304328 Apr 1 14:29 oplodbc.so
-rwxr-xr-x 1 root root 726 Apr 1 14:29 oplodbcu.la
-rwxr-xr-x 1 root root 324456 Apr 1 14:29 oplodbcu.so
------------------------------------------------------------------------
[2003-07-11 10:49:53] kalowsky@php.net
Well that would explain it. Do you know what the w3config dir is, and
if it's standard in all 5.0 releases?
------------------------------------------------------------------------
[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)