Re: problem with berkeley DB v3.2.9 and mysql v3.2.33 under Solaris 8

2001-03-02 Thread Ashley M. Kirchner

Craig Ian Dewick wrote:

> The build environment of the server machine is a Sun Sparc 20 running
> Solaris 8 (aka SunOS 5.8) using gcc-2.95.2 as the compiler. The mysql
> source version I'm trying to build is v3.23.33, and it's using
> Berkeley DB v3.2.9.

Download BDB v3.2.9a from www.mysql.com

AMK4

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |
  ~
  Ashley M. Kirchner    .   303.442.6410 x130
  SysAdmin / Websmith   . 800.441.3873 x130
  Photo Craft Laboratories, Inc. .eFax 248.671.0909
  http://www.pcraft.com  . 3550 Arapahoe Ave #6
  .. .  .  . .   Boulder, CO 80303, USA

-
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




problem with berkeley DB v3.2.9 and mysql v3.2.33 under Solaris 8

2001-03-02 Thread Craig Ian Dewick


Hello everyone,

I've figured out what the problem was with getting the configure script to
work (I needed to set the LDFLAGS environment variable to pass a -R
runpath to the compiler for some of the configure tests to build
properly), but now I have a different issue which has cropped up when
trying to build mysql from source on my server machine...

I have got the build to progress significantly, but it's barfed with some
errors when compiling 'ha_berkeley.cc':


c++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local\""  -DDATADIR="\"/usr/local/var\""  
 -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H
-I'../'../db-3.2.9/build_unix -I./../include
-I./../regex-I. -I../include -I.. -I.-O3
-DDBUG_OFF   -fno-implicit-templates -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.33/include -DHAVE_RWLOCK_T -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
*** Error code 1
make: Fatal error: Command failed for target `ha_berkeley.o'
Current working directory /var/azwan/mysql-3.23.33/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /var/azwan/mysql-3.23.33/sql
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /var/azwan/mysql-3.23.33
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'


This appears to be a serious problem, but at first glance I'm not sure
what it's actually being caused by.

The build environment of the server machine is a Sun Sparc 20 running
Solaris 8 (aka SunOS 5.8) using gcc-2.95.2 as the compiler. The mysql
source version I'm trying to build is v3.23.33, and it's using Berkeley DB
v3.2.9.

Any advice would be greatly appreciated. I'm planning to use mysql
together with php to offer extra services to people using my server for
web sites, etc.

Regards,

Craig.

-- 
  Craig Ian Dewick ([EMAIL PROTECTED]). http://lios.apana.org.au/~craig
  Operator of Jedi (APANA Sydney member-access site) in Waterfall, Australia.
 Always striving for a secure long-term future in an insecure short-term world
   Have you exported a crypto system today? Do your bit to undermine the NSA.


-
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