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                     
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to