Sat Aug 18, 2018 2:36 pm
Login Register Lost Password? Contact Us


Build HPCCSystem Platform with CMake 2.8.12.x

Share ideas, code, best practices and techniques with other community members

Fri Mar 07, 2014 2:41 pm Change Time Zone

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)
    Open <CMake Home>/Modules/CPackRPM.cmake
2)
    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 "")
3)
    comment out around lines 992
    unset(PROTECTED_AT)
ming
 
Posts: 20
Joined: Wed Dec 18, 2013 12:38 pm

Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron