View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011647 | CMake | CMake | public | 2010-12-30 17:42 | 2011-01-03 10:16 | ||||
Reporter | Far McKamey | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | x86 VM | OS | Ubuntu | OS Version | 9.10 | ||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0011647: Mangled CMAKE_MODULE_PATH value (via CURL project) | ||||||||
Description | cmake version 2.6-patch 4 Cross compiling CURL using CMAKE. This appears to be a CMAKE issue though. Error at CMakeLists.tx:189 Error Text: CMake Error at CMakeLists.txt:189 (include): include could not find load file: /home/far/dev_puma/git_managed/curl/CMake;/CheckTypeSize.cmake At run time include value evaluates to be "/home/far/dev_puma/git_managed/curl/CMake;/CheckTypeSize.cmake" which is wrong, I'm assuming it should be "/home/far/dev_puma/git_managed/curl/CMake/CheckTypeSize.cmake" text of CMakeLists.txt:188 if(CMAKE_CROSSCOMPILING) include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake") CMAKE_MODULE_PATH is generated at CMakeLists.txt:21 CMakeLists.txt:21 set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") :. on my local build, if I change CMakeLists.txt:21 to be set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake") it compiles. | ||||||||
Additional Information | dunnkown if this is your or cURL, but it seems to be part of the CMAKE system. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0024357) Brad King (manager) 2011-01-03 10:16 |
This is a bug in the upstream Curl CMake code. The code include ("${CMAKE_MODULE_PATH}/CheckTypeSize.cmake") evaluates the "CMAKE_MODULE_PATH" variable and substitutes its content literally into the string. If the value has a semicolon then that will be put in as well. No such file exists of course. It looks like this bug existed in the originally contributed CMake support added by upstream Curl commit 4c5307b4. Likely no one has tried cross-compiling it since then. If you need further help, please post to our mailing list: http://www.cmake.org/mailman/listinfo/cmake [^] Thanks. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-12-30 17:42 | Far McKamey | New Issue | |
2011-01-03 10:16 | Brad King | Note Added: 0024357 | |
2011-01-03 10:16 | Brad King | Status | new => closed |
2011-01-03 10:16 | Brad King | Assigned To | => Brad King |
2011-01-03 10:16 | Brad King | Resolution | open => no change required |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |