24 messages in com.mysql.lists.bugsProblem with compuling the new tree
FromSent OnAttachments
Melvyn Sopacua28 May 2002 07:29 
Sasha Pachev29 May 2002 14:09 
Melvyn Sopacua19 Aug 2002 02:46 
Michael Widenius19 Aug 2002 12:33 
Melvyn Sopacua19 Aug 2002 16:56 
Fredrick Bartlett19 Aug 2002 18:59 
Sinisa Milivojevic20 Aug 2002 08:47 
Fredrick Bartlett20 Aug 2002 15:33 
Fredrick Bartlett20 Aug 2002 19:59 
Jani Tolonen21 Aug 2002 03:01 
Fredrick Bartlett02 Sep 2002 17:30 
Michael Widenius03 Sep 2002 06:06 
Melvyn Sopacua09 Sep 2002 11:38 
Sinisa Milivojevic09 Sep 2002 11:50 
Melvyn Sopacua09 Sep 2002 12:01 
Colin Faber09 Sep 2002 12:04 
Sinisa Milivojevic10 Sep 2002 04:29 
Michael Widenius10 Sep 2002 11:40 
Peter Zaitsev17 Sep 2002 22:28 
Melvyn Sopacua21 Sep 2002 15:24 
Peter Zaitsev25 Sep 2002 04:26 
Michael Widenius26 Sep 2002 11:50 
Michael Widenius26 Sep 2002 11:53 
Melvyn Sopacua27 Sep 2002 01:32 
Subject:Problem with compuling the new tree
From:Michael Widenius (mon@mysql.com)
Date:09/26/2002 11:50:17 AM
List:com.mysql.lists.bugs

Hi!

"Peter" == Peter Zaitsev <pet@mysql.com> writes:

Peter> On Sunday 22 September 2002 02:25, Melvyn Sopacua wrote:

<cut>

I did a bk pull, but I can't get it to configure correctly because of Berkely DB configure not being there. I added AC_CONFIG_SUBDIRS(bdb/dist innobase) to configure.in but that didn't help.

autoconf 2.52 and automake 1.4-p6.

Peter> Really I should say I have no Idea why it does not work for you. Peter> I just checked the tree on Linux and Build with BDB was successful, Peter> while this sort of bugs should not be platform specific.

Peter> It is possible there is some platform specific issue which we will fix
during Peter> release cycle for 4.0.4

In my environment I always build with the BUILD/compile-pentium-debug-max script, which builds MySQL with InnoDB and BDB. I have hot have any problem with bulding BDB for any 4.0 bk tree.

Note that this script does the following:

((/my/mysql-4.0)) BUILD/compile-pentium-debug-max --print gmake -k clean || true /bin/rm -f */.deps/*.P config.cache innobase/config.cache
bdb/build_unix/config.cache

aclocal && autoheader && aclocal && automake && autoconf (cd bdb/dist && sh s_all) (cd innobase && aclocal && autoheader && aclocal && automake && autoconf) if [ -d gemini ] then (cd gemini && aclocal && autoheader && aclocal && automake && autoconf) fi

CFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused
-mcpu=pentiumpro -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS
-DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1" CXX="gcc"
CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings
-Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy
-Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti
-mcpu=pentiumpro -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS
-DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -O1" CXXLDFLAGS="" ./configure
--prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex
--enable-thread-safe-client --with-debug --with-berkeley-db --with-innodb
--with-embedded-server --with-openssl --enable-local-infile

gmake -j 4

-----------

In other words, we do build configure independently for each sub dir.

Can you try one of the scripts in the BUILD directory and see if this solves this problem for you...

Regards, Monty