1 |
Hello gentooers! |
2 |
|
3 |
Maybe some of you can help me with this one. I'm trying to create an ebuild to |
4 |
test some of our university software on my laptop. It is using cmake as a |
5 |
build tool. CMakeLists.txt states the following (among others :) |
6 |
|
7 |
SET(PREFIX ${CMAKE_INSTALL_PREFIX}) |
8 |
SET(INCLUDEDIR_B "${PREFIX}/include") |
9 |
|
10 |
INSTALL(CODE "FILE(MAKE_DIRECTORY ${INCLUDEDIR_B}/iwPlugins)") |
11 |
|
12 |
Everything is compiling fine, but the install procedure gets interrupted with a |
13 |
sandbox violation: |
14 |
|
15 |
ACCESS DENIED mkdir: /usr/include/iwPlugins |
16 |
CMake Error at cmake_install.cmake:92 (FILE): |
17 |
file problem creating directory: /usr/include/iwPlugins |
18 |
|
19 |
|
20 |
It seems for me that the variable INCLUDEDIR_B is not expanded to the sandbox |
21 |
path but /usr/include within the CODE statement. Other INSTALL instructions |
22 |
like FILES and TARGETS work fine. Is it advisable to have another method of |
23 |
creating an empty directory? |
24 |
|
25 |
Thanks in advance |
26 |
Patrick |