On Tue, Dec 5, 2017 at 12:28 AM, Jørn Villesen Christensen
<darktable-...@mettle.dk> wrote:
> Hi there,
>
> I have been trying to debug darktable (with gdb) but without any luck.

> My main problem of running darktable from the build directory is that it
> will not load any modules. I have tried to play with --datadir, --moduledir,
> and symlinks, but without any luck. I can get the UI up 'n' running - but no
> modules are loaded.
It's not designed to be runnable without installation.
You may want to
$ sudo mkdir -p /opt/darktable
$ sudo chown youruser:yourgroup -R /opt/darktable

And now when you do  ./build.sh --install  it will end up in there.

(Of course, you can pick any other directory, but then you need to
pass it e.g. via --prefix to build.sh)

> Alternatively I have tried to install darktable in a temporary directory
> next to the build dir, but that fails as well. It launches well, but then
> gdb fails to debug any other files than main.c and I suspect it is due to
> the changed file structure.
>
> So... is it possible for any of you to sketch up how you debug darktable?
>
> BR
> Jørn Christensen
Roman.

> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
>
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to