compiling problem with db2 (odbc prob?)

From: Date: Mon, 07 Aug 2000 15:43:58 +0000
Subject: compiling problem with db2 (odbc prob?)
Groups: php.db 
Request: Send a blank email to php-db+get-1831@lists.php.net to get a copy of this message
hi, normally I configure php (v3) with: openlink, mysql, apache, xml - and that's fine. I am now trying also to get db2 in there, using --with-ibm-db2=/home/db2admin/sqllib. The config. part seems ok - no errors anyway. But the 'make' fails with this stuff: gcc .... blah blah ... internal_functions.o in file included from internal_functions.c:89: functions/php3_unified_odbc.h:383: parse error before 'SQLHANDLE' functions/php3_unified_odbc.h:383: warning: no semicolon at end of struct or union functions/php3_unified_odbc.h:387: 'open' redeclared as different (a dozen or so similar error messages) I tried the --with-ibm-db2 again, this time without openlink - and the make worked. So I guess there's some kind of conflict there - but I don't know the nature of it, or what I should do - I do need to be able to get access to different RDBMS's ... Having linked ODBC, do I need to use that for ALL other RDBMS accesses? any thoughts please? thanks Gordon Gallacher Inverness, Scotland. (Linux - RH 6.1, PHP 3.0.15; db2 PE 6.1)

« previous php.db (#1831) next »