Bug #29903 The CMake build method does not produce the embedded library.
Submitted: 19 Jul 2007 15:14 Modified: 7 Jul 2010 18:47
Reporter: Iggy Galarza Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S1 (Critical)
Version:5.1 OS:Windows
Assigned to: Iggy Galarza CPU Architecture:Any

[19 Jul 2007 15:14] Iggy Galarza
Description:
The CMake build method does not produce the embedded library or it's example binaries.

How to repeat:
Build Windows solution produced by the CMake build method.

Suggested fix:
Make sure that:
1. CMake build method produces libmysqld.dll and the example binaries.
2. mysql-test-run.pl is capable of launching and testing the embedded library.
[19 Jul 2007 15:17] Iggy Galarza
http://lists.mysql.com/commits/27160
http://lists.mysql.com/commits/27682
[27 Jul 2007 15:51] 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/31715

ChangeSet@1.2577, 2007-07-27 11:50:35-04:00, iggy@alf.(none) +9 -0
  Bug#29903 The CMake build method does not produce the embedded library.
  - Changes to correct and test Windows embedded build.
[3 Aug 2007 18:43] 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/32086

ChangeSet@1.2583, 2007-08-03 14:43:12-04:00, iggy@amd64.(none) +11 -0
  Bug#29903 The CMake build method does not produce the embedded library.
  - Changes to correct and test Windows embedded build.
[3 Aug 2007 19:19] Iggy Galarza
Pushed to 5.1-maint.
[3 Aug 2007 22:56] 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/32094

ChangeSet@1.2584, 2007-08-03 18:56:24-04:00, iggy@amd64.(none) +1 -0
  Bug#29903 The CMake build method does not produce the embedded library.
  - Additional changes to correct link failure in Do-linkall script.
[4 Aug 2007 1: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/32095

ChangeSet@1.2585, 2007-08-03 21:08:48-04:00, iggy@amd64.(none) +2 -0
  Bug#29903 The CMake build method does not produce the embedded library.
  - GCov fix.
[6 Aug 2007 18:13] Bugs System
Pushed into 5.1.21-beta
[6 Aug 2007 19:31] Paul DuBois
Noted in 5.1.21 changelog.

On Windows, the CMake build process did not produce the embedded
server library or related binaries.
[6 Aug 2007 21:16] 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/32165

ChangeSet@1.2558, 2007-08-06 23:16:01+02:00, kent@mysql.com +22 -0
  CMakeLists.txt (many), win/README, mysql_manifest.cmake, configure.js:
    Additional changes for bug#29903
    - Changed to do embedded build part as normal build, when
      WITH_EMBEDDED_SERVER is set.
    - Allow both normal and debug build with embedded.
    - Build static embedded library by pointing out all source and compile
      it all, i.e. not building libraries from libraries, not portable.
    - Let embedded use generated files from the "sql" directory, added
      dependencies to make sure built before embedded.
    - Mark library "dbug" in TARGET_LINK_LIBRARIES() with "debug", so only
      linked in when debug target is used.
    - Removed change of target name with "mysqld${MYSQLD_EXE_SUFFIX}", as
      others can't depend on it, not defined at configure time. Instead
      set the output file name.
    - Created work around for bug in CMake 2.4.6 and output names, to
      set the "mysqld<suffix>.pdb" name to the same base name.
    - Set the correct manifest "name" (patch by iggy)
[24 Aug 2007 21:58] Bugs System
Pushed into 5.1.23-beta
[5 May 2010 15:08] Bugs System
Pushed into 5.1.47 (revid:joro@sun.com-20100505145753-ivlt4hclbrjy8eye) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[6 May 2010 3:01] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug. Re-closing.
[28 May 2010 6:09] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100524190136-egaq7e8zgkwb9aqi) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (pib:16)
[28 May 2010 6:37] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100524190941-nuudpx60if25wsvx) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[28 May 2010 7:05] Bugs System
Pushed into 5.5.5-m3 (revid:alik@sun.com-20100524185725-c8k5q7v60i5nix3t) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[28 May 2010 19:17] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug.
Re-closing.
[17 Jun 2010 12:14] Bugs System
Pushed into 5.1.47-ndb-7.0.16 (revid:martin.skold@mysql.com-20100617114014-bva0dy24yyd67697) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 13:01] Bugs System
Pushed into 5.1.47-ndb-6.2.19 (revid:martin.skold@mysql.com-20100617115448-idrbic6gbki37h1c) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 13:42] Bugs System
Pushed into 5.1.47-ndb-6.3.35 (revid:martin.skold@mysql.com-20100617114611-61aqbb52j752y116) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)