GNOME Bugzilla – Bug 684024
Compile issue, libxml2 2.9.0
Last modified: 2012-09-15 11:00:46 UTC
While building libxml2 2.9.0 under Mac OS X (versions 10.5, 10.6, 10.7 and 10.8) I get the following error: CC threads.lo threads.c: In function 'xmlCleanupThreads': threads.c:918: error: expected expression before '{' token make[2]: *** [threads.lo] Error 1 make[2]: Leaving directory `/private/tmp/libxml2-2.9.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/private/tmp/libxml2-2.9.0' make: *** [all] Error 2 The offending line is once_control = PTHREAD_ONCE_INIT;
I think it's fixed with this commit: http://git.gnome.org/browse/libxml2/commit/?id=3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e Daniel
Works for me. Thanks!