pycairo, install under osx and python3 fails by waf
Heribert Hoffmann <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
I tried to install pycairo under OSX. (10.9. Mavericks) When executing "waf" I get an error, that the version is to old. There is the original Apple Python 2.7... installation and additionally a Python3 as provided by python.org. How can i tell waf to point to the right version? ----------------------------------------------------- The Terminal output: xxxx-imac:pycairo oe$ python3 ./waf configure ./options() Setting top to : /Users/xxxx/Desktop/temp-cairo/pycairo Setting out to : /Users/xxxx/Desktop/temp-cairo/pycairo/build_directory ./configure() Checking for 'gcc' (c compiler) : ok Checking for program python : /usr/bin/python python executable '/usr/bin/python' different from sys.executable '/Library/Frameworks/Python.framework/Versions/3.4/bin/python3' Checking for python version : (2, 7, 5, 'final', 0) The python version is too old, expecting (3, 1, 0) (complete log in /Users/xxxx/Desktop/temp-cairo/pycairo/build_directory/config.log) -------------------------------- The log file: # project pycairo (1.10.0) configured on Mon Sep 15 15:01:53 2014 by # waf 1.6.4 (abi 98, python 30401f0 on darwin) # using ./waf configure # ---------------------------------------- Setting top to /Users/oe/Desktop/temp-cairo/pycairo ---------------------------------------- Setting out to /Users/xxxx/Desktop/temp-cairo/pycairo/build_directory ---------------------------------------- Checking for 'gcc' (c compiler) find program=['gcc', 'cc'] paths=['/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin'] var='CC' -> '/usr/bin/gcc' find program=['ar'] paths=['/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin'] var='AR' -> '/usr/bin/ar' ok ---------------------------------------- Checking for program python /usr/bin/python find program=['python'] paths=['/Library/Frameworks/Python.framework/Versions/3.4/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin'] var='PYTHON' -> '/usr/bin/python' ['/usr/bin/python', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 2 7 5 final 0 ---------------------------------------- Checking for python version (2, 7, 5, 'final', 0) from /Users/oe/Desktop/temp-cairo/pycairo: The python version is too old, expecting (3, 1, 0) -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo