RE: [PHP-DEV] building ext/dba on win32

From: Date: Tue, 07 Jan 2003 20:15:17 +0000
Subject: RE: [PHP-DEV] building ext/dba on win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93235@lists.php.net to get a copy of this message
At 21:06 07.01.2003, Dave Viner wrote:
well.. from the win32build.zip file, I find in db.h this line:
#define DB_VERSION_STRING       "Sleepycat Software: DB 2.4.14: (6/2/98)"
DB version 2 does not have the functions causing the error. And you cannot link DB 2 with --with-db3=...
I suspect that this is the problem. I downloaded the latest berkeley db from sleepycat, but I still get an error. It is now version 4, so this might be the problem... I don't know what has changed from 3->4. But the error I now get is: D:\php\php4\ext\dba\dba_db3.c(90) : error C2198: 'function through pointer' : too few actual parameters
You have to reconfigure. When you get this error you are linking DB 4.1.x against php-HEAD configured with --with-db3=... instead use --with-db4=...

« previous php.dev (#93235) next »