unable to build - cflags not defined correctly for libdicate

Bug #876221 reported by Matt Summers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pidgin-libnotify (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am unable to build a freshly checked out copy of the source for pidgin-libnotify on oneric. This was not a problem for the natty release.

[Steps to reproduce]
$ apt-get source pidgin-libnotify
$ cd pidgin-libnotify
$ ./configure
$ make

make all-recursive
make[1]: Entering directory `/home/username/pidgin-libnotify'
Making all in po
make[2]: Entering directory `/home/username/pidgin-libnotify/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/username/pidgin-libnotify/po'
Making all in src
make[2]: Entering directory `/home/username/pidgin-libnotify/src'
/bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLIBDIR=\"/usr/lib/purple-2/\" -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pidgin -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpurple -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -Wall -g3 -MT pidgin-libnotify.lo -MD -MP -MF .deps/pidgin-libnotify.Tpo -c -o pidgin-libnotify.lo pidgin-libnotify.c
pidgin-libnotify.c:41:35: fatal error: libindicate/indicator.h: No such file or directory
compilation terminated.
make[2]: *** [pidgin-libnotify.lo] Error 1
make[2]: Leaving directory `/home/usernamepidgin-libnotify/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/username/pidgin-libnotify'
make: *** [all] Error 2

[Investigation]
I do have libindicate-devel installed which contains libindicate/indicator.h
$ find /usr/ -name indicator.h
/usr/include/libindicate-0.6/libindicate-gtk/indicator.h
/usr/include/libindicate-0.6/libindicate/indicator.h

It looks like the CFLAGS do not mention anything about libindicate. In the natty source release you can see in the generated Makefile definitions for LIBINDICATE_CFLAGS and LIBINDICATE_LIBS, but they do not appear to be generated this time around.

I can provide more logging if requested.

[Environment]
Description: Ubuntu 11.10
Release: 11.10
Linux hostname 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pidgin-libnotify (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.