sardemff7 / purple-libnotify-plus

Provide libnotify interface to Pidgin and Finch, inspired by Pidgin-libnotify and Guifications
GNU General Public License v3.0
21 stars 9 forks source link

Running "make" gives error #3

Closed khurshid-alam closed 12 years ago

khurshid-alam commented 12 years ago

When i tried to run make after configure , i got following error:

  `Making all in po
  make[1]: Nothing to be done for 'all'.
  CC       src/purple_libnotify__la-purple-libnotify+-utils.lo
  In file included from src/purple-libnotify+-utils.c:24:0:
  src/libnotify-compat.h:26:27: error: missing binary operator before token "("
  src/purple-libnotify+-utils.c: In function '_notify_plus_send_notification_internal':
  src/purple-libnotify+-utils.c:164:3: error: too few arguments to function 'notify_notification_new'
  /usr/include/libnotify/notification.h:79:21: note: declared here
  src/purple-libnotify+-utils.c:177:3: warning: implicit declaration of function 'notify_notification_set_hint'
  make[1]: *** [src/purple_libnotify__la-purple-libnotify+-utils.lo] Error 1
  make: *** [all-recursive] Error 1`

All dependencies are installed.

sardemff7 commented 12 years ago

Thanks for reporting.

I would like to know which system you are using, and which versions of GLib and libnotify do you have.

I may drop support for older versions, but yours seem new enough. The first two errors are normal and easy to fix, but the warning is unexpected.

khurshid-alam commented 12 years ago

I was using Ubuntu Natty. libnotify-bin 0.7.2 libnotify-dev 0.5.0 libglib2.0-dev 2.28.6

On, Ubuntu 12.04 it compiles & installs without any problem. However on both version i have to compile & install purple-events first.

sardemff7 commented 12 years ago

purple-events is a normal dependency, it handles all the event part, like which events do you want, for which contacts.

Support for old libnotify dropped in b59db6f77dc6df92740dbdbefc7a82c871d1fa83