>Description:
        Compile MySql with BDB installed as a system package with no build
 directory. MySql configure and compile insist on building the included
 BDB which is not wanted as the system BDB package contains a more
 recent version of Berkeley DB. Adding BDB include and library
 directories and setting "with-bdb" = "yes" (as there is no build
 directory) works to get configure to accept installed include and
 library files.


>How-To-Repeat:
        Recompile MySql.
>Fix:
        Good question.

>Submitter-Id:  <submitter ID>
>Originator:    J.D.
>Organization:
 
>MySQL support: none
>Synopsis:      Can't compile without included BDB
>Severity:      serious
>Priority:      medium
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-4.0.3-beta (Official MySQL source)

>Environment:
        
System: FreeBSD ws180163.56kdialup.siu.edu 4.6-RELEASE FreeBSD 4.6-RELEASE #3: Sat Jul 
20 04:01:32 CDT 2002     [EMAIL PROTECTED]:/usr/src/sys/compile/XSYSTEM  i386


Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
Compilation info: CC='gcc'  CFLAGS='-O3 -fno-omit-frame-pointer'  CXX='gcc'  
CXXFLAGS='-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti'  
LDFLAGS=''
LIBC: 
-r--r--r--  1 root  wheel  1222232 Jun 11 04:18 /usr/lib/libc.a
lrwxrwxrwx  1 root  wheel  9 Jul  2 03:07 /usr/lib/libc.so -> libc.so.4
-r--r--r--  1 root  wheel  579412 Jun 11 04:18 /usr/lib/libc.so.4
Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=Official 
MySQL binary' --with-extra-charsets=complex --with-server-suffix= 
--enable-thread-safe-client --enable-local-infile --enable-assembler 
--with-named-z-libs=not-used --disable-shared 'CFLAGS=-O3 -fno-omit-frame-pointer' 
CXX=gcc CC=gcc 'CXXFLAGS=-O3 -fno-omit-frame-pointer -felide-constructors 
-fno-exceptions -fno-rtti'


---------------------------------------------------------------------
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