From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Using glib's g_file_monitor_file and g_file_monitor_directory Date: Mon, 03 Jun 2013 19:29:51 +0300 Message-ID: <83bo7nxim8.fsf@gnu.org> References: <87zjxxn6th.fsf@gmx.de> <87hajqpjn1.fsf@gmx.de> <8738t7pewc.fsf@gmx.de> <83fvx7p1h4.fsf@gnu.org> <877gihc3qm.fsf@gmx.de> <83mwrd6c54.fsf@gnu.org> <87obbtaie8.fsf@gmx.de> <83bo7ozc0q.fsf@gnu.org> <87zjxxn6th.fsf@gmx.de> <87hajqpjn1.fsf@gmx.de> <8738t7pewc.fsf@gmx.de> <83fvx7p1h4.fsf@gnu.org> <877gihc3qm.fsf@gmx.de> <83mwrd6c54.fsf@gnu.org> <87obbtaie8.fsf@gmx.de> <83bo7ozc0q.fsf@gnu.org> <87bo7ngwj8.fsf@gmx.de> <83mwr7xm7b.fsf@gnu.org> <3d7gibw6sa.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370277007 9212 80.91.229.3 (3 Jun 2013 16:30:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 16:30:07 +0000 (UTC) Cc: dancol@dancol.org, michael.albinus@gmx.de, monnier@iro.umontreal.ca, kbrown@cornell.edu, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 03 18:30:06 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjXe1-00063I-8M for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 18:30:05 +0200 Original-Received: from localhost ([::1]:50437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXe0-0004rR-Rz for ged-emacs-devel@m.gmane.org; Mon, 03 Jun 2013 12:30:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXdx-0004qE-1a for emacs-devel@gnu.org; Mon, 03 Jun 2013 12:30:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjXdt-00068l-U5 for emacs-devel@gnu.org; Mon, 03 Jun 2013 12:30:00 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:47037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXdt-00068R-KO; Mon, 03 Jun 2013 12:29:57 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MNT00500SGEBA00@a-mtaout22.012.net.il>; Mon, 03 Jun 2013 19:29:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNT003CHSHVZPP0@a-mtaout22.012.net.il>; Mon, 03 Jun 2013 19:29:55 +0300 (IDT) In-reply-to: <3d7gibw6sa.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160046 Archived-At: > From: Glenn Morris > Cc: Michael Albinus , dancol@dancol.org, monnier@iro.umontreal.ca, kbrown@cornell.edu, emacs-devel@gnu.org > 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?