View previous topic :: View next topic |
Author |
Message |
dabicho n00b
Joined: 28 Mar 2004 Posts: 28 Location: México
|
Posted: Tue Dec 01, 2015 10:38 pm Post subject: Installing darktable 2.0-rc2 with geo use flag |
|
|
Hello.
I am trying to compile darktable 2.0 rc2, but I am unable to add geo support
The flag is there, but there was no pkg-config file for it (package is osm-gps-map) as darktable was looking for osm-gps-map-1.0, so I just copied the osm-gps-map.pc to osm-gps-map-1.0.pc.
But then I am getting compilation errors:
Code: |
....
Building C object src/views/CMakeFiles/map.dir/map.c.o
cd /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views && /usr/bin/x86_64-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_HTTP_SERVER -DHAVE_LENSFUN -DHAVE_MAP -DHAVE_OPENJPEG -DHAVE_OPENJPEG_ICC -DHAVE_PRINT -DUSE_GETTEXT -D_XOPEN_SOURCE=700 -D__GDK_KEYSYMS_COMPAT_H__ -Ddarkroom_EXPORTS -DNDEBUG -march=core-avx2 -O2 -pipe -msse3 -std=c99 -fopenmp -Wall -fno-strict-aliasing -pthread -D_RELEASE -fPIC -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src" -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/external" -I/usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/libxml2 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-1.5 -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src -isystem /usr/include/osmgpsmap -isystem /usr/include/gtk-2.0 -isystem /usr/lib64/gtk-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/cups -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views/.. -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views" -Werror=implicit-function-declaration -o CMakeFiles/darkroom.dir/darkroom.c.o -c "/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/darkroom.c"
cd /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views && /usr/bin/x86_64-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_HTTP_SERVER -DHAVE_LENSFUN -DHAVE_MAP -DHAVE_OPENJPEG -DHAVE_OPENJPEG_ICC -DHAVE_PRINT -DUSE_GETTEXT -D_XOPEN_SOURCE=700 -D__GDK_KEYSYMS_COMPAT_H__ -Dtethering_EXPORTS -DNDEBUG -march=core-avx2 -O2 -pipe -msse3 -std=c99 -fopenmp -Wall -fno-strict-aliasing -pthread -D_RELEASE -fPIC -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src" -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/external" -I/usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/libxml2 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-1.5 -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src -isystem /usr/include/osmgpsmap -isystem /usr/include/gtk-2.0 -isystem /usr/lib64/gtk-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/cups -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views/.. -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views" -Werror=implicit-function-declaration -o CMakeFiles/tethering.dir/tethering.c.o -c "/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/tethering.c"
cd /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views && /usr/bin/x86_64-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_HTTP_SERVER -DHAVE_LENSFUN -DHAVE_MAP -DHAVE_OPENJPEG -DHAVE_OPENJPEG_ICC -DHAVE_PRINT -DUSE_GETTEXT -D_XOPEN_SOURCE=700 -D__GDK_KEYSYMS_COMPAT_H__ -Dmap_EXPORTS -DNDEBUG -march=core-avx2 -O2 -pipe -msse3 -std=c99 -fopenmp -Wall -fno-strict-aliasing -pthread -D_RELEASE -fPIC -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src" -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/external" -I/usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/libxml2 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-1.5 -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src -isystem /usr/include/osmgpsmap -isystem /usr/include/gtk-2.0 -isystem /usr/lib64/gtk-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/cups -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views/.. -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views" -Werror=implicit-function-declaration -o CMakeFiles/map.dir/map.c.o -c "/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/map.c"
Building C object src/views/CMakeFiles/lighttable.dir/lighttable.c.o
cd /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views && /usr/bin/x86_64-pc-linux-gnu-gcc -DGDK_DISABLE_DEPRECATED -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32 -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DHAVE_BUILTIN_CPU_SUPPORTS -DHAVE_CONFIG_H -DHAVE_GPHOTO2 -DHAVE_GPHOTO_25_OR_NEWER -DHAVE_HTTP_SERVER -DHAVE_LENSFUN -DHAVE_MAP -DHAVE_OPENJPEG -DHAVE_OPENJPEG_ICC -DHAVE_PRINT -DUSE_GETTEXT -D_XOPEN_SOURCE=700 -D__GDK_KEYSYMS_COMPAT_H__ -Dlighttable_EXPORTS -DNDEBUG -march=core-avx2 -O2 -pipe -msse3 -std=c99 -fopenmp -Wall -fno-strict-aliasing -pthread -D_RELEASE -fPIC -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src" -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/external" -I/usr/include/gtk-3.0 -isystem /usr/include/pango-1.0 -isystem /usr/include/cairo -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/atk-1.0 -isystem /usr/include/libxml2 -isystem /usr/include/libsoup-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/lensfun -isystem /usr/include/librsvg-2.0 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/openjpeg-1.5 -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src -isystem /usr/include/osmgpsmap -isystem /usr/include/gtk-2.0 -isystem /usr/lib64/gtk-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/libdrm -isystem /usr/include/libpng16 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/cups -I/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src/views/.. -I"/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views" -Werror=implicit-function-declaration -o CMakeFiles/lighttable.dir/lighttable.c.o -c "/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/lighttable.c"
Linking C executable darktable
cd /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/darktable.dir/link.txt --verbose=1
In file included from /usr/include/osmgpsmap/osm-gps-map-widget.h:49:0,
from /usr/include/osmgpsmap/osm-gps-map-layer.h:42,
from /usr/include/osmgpsmap/osm-gps-map.h:5,
from /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/map.c:35:
/usr/include/osmgpsmap/osm-gps-map-image.h:39:65: error: unknown type name ‘GdkDrawable’
void osm_gps_map_image_draw (OsmGpsMapImage *object, GdkDrawable *drawable, GdkGC *gc, GdkRectangle *rect);
^
/usr/include/osmgpsmap/osm-gps-map-image.h:39:88: error: unknown type name ‘GdkGC’
void osm_gps_map_image_draw (OsmGpsMapImage *object, GdkDrawable *drawable, GdkGC *gc, GdkRectangle *rect);
^
In file included from /usr/include/osmgpsmap/osm-gps-map-layer.h:42:0,
from /usr/include/osmgpsmap/osm-gps-map.h:5,
from /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/map.c:35:
/usr/include/osmgpsmap/osm-gps-map-widget.h:55:45: error: unknown type name ‘GdkDrawable’
void (*draw_gps_point) (OsmGpsMap *map, GdkDrawable *drawable);
^
In file included from /usr/include/osmgpsmap/osm-gps-map.h:5:0,
from /var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0~rc2/src/views/map.c:35:
/usr/include/osmgpsmap/osm-gps-map-layer.h:48:57: error: unknown type name ‘GdkDrawable’
void (*draw) (OsmGpsMapLayer *self, OsmGpsMap *map, GdkDrawable *drawable);
^
/usr/include/osmgpsmap/osm-gps-map-layer.h:56:88: error: unknown type name ‘GdkDrawable’
void osm_gps_map_layer_draw (OsmGpsMapLayer *self, OsmGpsMap *map, GdkDrawable *drawable);
^
/usr/bin/x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -msse3 -std=c99 -fopenmp -Wall -fno-strict-aliasing -pthread -D_RELEASE -Wl,-O1 -Wl,--as-needed CMakeFiles/darktable.dir/main.c.o -o darktable -rdynamic libdarktable.so external/rawspeed/librawspeed.a -lgtk-3 -lgdk-3 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgphoto2 -lgphoto2_port -llensfun -lgio-2.0 -lglib-2.0 -lgthread-2.0 -lgmodule-2.0 -lpangocairo-1.0 -lpthread -lrsvg-2 -lsqlite3 -lcurl -lpng -lz -ljpeg -ltiff -llcms2 -ljson-glib-1.0 -lexiv2 -lopenjpeg -lpugixml -losmgpsmap -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcups -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -latk-1.0 -lxml2 -lgphoto2 -lgphoto2_port -llensfun -lgthread-2.0 -lgmodule-2.0 -lpangocairo-1.0 -lpthread -lrsvg-2 -lsqlite3 -lcurl -lpng -lz -ljpeg -ltiff -llcms2 -ljson-glib-1.0 -lexiv2 -lopenjpeg -lpugixml -losmgpsmap -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lcups -Wl,-rpath,/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build/src:
src/views/CMakeFiles/map.dir/build.make:54: recipe for target 'src/views/CMakeFiles/map.dir/map.c.o' failed
make[2]: *** [src/views/CMakeFiles/map.dir/map.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/darktable-2.0_rc2/work/darktable-2.0_rc2_build'
CMakeFiles/Makefile2:1318: recipe for target 'src/views/CMakeFiles/map.dir/all' failed
make[1]: *** [src/views/CMakeFiles/map.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
|
Has anyone succesfully compiled gps support for it?
Or any clue? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Dec 02, 2015 12:23 pm Post subject: |
|
|
I would file a bug as you should not need to copy the .pc file to a different name, for a start.
It looks like the software needs patching to work with a later gdk (or something); a bug report (which may already be filed) helps people to collaborate around, and track that issue.
It also means you'll get a direct response from the maintainers, and they can push any patch upstream as needed.
(Use the Bug button to let us know the result.) |
|
Back to top |
|
|
dabicho n00b
Joined: 28 Mar 2004 Posts: 28 Location: México
|
Posted: Mon Dec 07, 2015 3:58 pm Post subject: |
|
|
steveL wrote: | I would file a bug as you should not need to copy the .pc file to a different name, for a start.
It looks like the software needs patching to work with a later gdk (or something); a bug report (which may already be filed) helps people to collaborate around, and track that issue.
It also means you'll get a direct response from the maintainers, and they can push any patch upstream as needed.
(Use the Bug button to let us know the result.) |
Thank you.
For the record, [url=https://bugs.gentoo.org/show_bug.cgi?id=567556]bug report[/ur]
There is also a previous report requiring a newer version of osm-gps-map too that I didn't find before. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|