emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using glib's g_file_monitor_file and g_file_monitor_directory


From: Eli Zaretskii
Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory
Date: Mon, 03 Jun 2013 20:04:31 +0300

> Date: Mon, 03 Jun 2013 19:29:51 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
>       address@hidden, address@hidden
> 
> > From: Glenn Morris <address@hidden>
> > Cc: Michael Albinus <address@hidden>,  address@hidden,  address@hidden,  
> > address@hidden,  address@hidden
> > Date: Mon, 03 Jun 2013 11:30:45 -0400
> > 
> > 
> > Fails to build (with or without Eli's changes) on RHEL6 using
> > 
> > configure --without-xaw3d --without-gconf --without-gsettings \
> >    --without-xim --with-x --with-x-toolkit=athena \
> >    --without-toolkit-scroll-bars
> > 
> >   Does Emacs use -lrsvg-2?                                yes
> >   Does Emacs use -lgconf?                                 no
> >   Does Emacs use GSettings?                               no
> >   Does Emacs use a file notification library?             yes -lgio (gfile)
> > 
> > rpm -q glib2
> > glib2-2.22.5-7.el6.x86_64
> > 
> > gfilenotify.c: In function 'dir_monitor_callback':
> > gfilenotify.c:90: error: 'G_FILE_MONITOR_EVENT_MOVED' undeclared (first
> > use in this function)
> > gfilenotify.c:90: error: (Each undeclared identifier is reported only once
> > gfilenotify.c:90: error: for each function it appears in.)
> > gfilenotify.c: In function 'Fgfile_add_watch':
> > gfilenotify.c:189: error: 'G_FILE_MONITOR_SEND_MOVED' undeclared (first
> > use in this function)
> > make[1]: *** [gfilenotify.o] Error 1
> 
> FWIW, I tried with glib 2.28.  Maybe 2.22 is too old?

Alternatively, can you compile successfully if you ifdef away
G_FILE_MONITOR_EVENT_MOVED?  Perhaps this is a late addition.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]