[
https://issues.apache.org/jira/browse/GEODE-5989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Godwin resolved GEODE-5989.
--------------------------------
Resolution: Not A Problem
Assignee: Ivan Godwin
Hi Mark,
Please use the -DCMAKE_INSTALL_PREFIX option when configuring the project. It
should be set to a location that your user has write access. Read a little more
on this in the Installing section of BUILDING.md.
> Cannot install from origin/develop build
> ----------------------------------------
>
> Key: GEODE-5989
> URL: https://issues.apache.org/jira/browse/GEODE-5989
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Mark Hanson
> Assignee: Ivan Godwin
> Priority: Major
>
> sudo cmake --build . --target install
> === BUILD AGGREGATE TARGET install OF PROJECT nativeclient WITH CONFIGURATION
> Debug ===
>
> Check dependencies
>
> PhaseScriptExecution CMake\ PostBuild\ Rules
> build/nativeclient.build/Debug/install.build/Script-DF74662BD70B4EC0AC0F7138.sh
> cd /Users/mhanson/workspace/geode-native
> /bin/sh -c
> /Users/mhanson/workspace/geode-native/build/nativeclient.build/Debug/install.build/Script-DF74662BD70B4EC0AC0F7138.sh
> /usr/local/Cellar/cmake/3.10.2/bin/cmake -DBUILD_TYPE=Debug -P
> cmake_install.cmake
> -- Install configuration: "Debug"
> -- Up-to-date: /usr/local/xsds
> -- Up-to-date: /usr/local/xsds/cpp-cache-1.0.xsd
> -- Up-to-date: /usr/local/defaultSystem
> -- Up-to-date: /usr/local/defaultSystem/geode.properties
> -- Up-to-date: /usr/local/.
> CMake Error at cmake_install.cmake:44 (file):
> file INSTALL cannot set permissions on "/usr/local/."
>
>
> make: *** [install_buildpart_0] Error 1
> Command /bin/sh failed with exit code 2
>
> ** BUILD FAILED **
>
>
> The following build commands failed:
> PhaseScriptExecution CMake\ PostBuild\ Rules
> build/nativeclient.build/Debug/install.build/Script-DF74662BD70B4EC0AC0F7138.sh
> (1 failure)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)