Build HPCCSystem Platform with CMake 2.8.12.x
CMake 2.8.12.0-2 introduced a bug for install path with '@'.
Previous CMake versions do not have this issue.
We already opened a bug report for CMake: http://www.cmake.org/Bug/view.php?id=14782#c35227. It is accepted and assigned and should be in future CMake release or service pack.
If you have CMake 2.8.12.x and want to compile HPCC Platform before CMake's official fix here is a work-around:
1)
Previous CMake versions do not have this issue.
We already opened a bug report for CMake: http://www.cmake.org/Bug/view.php?id=14782#c35227. It is accepted and assigned and should be in future CMake release or service pack.
If you have CMake 2.8.12.x and want to compile HPCC Platform before CMake's official fix here is a work-around:
1)
- Open <CMake Home>/Modules/CPackRPM.cmake
- comment out around lines 881:
set(CPACK_RPM_INSTALL_FILES_LIST "${CPACK_RPM_INSTALL_FILES}")
set(PROTECTED_AT "@")
string(REPLACE "@" "\@PROTECTED_AT\@" CPACK_RPM_INSTALL_FILES "${CPACK_RPM_INSTALL_FILES_LIST}")
set(CPACK_RPM_INSTALL_FILES_LIST "")
- comment out around lines 992
unset(PROTECTED_AT)
- ming
- Posts: 32
- Joined: Wed Dec 18, 2013 12:38 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest