After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684024 - Compile issue, libxml2 2.9.0
Compile issue, libxml2 2.9.0
Status: RESOLVED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Mac OS
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-14 13:50 UTC by Marius Schamschula
Modified: 2012-09-15 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marius Schamschula 2012-09-14 13:50:38 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;
Comment 1 Daniel Veillard 2012-09-15 09:23:49 UTC
I think it's fixed with this commit:

http://git.gnome.org/browse/libxml2/commit/?id=3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e

Daniel
Comment 2 Marius Schamschula 2012-09-15 11:00:46 UTC
Works for me.

Thanks!