GNOME Bugzilla – Bug 367827
make pcrecpp dependency optionnal
Last modified: 2011-11-11 10:03:55 UTC
I need someone to craft system-monitor/configure.in to automate pcrecpp detection and make this dependency optionnal. It's on CVS HEAD. Please help me with the configure.in and i'll cope with the code. Thanks.
I changed this: diff -u -p -r1.192 configure.in --- configure.in 25 Oct 2006 11:16:54 -0000 1.192 +++ configure.in 31 Oct 2006 16:46:07 -0000 @@ -32,7 +32,7 @@ LIBGTOP_REQUIRED=2.14.4 GTK_REQUIRED=2.8.0 GNOME_VFS_REQUIRED=2.6.0 GNOME_ICON_THEME_REQUIRED=2.15.3 -PCRE_REQUIRED=6.7 +PCRE_REQUIRED=6.6 to make it build here. I'm using a Fedora development system and if the bleeding edge of fedora doesn't have a new enough pcre version I guess we shouldn't depend on one unless we really have to. g-s-m built just fine with version 6.6.
OK, i've downgraded the dep on 6.6. I used 6.7 because that was my version, but i doesn't use any special feature, so even < 6.6 may work fine.
FYI, I just built gnome-system-monitor from CVS HEAD on Ubuntu 6.10, which has libpcre3 version 6.4, so I edited configure.in to have PCRE_REQUIRED=6.4. The build completed without errors and the executable seems to work fine.
Created attachment 78038 [details] [review] proposed patch I still haven't decided if this is a joke or the GNOME way to have regular expressions for everyone.
*** Bug 395142 has been marked as a duplicate of this bug. ***
no pcrecpp, no feature This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.