Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMAKE_INSTALL_PREFIX ignored #1171

Closed
LuisAyuso opened this issue Jun 30, 2014 · 2 comments
Closed

CMAKE_INSTALL_PREFIX ignored #1171

LuisAyuso opened this issue Jun 30, 2014 · 2 comments
Milestone

Comments

@LuisAyuso
Copy link

Hi there,
I'm experiencing a problem when installing the software, after compilation, the installation prefix is set to "/usr/local/include/hpx", notifified by the following error:

-- Install configuration: "Release"
-- Installing: /usr/local/include/hpx
CMake Error at cmake_install.cmake:96 (FILE):
  file INSTALL cannot set permissions on "/usr/local/include/hpx"

I rather prefer to have it installed on a custom directoy, My configuration is:

cmake -DBOOST_ROOT=/opt/boost-latest/ \ 
    -DHWLOC_ROOT=/opt/hwloc-latest \ 
    -DCMAKE_INSTALL_PREFIX=/opt/hpx-git \
    -DHPX_MALLOC=system  ..
(executed on hpx-root/build )

Linux 3.14.4-100.fc19.x86_64 #1 SMP Tue May 13 15:00:26 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux (fedora 19)

gcc (GCC) 4.6.3
@hkaiser
Copy link
Member

hkaiser commented Jun 30, 2014

Please remove your CMakeCache.txt file and try again.

@hkaiser hkaiser added this to the 0.9.9 milestone Jun 30, 2014
@LuisAyuso
Copy link
Author

Don't really understand, I used the source tree as shipped in tarbal: http://stellar.cct.lsu.edu/files/hpx_0.9.8.tar.gz
tried again, removing the new lines () in the command, It works now.
Thanks and sorry for inconvenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants