Bug 63831

Summary: Build failure with --enable-datahub --disable-downloads-monitor
Product: Zeitgeist Reporter: justin <jlec>
Component: EngineAssignee: zeitgeist-bugs <zeitgeist-bugs>
Status: RESOLVED FIXED QA Contact: zeitgeist-bugs <zeitgeist-bugs>
Severity: normal    
Priority: medium    
Version: 0.9.x   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: build.log
build system patch

Description justin 2013-04-23 08:50:38 UTC
Created attachment 78358 [details]
build.log

When configuring with --enable-datahub --disable-downloads-monitor the compilation breaks

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gnome-extra/zeitgeist-0.9.12/work/zeitgeist-0.9.12/datahub -I..  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/json-glib-1.0 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -include ../config.h -I../libzeitgeist -w    -march=corei7-avx -O2 -pipe -frecord-gcc-switches -c kde-recent-document-provider.c
zeitgeist-datahub.c: In function ‘data_hub_start_data_providers_co’:
zeitgeist-datahub.c:826:6: error: ‘DOWNLOADS_MONITOR_ENABLED’ undeclared (first use in this function)
  if (DOWNLOADS_MONITOR_ENABLED) {
      ^
zeitgeist-datahub.c:826:6: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [zeitgeist-datahub.o] Error 1
Comment 1 justin 2013-04-23 08:51:31 UTC
Created attachment 78359 [details] [review]
build system patch
Comment 2 Manish Sinha 2013-04-23 09:01:28 UTC
ACKed. The patch fixes the problem.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.