[MacPorts] #43261: py27-gobject3: No package 'pycairo' found

MacPorts noreply at macports.org
Sun Apr 6 19:02:41 PDT 2014


#43261: py27-gobject3: No package 'pycairo' found
--------------------------+-------------------------
 Reporter:  ryandesign@…  |      Owner:  cal@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:                |       Port:  py-gobject3
--------------------------+-------------------------
 {{{
 ./configure: line 13250: ./libtool: No such file or directory
 checking for pkg-config... /opt/local/bin/pkg-config
 checking pkg-config is at least version 0.16... yes
 checking for GLIB - version >= 2.38.0... yes (version 2.40.0)
 checking for FFI... yes
 checking for GIO... yes
 checking for GI... yes
 checking for CAIRO... yes
 checking for PYCAIRO... no
 configure: error: Package requirements (pycairo >= 1.2.0
         ) were not met:

 No package 'pycairo' found

 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 installed software in a non-standard prefix.

 Alternatively, you may set the environment variables PYCAIRO_CFLAGS
 and PYCAIRO_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 }}}

 config.log says:

 {{{
 configure:14147: checking for PYCAIRO
 configure:14155: $PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
         "
 Package pycairo was not found in the pkg-config search path.
 Perhaps you should add the directory containing `pycairo.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'pycairo' found
 }}}

 py27-cairo is installed:

 {{{
 $ port -v installed py27-cairo
 The following ports are currently installed:
   py27-cairo @1.10.0_2+universal+x11 platform='darwin 13' archs='i386
 x86_64'
   py27-cairo @1.10.0_3+universal (active) platform='darwin 13' archs='i386
 x86_64'
 }}}

 {{{
  $ port contents py27-cairo
 Port py27-cairo contains:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/pycairo/pycairo.h
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/pycairo.pc
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cairo/__init__.py
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/cairo/_cairo.so
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/pycairo-1.10.0-py2.7.egg-info
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43261>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list