Created attachment 38472 [details] The o/p of configure and make on my setup. I am trying to compile on Linux: $ uname -a Linux <my hostname> 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux I am getting the error "ck-log-event.c:687: error: 'GRegex' undeclared (first use in this function)". I tried this with ConsoleKit-0.2.10 and ConsoleKit-0.4.1 with same result. I have attached the o/p of configure and make on my setup.
(In reply to comment #0) > Created an attachment (id=38472) [details] > The o/p of configure and make on my setup. > > I am trying to compile on Linux: > $ uname -a > Linux <my hostname> 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 > x86_64 x86_64 GNU/Linux > I am getting the error "ck-log-event.c:687: error: 'GRegex' undeclared (first > use in this function)". I tried this with ConsoleKit-0.2.10 and > ConsoleKit-0.4.1 with same result. I have attached the o/p of configure and > make on my setup. Which version of glib do you have?
(In reply to comment #1) > (In reply to comment #0) > > I am getting the error "ck-log-event.c:687: error: 'GRegex' undeclared (first > > use in this function)". I tried this with ConsoleKit-0.2.10 and > > Which version of glib do you have? That said, GRegex requires at least 2.14, so GLIB_REQUIRED_VERSION=2.7.0 needs to be updated to at least this version.
(In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > I am getting the error "ck-log-event.c:687: error: 'GRegex' undeclared (first > > > use in this function)". I tried this with ConsoleKit-0.2.10 and > > > > > Which version of glib do you have? > > That said, GRegex requires at least 2.14, so > GLIB_REQUIRED_VERSION=2.7.0 needs to be updated to at least this version. If tested with 2.16.6 (Debian lenny) and 0.4.2 compiles fine. So I'm bumping GLIB_REQUIRED_VERSION to 2.14. See attached patch
Created attachment 38487 [details] [review] Bump GLIB_REQUIRED_VERSION to 2.14 for GRegex
Should I download the 0.4.2 tarball and try to compile it now? This is the first time I have opened a bug on this forum. I don't know how frequently the changes are pushed to the source code repository. Hence the question.
Fixed in git.
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.