[cmake-developers] [CMake 0015377]: CMake cannot test compiler features in Turkish locale
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jan 27 18:34:02 EST 2015
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15377
======================================================================
Reported By: Ongun Kanat
Assigned To:
======================================================================
Project: CMake
Issue ID: 15377
Category: CMake
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 2015-01-27 18:34 EST
Last Modified: 2015-01-27 18:34 EST
======================================================================
Summary: CMake cannot test compiler features in Turkish
locale
Description:
When using Turkish UTF-8 locale(tr_TR.UTF-8) CMake exits with error below
CMake Error at /usr/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:78
(CMAKE_DETERMINE_COMPILE_FEATURES):
Unknown CMake command "CMAKE_DETERMINE_COMPILE_FEATURES".
Exporting LANG and LC_ALL variables as en_US.UTF-8 fixes problem temporarily.
Steps to Reproduce:
- Download any source with CMake build support
- Run
$ export LANG=tr_TR.UTF-8
$ export LC_ALL=tr_TR.UTF-8
$ cmake
- It will exit.
Additional Information:
I suspect that there may be a Turkish 'I' problem in source code. If it does a
uppercase/lowercase conversion there is a risk that the result of conversion
wrong/non-English.
For detailed info check:
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
I'm also adding trace output of cmake.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2015-01-27 18:34 Ongun Kanat New Issue
2015-01-27 18:34 Ongun Kanat File Added: cmakeout.txt
======================================================================
More information about the cmake-developers
mailing list