Hi Niranjan,

The problem is solved: The build.sh script needs to be started with sudo
otherwise the make install step will fail.

BTW: There is no real need to provide build.sh with options. It will fall back
to the defaults set inside that script. Most notably:

  INSTALL_PREFIX_DEFAULT="/opt/darktable"
  BUILD_TYPE_DEFAULT="RelWithDebInfo"

Have a look at ./build.sh --help

Jacques.

Op Wed, 9 Oct 2019 08:35:10 -0700
Niranjan Rao Schreef:

> 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.

-- 

The dead stay dead and the living only wait to join them.
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to