[MacPorts] #34889: py27-cairo 1.8.10 incompatible with cairo +quartz

MacPorts noreply at macports.org
Wed Nov 28 08:34:19 PST 2012


#34889: py27-cairo 1.8.10 incompatible with cairo +quartz
-------------------------------+--------------------------------
  Reporter:  luis.kornblueh@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.1.1
Resolution:                    |   Keywords:
      Port:  py27-cairo        |
-------------------------------+--------------------------------

Comment (by sean.michael.farley@…):

 Replying to [comment:7 g5pw@…]:
 > What's wrong with the waf script stuff? It's the official way to install
 it, autoconf &make is unsupported, or so says the readme...

 Good question. I wish I had saved my notes but I seem to remember ./waf
 not getting the correct python (even when run from the command line!). Ah,
 right, here is the error I got:

 {{{
 $ python3.2 ./waf configure --prefix=$SANDBOX/local-cairo3
   ./options()
 Setting top to                           :
 /Users/sean/sandbox/pycairo-1.10.0
 Setting out to                           :
 /Users/sean/sandbox/pycairo-1.10.0/build_directory
   ./configure()
 Checking for 'gcc' (c compiler)          : ok
 Checking for program python              : /opt/local/bin/python
 python executable '/opt/local/bin/python' different from sys.executable
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.2/Resources/Python.app/Contents/MacOS/Python'
 Checking for python version              : (2, 7, 3, 'final', 0)
 The python version is too old, expecting (3, 1, 0)
 (complete log in
 /Users/sean/sandbox/pycairo-1.10.0/build_directory/config.log)
 }}}

 There are some comments here,

 http://stackoverflow.com/questions/6232529/how-to-install-pycairo-for-
 python-3-on-ubuntu-10-04

 that also complain about ./waf not getting the correct version of python.
 I just checked and it's still not fixed in the git repos :-(

-- 
Ticket URL: <https://trac.macports.org/ticket/34889#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list