Re: building ext/dba on win32
| From: | (Marcus Börger) | Date: | Tue, 07 Jan 2003 19:54:53 +0000 |
| Subject: | Re: building ext/dba on win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93232@lists.php.net to get a copy of this message | ||
At 20:11 07.01.2003, Dave Viner wrote:
Hi,according to sleepycat this should be available in all db 3 versions.I'm having trouble building the dba extension on win32. I get theseerrors: D:\php\php4\ext\dba\dba_db3.c(89) : error C2039: 'set_errcall' : is not a member of '__db'D:\PHP\PHP-WIN32BUILD\INCLUDE\db.h(397) : see declaration of '__db'D:\php\php4\ext\dba\dba_db3.c(90) : error C2039: 'open' : is not a member of '__db'D:\PHP\PHP-WIN32BUILD\INCLUDE\db.h(397) : see declaration of '__db'
from looking at cvs annotate, the lines causing these errors were added on 30 Dec 02 by helly. I looked at the latest win32build zip file on php.net, and I have the latest information. Has anyone else seen this error? Or know how I can fix this?I checked the current snaps build and it outputs the following: [c:\programme\php4\cli]php -v PHP 4.4.0-dev (cli) (built: Jan 7 2003 20:19:15) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.4.0, Copyright (c) 1998-2003 Zend Technologies [c:\programme\php4\cli]php -r "print_r(dba_handlers(1));" Array (
[cdb] => 0.75, $Revision: 1.6 $
[cdb_make] => 0.75, $Revision: 1.5 $
[db3] => Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
[flatfile] => 1.0, $Revision: 1.8 $
)
Interesting here is the version: DB 3.3.11.
What version of DB 3 do you try to link to?
regards
marcus