Sorry to jump in late and this is a big thread that I have not
completely read yet.
Most of open source tools can have install directory mentioned on
command line during build time. It seems to be same case for darktable
and readme.md at github has an example which will (should) not need sudo
permissions.
You need to build with --prefix option or if you are executing cmake,
you need to have that variable (CMAKE_INSTALL_PREFIX) defined. I have
not checked darktable code, many tools programs embed the path at
compile time in the binaries generated. Default paths - meant for
standard distributions can be overridden with make variables or at
configuration time.
In my opinion it should not need sudo permissions. Your example command
seems to be missing -DCMAKE_INSTALL_PREFIX as mentioned in readme.
Regards,
Niranjan
On 10/7/19 2:22 AM, Bruce Williams wrote:
Hi gang,
I'm trying to update to the latest version of 2.7, but I don't
understand what's not working.
After running "cmake --build "/home/darktable/darktable/build"
--target install -- -j16" from the command prompt, I get, at the end
of the log, the following:
[100%] Built target darktable-chart
Install the project...
-- Install configuration: "RELWITHDEBINFO"
-- Installing: /opt/darktable/share/locale/af/LC_MESSAGES/darktable.mo
CMake Error at po/cmake_install.cmake:41 (file):
file INSTALL cannot copy file
"/home/darktable/darktable/build/po/af.mo" to
"/opt/darktable/share/locale/af/LC_MESSAGES/darktable.mo".
Call Stack (most recent call first):
cmake_install.cmake:42 (include)
Makefile:85: recipe for target 'install' failed
make: *** [install] Error 1
Andreas S. suggested that I should get gettext, but when I tried that,
I got the message that it's already installed and at the latest version.
Would anyone be able to offer some assistance please?
And if you could explain what is happening, that would be greatly
appreciated! I'm not going to learn if you just say "do this, then
that, and it'll work". :)
Also, what is the recommended procedure regarding an already-installed
dev version?
Do you leave it where it is?
Do you uninstall it?
Does the update simply overwrite the previous build?
Thanks in advance.
Cheers,
Bruce Williams
____________________________________________________________________________
darktable user mailing list to unsubscribe send a mail to
[email protected]
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]