Bug #65834 Documentation for source configuration should list COMPLIATION_COMMENT
Submitted: 6 Jul 2012 5:26 Modified: 5 Feb 2014 1:42
Reporter: Kyle Oppenheim Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5 OS:Any
Assigned to: CPU Architecture:Any

[6 Jul 2012 5:26] Kyle Oppenheim
Description:
The MySQL documentation describing "MySQL Source-Configuration Options" (http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html) references WITH_COMMENT which is not valid.  The correct option appears to be COMPILATION_COMMENT.

Example output:

CMake Warning:
  Manually-specified variables were not used by the project:

    WITH_COMMENT

How to repeat:
.
[6 Jul 2012 5:41] Valeriy Kravchuk
Thank you for the problem report. You are right:

[openxs@chief mysql-5.5-work]$ cmake . -DWITH_COMMENT='comment'
-- MySQL 5.5.27
-- Packaging as: mysql-5.5.27-Linux-x86_64
-- C warning options: -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -Wdeclaration-after-statement
-- C++ warning options: -Wall -Wextra -Wunused -Wwrite-strings -Wno-strict-aliasing -Werror -Wno-unused-parameter -Woverloaded-virtual
gcc:  --pipe: No such file or directory
-- Configuring done
-- Generating done
CMake Warning: The variable, 'WITH_COMMENT', specified manually, was not used during the generation.
-- Build files have been written to: /home/openxs/bzr/mysql-5.5-work

Manual should be fixed.
[9 Jul 2012 13:36] Paul DuBois
I have updated the manual to say COMPILATION_COMMENT.

However cmake/configure.pl in source trees has a couple of instances of -DWITH_COMMENT and should also be fixed. Please recategorize this bug appropriately so the build team will see it.
[5 Feb 2014 1:42] Paul DuBois
Noted in 5.7.4 changelog.

cmake/configure.pl listed instances of WITH_COMMENT rather than the
correct option COMPILATION_COMMENT.