Hi. (the error is on last line)
For my debugging needs, i need to install some set of libraries into custom prefix: $ export PREFIX /opt/darktable Here is how i run cmake: $ cmake -DCMAKE_INCLUDE_PATH:PATH=$PREFIX/include -DCMAKE_LIBRARY_PATH:PATH=$PREFIX/lib -DCMAKE_PREFIX_PATH:PATH=$PREFIX -DCMAKE_INSTALL_PREFIX:PATH=$PREFIX ../ && make -j9 && make install Your branch is up-to-date with 'origin/master'. Current branch master is up to date. Everything up-to-date Your branch is up-to-date with 'origin/master'. -- The C compiler identification is GNU 5.2.1 -- The CXX compiler identification is GNU 5.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for include file regex.h -- Looking for include file regex.h - found -- Looking for include file endian.h -- Looking for include file endian.h - found -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") -- checking for one of the modules 'glib-2.0' -- ------------------------------------------------------------------------------------- -- Building Lensfun 0.3.2.0 -- ------------------------------------------------------------------------------------- -- Build as dynamic/shared library -- Build type: Debug -- Build doc: OFF -- Build test suite: OFF -- Build lenstool: OFF -- Build with support for SSE: ON -- Build with support for SSE2: ON -- Install helper scripts: ON -- Install prefix: /opt/darktable -- Using: -- GLIB2 include dir: /opt/darktable/include/glib-2.0;/opt/darktable/lib/glib-2.0/include -- GLIB2 library: glib-2.0 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INCLUDE_PATH CMAKE_LIBRARY_PATH -- Build files have been written to: /home/lebedevri/src/lensfun-code/build ... running build running build_py creating build creating build/lib creating build/lib/lensfun copying /home/lebedevri/src/lensfun-code/build/apps/lensfun/__init__.py -> build/lib/lensfun ... Install the project... -- Install configuration: "Debug" -- Installing: /opt/darktable/include/lensfun/lensfun.h ... running install running build running build_py creating build creating build/lib creating build/lib/lensfun copying /home/lebedevri/src/lensfun-code/build/apps/lensfun/__init__.py -> build/lib/lensfun running install_lib creating /usr/local/lib/python3.4/dist-packages/lensfun error: could not create '/usr/local/lib/python3.4/dist-packages/lensfun': Permission denied <<<<<<<<<<<<<< end paste Exactly same cmake call seems to have worked for the rest of the projects using cmake, so this must be showing that there is some kind of issue in lensfun cmake files... Roman. ------------------------------------------------------------------------------ _______________________________________________ Lensfun-users mailing list Lensfun-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lensfun-users