[cairo-bugs] [Bug 30910] New: cairo-1.10.0 fails to build on darwin due to pthreads issue
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 15 13:20:29 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=30910
Summary: cairo-1.10.0 fails to build on darwin due to pthreads
issue
Product: cairo
Version: 1.10.1
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: jeremyhu at freedesktop.org
QAContact: cairo-bugs at cairographics.org
cairo assumes that pthreads are not available, then it fails to build:
./configure --prefix=/opt/X11 --disable-static --disable-dependency-tracking
--disable-nls --cache-file=/tmp/X11libs.roots/X11libs~obj/configure.cache
--x-include=$X11_PREFIX/include --x-lib=$X11_PREFIX/lib --disable-quartz
--enable-xlib --enable-xlib-xrender --enable-xcb --disable-specs
--disable-devel-docs
...
config.log shows that the conftest.c tests succeeded, but you still chose to
configure:32573: checking for cairo's pthread featureconfigure:32685: gcc
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/pixman-1
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/libpng14
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include -o conftest -D_REENTRANT
-D__DEBUG__ -D_FORTIFY_SOURCE=2 -pipe
-L/tmp/X11libs.roots/X11libs~dst/opt/X11/lib conftest.c -lpthread >&5
[Logging for XBS] Used dynamic library: /usr/lib/libSystem.B.dylib
[Logging for XBS] Used dynamic library: /usr/lib/libSystem.B.dylib
[Logging for XBS] Used indirect dynamic library:
/usr/lib/system/libmathCommon.A.dylib
configure:32685: $? = 0configure:32804: gcc
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/pixman-1
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/libpng14
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include -o conftest -pthread
-D__DEBUG__ -D_FORTIFY_SOURCE=2 -pipe -L
/tmp/X11libs.roots/X11libs~dst/opt/X11/lib conftest.c >&5
[Logging for XBS] Used dynamic library: /usr/lib/libSystem.B.dylib
[Logging for XBS] Used indirect dynamic library:
/usr/lib/system/libmathCommon.A.dylib
configure:32804: $? = 0configure:32885: gcc
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/pixman-1
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include/libpng14
-I/tmp/X11libs.roots/X11libs~dst/opt/X11/include -o conftest -D_REENTRANT
-D__DEBUG__ -D_FORTIFY_SOURCE=2 -pipe
-L/tmp/X11libs.roots/X11libs~dst/opt/X11/lib conftest.c >&5
[Logging for XBS] Used dynamic library: /usr/lib/libSystem.B.dylib
[Logging for XBS] Used indirect dynamic library:
/usr/lib/system/libmathCommon.A.dylib
configure:32885: $? = 0
configure:32951: checking whether cairo's pthread feature could be enabled
configure:32955: result: no (can't link with -lpthread or -pthread)
Passing --enable-pthread to force it on fails:
checking for cairo's pthread feature...
configure: error: pthread requested but not found
returned code 1 at ./build line 21.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list