Bug #27693 Windows compilation from bk fails using WITH_BERKELEY_STORAGE_ENGINE

Submitted: 6 Apr 2007 23:40 Modified: 18 Dec 2009 11:43
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0 OS:Windows
Assigned to: Jonathan Perkin CPU Architecture:Any

[6 Apr 2007 23:40] Todd Farmer
Description:
When compiling from 5.0 bk tree (both internal and external), CMake fails when configured WITH_BERKELEY_STORAGE_ENGINE:

C:\Documents and Settings\Todd\MySQL Source\50-ext>win\configure.js WITH_BERKELE
Y_STORAGE_ENGINE

C:\Documents and Settings\Todd\MySQL Source\50-ext>win\build-vs8.bat
The system cannot find the file specified.
-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: cl
-- Check for working CXX compiler: cl -- works
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/btree/btree_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/db/crdel_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/db/db_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/dbreg/dbreg_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/fileops/fileops_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/hash/hash_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/qam/qam_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: Cannot find source file "C:/Documents and Settings/Todd/MySQL Source/50-ext/bdb/txn/txn_auto.c" for target "bdb"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
-- Configuring done
        1 file(s) copied.

How to repeat:
* Get latest 5.0 bk (internal or external)
* Configure with BDB
* Run CMake.

Suggested fix:
Either remove BDB support from configure.js or correct configure.js/CMake files to correctly build with it.
[22 Aug 2007 14:08] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/32877

ChangeSet@1.2490, 2007-08-22 16:08:40+02:00, jperkin@production.mysql.com +1 -0
  Remove deleted files from bdb CMake configuration.  Fixes bug#27693.
[22 Sep 2007 14:30] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/34494

ChangeSet@1.2530, 2007-09-22 16:29:15+02:00, jonathan@bagpuss.adsl.perkin.org.uk +1 -0
  Revert previous attempt to fix bug#27693, the files removed from the
  cmake list are auto-generated and thus still required.  Correct fix
  not yet known.
[26 Sep 2007 13:08] Bugs System
Pushed into 5.0.50
[26 Sep 2007 13:21] Bugs System
Pushed into 5.1.23-beta
[28 Nov 2008 19:30] Trudy Pelzer
Comments on bug report indicate this is fixed; bug
status says otherwise. Please provide correct status.
[16 Dec 2008 12:54] Joerg Bruehe
Sadly, status "open" is correct:

As you can read from the comments on Aug 22 and Sep 22, an attempted fix proved wrong and had to be reverted.
[30 Sep 2009 14:54] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/85222

2819 Jonathan Perkin	2009-09-30
      bug#27693: Windows compilation from bk fails using WITH_BERKELEY_STORAGE_ENGINE
      
      Make configure.js bail with an error if trying to build bdb from a bzr
      tree.
[30 Sep 2009 15:02] Jonathan Perkin
Er, sorry for the spam, reload during power outage appears to have multiplied the comments (which I only pasted because the commits mail didn't get through quickly so assumed it filtered bugs which were marked private - this actually appears to be a bug...)
[30 Sep 2009 15:45] Joerg Bruehe
If this works in your tests, I don't see any reason against it.
[2 Oct 2009 13:06] Jonathan Perkin
Pushed to mysql-5.0-bugteam => mysql-5.1-bugteam => mysql-pe
[6 Oct 2009 8:57] Bugs System
Pushed into 5.0.87 (revid:joro@sun.com-20091006073202-rj21ggvo2gw032ks) (version source revid:jperkin@sun.com-20091002125438-m3wab0qbzqzbeop5) (merge vers: 5.0.87) (pib:11)
[6 Oct 2009 9:01] Bugs System
Pushed into 5.1.40 (revid:joro@sun.com-20091006073316-lea2cpijh9r6on7c) (version source revid:joro@sun.com-20091004091724-q9mpr7b3azfda9fm) (merge vers: 5.1.40) (pib:11)
[13 Oct 2009 9:36] MC Brown
A note has been added to the 5.0.87 and 5.1.40 changelogs: 

When building MySQL on Windows from source, the WITH_BERKELEY_STORAGE_ENGINE option would fail to configure BDB support correctly.
[22 Oct 2009 6:37] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091022063126-l0qzirh9xyhp0bpc) (version source revid:alik@sun.com-20091019135554-s1pvptt6i750lfhv) (merge vers: 6.0.14-alpha) (pib:13)
[22 Oct 2009 7:09] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091022060553-znkmxm0g0gm6ckvw) (version source revid:alik@sun.com-20091013094238-g67x6tgdm9a7uik0) (merge vers: 5.5.0-beta) (pib:13)
[30 Oct 2009 11:18] MC Brown
A note has been added to the 5.5.0 and 6.0.14 changelogs: 

When building MySQL on Windows from source, the WITH_BERKELEY_STORAGE_ENGINE option would
fail to configure BDB support correctly
[18 Dec 2009 10:40] Bugs System
Pushed into 5.1.41-ndb-7.1.0 (revid:jonas@mysql.com-20091218102229-64tk47xonu3dv6r6) (version source revid:jonas@mysql.com-20091218095730-26gwjidfsdw45dto) (merge vers: 5.1.41-ndb-7.1.0) (pib:15)
[18 Dec 2009 10:47] MC Brown
Added entry to 5.1.40-ndb-7.1.0
[18 Dec 2009 10:47] MC Brown
Added entry to 5.1.40-ndb-7.1.0
[18 Dec 2009 10:48] MC Brown
Correction: added to 5.1.41-ndb-7.1.0
[18 Dec 2009 10:55] Bugs System
Pushed into 5.1.41-ndb-6.2.19 (revid:jonas@mysql.com-20091218100224-vtzr0fahhsuhjsmt) (version source revid:jonas@mysql.com-20091217101452-qwzyaig50w74xmye) (merge vers: 5.1.41-ndb-6.2.19) (pib:15)
[18 Dec 2009 11:00] MC Brown
Added entry to 5.1.41-ndb-6.2.19
[18 Dec 2009 11:10] Bugs System
Pushed into 5.1.41-ndb-6.3.31 (revid:jonas@mysql.com-20091218100616-75d9tek96o6ob6k0) (version source revid:jonas@mysql.com-20091217154335-290no45qdins5bwo) (merge vers: 5.1.41-ndb-6.3.31) (pib:15)
[18 Dec 2009 11:24] Bugs System
Pushed into 5.1.41-ndb-7.0.11 (revid:jonas@mysql.com-20091218101303-ga32mrnr15jsa606) (version source revid:jonas@mysql.com-20091218064304-ezreonykd9f4kelk) (merge vers: 5.1.41-ndb-7.0.11) (pib:15)
[18 Dec 2009 11:43] MC Brown
Already documented in 5.1.41

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.