Problem: see below. For some reason mysql doesn't like db to be outside of the directory. It compiled fine when I moved the db directory in to the mysql source directory and reconfiged so that it saw the berkeley db library. Has anyone else had this problem? Jamie -----Original Message----- From: Jamie Krasnoo [mailto:[EMAIL PROTECTED]] Sent: Friday, February 09, 2001 9:12 AM To: MySQL Subject: Problems compiling MySQL I've run in to a bit of a problem with compiling MySQL. It compiles fine without the patched berkeley db. However when I add it in to the config, either by --with-berkeley-db= or the other two. I get this error. Can someone please tell me what's going on here and let me know how to get past this point. error: Making all in share make[3]: Entering directory `/usr/src/mysql-3.23.32/sql/share' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/mysql-3.23.32/sql/share' make[3]: Entering directory `/usr/src/mysql-3.23.32/sql' c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr\"" -DDATADIR="\"/usr/var\"" -DSHAREDIR="\"/usr/share/mysql\ "" -DHAVE_CONFIG_H -I/usr/include -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF -fno-implicit-templates -c mysqlbinlog.cc In file included from mysqlbinlog.cc:23: ../include/my_sys.h:170: declaration of `int *__errno_location ()' throws different exceptions /usr/include/bits/errno.h:39: than previous declaration `int *__errno_location () throw ()' make[3]: *** [mysqlbinlog.o] Error 1 make[3]: Leaving directory `/usr/src/mysql-3.23.32/sql' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/mysql-3.23.32/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-3.23.32' make: *** [all-recursive-am] Error 2 config used: ./configure --prefix=/usr --with-raid --with-berkeley-db=/usr On a RedHat 7.0 system, patched db already installed. Do I need to include other CFLAGS or CXXFLAGS? Much appreciated, Jamie Krasnoo [EMAIL PROTECTED] -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Jamie Krasnoo (BMaximus) <[EMAIL PROTECTED]> mQGiBDpiu/gRBACJ+U9ti3GHIr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Ny1fI6PMGv1SACDyIRgQYEQIABgUCOmK8CAAKCRCBIDiJsO4oi3RuAJwJ kiuCZBveRLOFL+7iwlv9FhLNtgCZAYi6NAa98h82BLFi2kpVkm4YCFs= =1BAm -----END PGP PUBLIC KEY BLOCK----- --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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