I am compileing MySQL 3.23.33 with the following options:
--prefix=/usr/local
--with-berkeley-db=/disks/eradicator/i686/BerkeleyDB
--with-berkeley-db-includes=/disks/eradicator/i686/BerkeleyDB/include/
--with-berkeley-db-libs=/disks/eradicator/i686/BerkeleyDB/lib/

I have BerkeleyDB 3.2.9, and when I compile, I get this output:

c++ -DMYSQL_SERVER                     
-DDEFAULT_MYSQL_HOME="\"/usr/local\""                  
-DDATADIR="\"/usr/local/var\""                 
-DSHAREDIR="\"/usr/local/share/mysql\""                  
-DHAVE_CONFIG_H -I/disks/eradicator/i686/BerkeleyDB/include
-I./../include                      -I./../regex                     
-I. -I../include -I.. -I.    -O3 -DDBUG_OFF   -fno-implicit-templates -c
ha_berkeley.cc
ha_berkeley.cc:105: type specifier omitted for parameter
ha_berkeley.cc:105: parse error before `)'
ha_berkeley.cc: In function `bool berkeley_init()':
ha_berkeley.cc:143: no matching function for call to
`__db_env::set_noticecall (DB_ENV *&, void (&)(...))'
ha_berkeley.cc: At top level:
ha_berkeley.cc:292: type specifier omitted for parameter
ha_berkeley.cc:292: parse error before `)'
ha_berkeley.cc: In function `void berkeley_noticecall(...)':
ha_berkeley.cc:294: `notice' undeclared (first use this function)
ha_berkeley.cc:294: (Each undeclared identifier is reported only once
ha_berkeley.cc:294: for each function it appears in.)
ha_berkeley.cc:296: `DB_NOTICE_LOGFILE_CHANGED' undeclared (first use
this function)
ha_berkeley.cc:297: warning: unreachable code at beginning of switch
statement

---

Has anyone had similar problems or know a way around other than just not
using BerkeleyDB?

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to