Am Sonntag, 24. November 2013, 10:48:38 schrieb Madko:
> Hi,
> 
> I'm trying to build darktable 1.2.3 with colord support to make a new RPM
> package for Fedora as it has been asked on our bugzilla
> https://bugzilla.redhat.com/show_bug.cgi?id=1033899
> 
> However the build fails on these errors:
> cd /builddir/build/BUILD/darktable-1.2.3/buildFedora/src/dtview &&
> /usr/bin/cmake -E cmake_link_script
> CMakeFiles/darktable-viewer.dir/link.txt --verbose=1
> /usr/lib/ccache/cc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables  -std=c99 -fopenmp -DNDEBUG   -Wl,-z,relro
>  CMakeFiles/darktable-viewer.dir/main.c.o  -o darktable-viewer -rdynamic
> ../libdarktable.so -lSDL -lGLU -lGL -lX11 -lXext
> ../external/LibRaw/liblibraw_r.a ../external/rawspeed/librawspeed.a
> ../external/osm-gps-map/libosmgpsmap.a -lglib-2.0 -lgobject-2.0
> -lgdk-x11-2.0 -lgtk-x11-2.0 -lcairo -lpango-1.0 -latk-1.0 -lxml2 -lgphoto2
> -lgphoto2_port -llensfun -lgio-2.0 -lgthread-2.0 -lgmodule-2.0 -lfreetype
> -lpangocairo-1.0 -lpthread -lrsvg-2 -lgdk_pixbuf-2.0 -lsqlite3 -lexiv2
> -lcurl -lpng -lz -ljpeg -ltiff -lIlmImf -lImath -lIex -lIlmThread -llcms2
> -lflickcurl -ljson-glib-1.0 -lgnome-keyring -lsoup-2.4 -lglib-2.0
> -lgobject-2.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -lcairo -lpango-1.0 -latk-1.0
> -lxml2 -lgphoto2 -lgphoto2_port -llensfun -lgio-2.0 -lgthread-2.0
> -lgmodule-2.0 -lfreetype -lpangocairo-1.0 -lpthread -lrsvg-2
> -lgdk_pixbuf-2.0 -lsqlite3 -lexiv2 -lcurl -lpng -lz -ljpeg -ltiff -lIlmImf
> -lImath -lIex -lIlmThread -llcms2 -lflickcurl -ljson-glib-1.0
> -lgnome-keyring -lsoup-2.4 ../external/colord-gtk/libcolord-gtk.a
> -Wl,-rpath,/builddir/build/BUILD/darktable-1.2.3/buildFedora/src:
> ../libdarktable.so: undefined reference to `cd_client_new'
> ../libdarktable.so: undefined reference to `cd_profile_get_connected'
> ../libdarktable.so: undefined reference to `cd_device_get_connected'
> ../libdarktable.so: undefined reference to `cd_client_connect_finish'
> ../libdarktable.so: undefined reference to `cd_device_connect'
> ../libdarktable.so: undefined reference to `cd_client_connect'
> ../libdarktable.so: undefined reference to `cd_device_connect_finish'
> ../libdarktable.so: undefined reference to `cd_client_get_type'
> ../libdarktable.so: undefined reference to `cd_device_get_default_profile'
> ../libdarktable.so: undefined reference to `cd_device_equal'
> ../libdarktable.so: undefined reference to `cd_profile_equal'
> ../libdarktable.so: undefined reference to
> `cd_client_find_device_by_property_finish'
> ../libdarktable.so: undefined reference to
> `cd_client_find_device_by_property'
> ../libdarktable.so: undefined reference to `cd_profile_get_filename'
> ../libdarktable.so: undefined reference to `cd_profile_get_type'
> ../libdarktable.so: undefined reference to `cd_profile_connect'
> ../libdarktable.so: undefined reference to `cd_profile_connect_finish'
> ../libdarktable.so: undefined reference to `cd_device_get_type'
> collect2: error: ld returned 1 exit status
> 
> I would try to add -lcolord but since darktable is using its own colord
> support based on gtk2 I'm not sure it's a good idea. I
> have colord-devel-0.1.34 on my build system.
> 
> Any advice on how to add colord support ? Is it possible to use the colord
> from the distro ?

darktable uses the colord from the distro, it just ships its own copy of 
colord-gtk since that is a GTK3 library upstream.

Could you show us the output of cmake please?

> Best regards,
> 
> Edouard

Tobias

PS: If you happen to be in IRC you could give me a ping on Freenode (nick: 
houz), I haven't seen you in #fedora but didn't look around more.

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to