Bug #885

check the version of GLib

Added by Dongdong over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:2016-04-07
Priority:NormalDue 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

Revision 16155
Added by Remko over 1 year ago

Added check on glib version (>= 2.32) to make sure g_thread_new exists.
This fixes issue #885.

Revision 16156
Added by Remko over 1 year ago

Merged r16155 from 5.2.
This adds 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

This should be addressed now in r16155 and r16156.

#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 over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF