Wed Jun 29, 2022 12:29 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



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: 32
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