[cairo-bugs] [Bug 59298] New: Configure fails to find libpthread with CPPFLAG -H

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jan 12 14:19:59 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59298

          Priority: medium
            Bug ID: 59298
          Assignee: cairo-bugs at cairographics.org
           Summary: Configure fails to find libpthread with CPPFLAG -H
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: Peter_Dyballa at Freenet.DE
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 1.12.8
         Component: gl backend
           Product: cairo

Hello!

When configuring with

    env LANG=C
PATH=${HOME}/Softwaren64/bin:/usr/bin:/opt/local/x86_64-apple-darwin10.8.0/bin:/opt/local/bin:$PATH
./configure --prefix=${HOME}/Softwaren64 --with-pic --enable-static
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib
CPPFLAGS="-I${HOME}/Softwaren64/include -idirafter /usr/X11/include
-DCAIRO_NO_MUTEX=1" CFLAGS="-pipe -fPIC -fno-common -Os -march=core2
-mtune=core2 -m64 -fomit-frame-pointer -msse4.2" LDFLAGS="-m64
-Wl,-dead_strip_dylibs -L${HOME}/Softwaren64/lib"
PKG_CONFIG_PATH=${HOME}/Softwaren64/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/X11/lib/pkgconfig

configure is more successful than when configuring with "verbose" compiler
flags (-H and -Wl,-t):

    env LANG=C
PATH=${HOME}/Softwaren64/bin:/usr/bin:/opt/local/x86_64-apple-darwin10.8.0/bin:/opt/local/bin:$PATH
./configure --prefix=${HOME}/Softwaren64 --with-pic --enable-static
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib CPPFLAGS="-H
-I${HOME}/Softwaren64/include -idirafter /usr/X11/include -DCAIRO_NO_MUTEX=1"
CFLAGS="-pipe -fPIC -fno-common -Os -march=core2 -mtune=core2 -m64
-fomit-frame-pointer -msse4.2" LDFLAGS="-m64 -Wl,-t -Wl,-dead_strip_dylibs
-L${HOME}/Softwaren64/lib"
PKG_CONFIG_PATH=${HOME}/Softwaren64/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/X11/lib/pkgconfig

    checking for cairo's pthread feature... 
    checking whether cairo's pthread feature could be enabled... yes

    checking for cairo's cairo-trace feature... 
    checking whether cairo's cairo-trace feature could be enabled... yes

    The following features and utilities:
      cairo-trace:                yes
      cairo-script-interpreter:   yes

    And the following internal features:
      pthread:       yes
      gtk-doc:       no
      gcov support:  no
      symbol-lookup: no (requires bfd)
      test surfaces: no (disabled, use --enable-test-surfaces to enable)
      ps testing:    yes
      pdf testing:   no (requires poppler-glib >= 0.17.4)
      svg testing:   yes

vs.

    checking for cairo's pthread feature... 
    checking whether cairo's pthread feature could be enabled... no (can't link
with -lpthread or -pthread)

    checking for cairo's cairo-trace feature... 
    checking whether cairo's cairo-trace feature could be enabled... no
(requires dynamic linker and zlib and real pthreads)

    The following features and utilities:
      cairo-trace:                no (requires dynamic linker and zlib and real
pthreads)
      cairo-script-interpreter:   yes

    And the following internal features:
      pthread:       no (can't link with -lpthread or -pthread)
      gtk-doc:       no
      gcov support:  no
      symbol-lookup: no (requires bfd)
      test surfaces: no (disabled, use --enable-test-surfaces to enable)
      ps testing:    yes
      pdf testing:   no (requires poppler-glib >= 0.17.4)
      svg testing:   yes

I need -H and -Wl,-t to be sure that Cairo is built only from the selected
components.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130112/84ca5aa3/attachment.html>


More information about the cairo-bugs mailing list