Project

General

Profile

Bug #11926

lauch darktable 2.4.0 after make install impossible

Added by christophe ROUSSEAU 3 months ago. Updated 3 months ago.

Status:
Incomplete
Priority:
Low
Assignee:
-
Category:
Buildsystem
Start date:
01/12/2018
Due date:
% Done:

20%

Affected Version:
2.4.0
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi,

I want make the new version on my MAC OS High Sierra, whith build.txt instruction.

after compilation,I launch dartable and obtain this sentence.

~/src/darktable/build ] /usr/local/bin/darktable

(process:37806): GLib-GObject-CRITICAL **: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(darktable:37806): GLib-GObject-WARNING **: invalid cast from 'GtkMenuBar' to 'GtkWindow'

(darktable:37806): Gtk-CRITICAL **: gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
dt_gui_gtk_init: error parsing /usr/localshare/darktable/darktable.css: <broken file>:1:0Failed to import: Erreur lors de l’ouverture du fichier /usr/localshare/darktable/darktable.css : No such file or directory

The problem is when launch draktable not found darktable.css in good folder.

Have you one idea when correct this one error.

Thks

result.config.txt Magnifier (13.5 KB) christophe ROUSSEAU, 01/12/2018 05:43 PM

result.instal.txt Magnifier (31.4 KB) christophe ROUSSEAU, 01/12/2018 05:43 PM

result.make.txt Magnifier (55.4 KB) christophe ROUSSEAU, 01/12/2018 05:43 PM

History

#1 Updated by Roman Lebedev 3 months ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

c r wrote:

Hi,

I want make the new version on my MAC OS High Sierra, whith build.txt instruction.

after compilation,I launch dartable and obtain this sentence.

dt_gui_gtk_init: error parsing /usr/localshare/darktable/darktable.css: <broken file>:1:0Failed to import: Erreur lors de l’ouverture du fichier /usr/localshare/darktable/darktable.css : No such file or directory

The problem is when launch draktable not found darktable.css in good folder.

Have you one idea when correct this one error.

Thks

So it is looking for "/usr/localshare/darktable/darktable.css"
That does not look like a correct path.
Did you mean to install it into "/usr/local/", but forgot the last slash?

#2 Updated by christophe ROUSSEAU 3 months ago

I Make process indicate in the build.txt

see my result the operation of configure/make/make install.

In the result.instal.txt, the darktable.css is real installed under the /usr/lcoa/share/darktable folder.

#3 Updated by christophe ROUSSEAU 3 months ago

I'm use this process:

[[https://github.com/darktable-org/darktable/blob/master/packaging/macosx/BUILD.txt]]

And make this sequence

cd darktable
     $ mkdir build
     $ cd build
     $ CC=gcc-mp-6 cmake .. -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DBINARY_PACKAGE_BUILD=ON
     $ make
     $ sudo make install
    After this darktable will be installed in /usr/local directory and can be started by typing the following command in terminal:
     $ GSETTINGS_SCHEMA_DIR=/opt/local/share/glib-2.0/schemas/ XDG_DATA_DIRS=/opt/local/share darktable

I'm make other configuration

CC=gcc-mp-6 cmake .. -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DBINARY_PACKAGE_BUILD=ON -DCMAKE_INSTALL_PREFIX=/opt/local/darktable

All files in /opt/local/darktable but when I launch it, I'm obtain ervery response with this error for locate the darktable.css.

I think this problem with obtain the default path or the user path ...

Also available in: Atom PDF