View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011675 | CMake | Modules | public | 2011-01-10 11:56 | 2011-05-02 14:46 | ||||
Reporter | Markus Elfring | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | openSUSE 11.3 | OS | Linux | OS Version | 2.6.37 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | CMake 2.8.3 | |||||||
Summary | 0011675: Variable "CMAKE_CURRENT_LIST_DIR" seems to be empty. ⇒ include command fails | ||||||||
Description | I stumbled on a "CMake Error" which did not let me properly configure an other software project. I have hoped to circumvent this open issue with a software update. | ||||||||
Steps To Reproduce | I have loaded your package "http://www.cmake.org/files/v2.8/cmake-2.8.3.tar.gz". [^] I have enabled desired options with the tool "CMake-GUI 2.8.1". Now I would like to configure it, too. But I was surprised by the message "Error in configuration process, project files may be invalid" in a dialogue box. | ||||||||
Additional Information | The log area displays the following informations: Using system-installed BZIP2 Using system-installed CURL Using system-installed EXPAT Using system-installed LIBARCHIVE Using system-installed ZLIB *****/FindPackageHandleStandardArgs.cmake CMake Error at Modules/FindLibArchive.cmake:54 (include): include could not find load file: /FindPackageHandleStandardArgs.cmake Call Stack (most recent call first): CMakeLists.txt:326 (INCLUDE) CMakeLists.txt:522 (CMAKE_BUILD_UTILITIES) ***** Configuring incomplete, errors occurred! I added two lines (with the star markers) for debug output to the corresponding script. Now I doubt that an empty variable "CMAKE_CURRENT_LIST_DIR" is the expected behaviour. How will this issue be resolved? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeCache.txt.zip [^] (13,221 bytes) 2011-01-10 11:56 | ||||||||
Relationships | |
Relationships |
Notes | |
(0024537) Markus Elfring (reporter) 2011-01-10 12:40 |
The tried configuration and generation works as expected by the graphical user interface from the package "http://www.cmake.org/files/v2.8/cmake-2.8.3-Linux-i386.sh". [^] |
(0024695) Ben Boeckel (developer) 2011-01-14 17:14 |
Hmm. The module is using CMAKE_CURRENT_LIST_DIR but this was introduced after 2.8.1. I don't think that we want to try supporting building cmake with extremely old versions of cmake for all time. I would recommend using the included bootstrap script to build 2.8.x from scratch. |
(0024705) Markus Elfring (reporter) 2011-01-15 03:25 |
I found a bit of background information in an answer by David Cole for the topic "How to find the path to the currently include() or find_package file()". http://permalink.gmane.org/gmane.comp.programming.tools.cmake.user/33678 [^] I am surprised that a currently released executable/script file is needed for the selected configuration options to build it from the corresponding source files. Are any additional version checks needed to resolve the involved software dependencies? http://cmake.org/Wiki/CMake_Useful_Variables [^] |
(0024766) David Cole (manager) 2011-01-17 12:03 |
This issue is resolved already in CMake 2.8.3 -- (that is, if you use CMake 2.8.3 to build it, then it does have a non-empty CMAKE_CURRENT_LIST_DIR, and all is well) It's a sordid story, really, involving the bug fix for 0009414 and its long and still evolving aftermath. The bottom line is we never should have changed the signature of the main function in FindPackageHandleStandardArgs, but we did, and this is one of the negative consequences from it. But it is fixed already if you use the latest release of CMake. |
(0026342) David Cole (manager) 2011-05-02 14:45 |
Closing resolved issues that have not been updated in more than 3 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-10 11:56 | Markus Elfring | New Issue | |
2011-01-10 11:56 | Markus Elfring | File Added: CMakeCache.txt.zip | |
2011-01-10 12:40 | Markus Elfring | Note Added: 0024537 | |
2011-01-14 17:14 | Ben Boeckel | Note Added: 0024695 | |
2011-01-15 03:25 | Markus Elfring | Note Added: 0024705 | |
2011-01-17 11:54 | David Cole | Assigned To | => David Cole |
2011-01-17 11:54 | David Cole | Status | new => assigned |
2011-01-17 12:03 | David Cole | Note Added: 0024766 | |
2011-01-17 12:03 | David Cole | Status | assigned => resolved |
2011-01-17 12:03 | David Cole | Fixed in Version | => CMake 2.8.3 |
2011-01-17 12:03 | David Cole | Resolution | open => fixed |
2011-05-02 14:45 | David Cole | Note Added: 0026342 | |
2011-05-02 14:46 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |