Bug #885
check the version of GLib
| Status: | Closed | Start date: | 2016-04-07 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | Candidate for next bugfix release | |||
| Affected version: | 5.2-svn | Platform: |
Description
The function `g_thread_new` called by `grdfilter.c` is provided by GLib. This function is new since 2.32 (https://developer.gnome.org/glib/stable/glib-Threads.html#g-thread-new).
The GLib provided by CentOS 6.7 is v2.28, which doesn't have the function `g_thread_new`. When the GMT_USE_THREADS is set to be TRUE, the configuration script finds the GLib v2.28, and does NOT report errors about GLib, then the installation failed due to the undefined reference to `g_thread_new`.
Maybe it is better to check the version of GLIB. If the version of GLib is older than 2.32, just disable the gthreads support even if the GMT_USE_THREADS set to be TRUE.
Associated revisions
Added check on glib version (>= 2.32) to make sure g_thread_new exists.
This fixes issue #885.
History
#1
Updated by Remko over 1 year ago
- Status changed from New to Resolved
#2
Updated by Joaquim over 1 year ago
Just a small comment. I did this more than 2 years ago on Windows and Centos still didn't catch up with the Glib version!!!!!
A bugging report to them wouldn't be completely unappropriated too.
#3
Updated by Joaquim about 1 year ago
- Status changed from Resolved to Closed