Bug #20861 cannot build 5.1.11 on windows (msvc 2003)
Submitted: 5 Jul 2006 7:08 Modified: 6 Sep 2006 17:31
Reporter: Vladimir Kolesnikov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S2 (Serious)
Version:5.1.11 OS:Windows (Windows)
Assigned to: MC Brown CPU Architecture:Any

[5 Jul 2006 7:08] Vladimir Kolesnikov
Description:
outdated build instructions, build errors, absent source file handlerton-win.cpp, ...

How to repeat:
1. download 5.1.11 source package for windows from mysql download page
2. follow build instructions in the supplied document INSTALL-WIN-SOURCE

Suggested fix:
1. update INSTALL-WIN-SOURCE
2. fix build probs
[5 Jul 2006 12:39] MySQL Verification Team
Thank you for the bug report.
[5 Jul 2006 19:49] Stefan Hinz
It's on our todo to fix this. It's annoying that the instructions are outdated, but it's certainly not a showstopper (thus removing that flag).
[6 Jul 2006 6:31] Vladimir Kolesnikov
As I have already mentioned, the problem is *not only in wrong docs*. The docs are incorrect, but they were incorrect as long as I can remember, still I was able to build for example 5.1.9 (previous build). This time the project is unbuildable - some source files like handerton-win.cpp and some ha_*.cpp files are missing (or reported as missing by build system, because of wrong project file). So this is more a build problem - wrong docs is really a minor thing. That's why initially I set category to "compiling" and priority P2.
[6 Jul 2006 8:42] Kristian Nielsen
It sounds like the problem is with building from the special Windows sources.

I believe from 5.1.11, Windows is build from the same sources as Unix, using CMake.

I see that the download page for 5.1.11 lists separate Windows sources. I think that is the real bug here, those sources are no longer used for builds and are broken. I think they should be removed.

If the Windows build using CMake from the Unix/common source fails, that is indeed a bug.
[6 Sep 2006 17:31] MC Brown
The instructions for building MySQL on Windows have been updated in the 5.1 manual to reflect the new sequence. Visual Studio support, and changes to the individual steps.