Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.96k stars 11.34k forks source link

py2cairo segfaults #14781

Closed slyons closed 12 years ago

slyons commented 12 years ago

Cairo install log: https://gist.github.com/c14c33e6f0fd3b266729 Py2Cairo install log: https://gist.github.com/142a08e76b8280e081b7

When I try to import the cairo module, however, I get the following:

Python 2.7.3 (default, Sep  6 2012, 18:50:46) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cairo
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap: 6

OSX 10.7.4 with the latest XCode. I've tried both the repo version of the recipe and the modified version that's currently a pull request.

2bits commented 12 years ago

fwiw another workaround for py2cairo is env :std. Without objection, I'll just add that to the formula for now so that it's not broken during the next few days as things get settled with Python.