From:             wolf at nbm dot com
Operating system: Red Hat Linux 8.0
PHP version:      4.3.2
PHP Bug Type:     ODBC related
Bug description:  Compile Error- Unable to install OpenLink IODBC Support

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 bug report at http://bugs.php.net/?id=24606&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24606&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24606&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24606&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24606&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24606&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24606&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24606&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24606&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24606&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24606&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24606&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24606&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24606&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24606&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24606&r=gnused

Reply via email to