From: Matthew B. <mat...@gm...> - 2009-11-29 09:27:53
|
> I am rashly building matplotlib from source on Snow Leopard, and > getting a segmentation fault as soon as I try and do a plot. > > me $ python -c 'import pylab; pylab.plot(range(10))' > Segmentation fault Sorry - here the is top of the build output: export PKG_CONFIG_PATH="/Users/mb312/usr/local/lib/pkgconfig" &&\ export MACOSX_DEPLOYMENT_TARGET=10.6 &&\ export CFLAGS=" -I/Users/mb312/usr/local/include -I/Users/mb312/usr/local/include/freetype2 -isysroot /Developer/SDKs/MacOSX10.6.sdk" &&\ export LDFLAGS=" -L/Users/mb312/usr/local/lib -syslibroot,/Developer/SDKs/MacOSX10.6.sdk" &&\ python2.6 setup.py install --prefix=/Users/mb312/usr/local ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.svn python: 2.6.4 (r264:75706, Nov 29 2009, 00:03:57) [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.4.0.dev7803 freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '.', './freetype2'. OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) * Could not find 'libpng' headers in any of '.' Tkinter: Tkinter: 73770, Tk: 8.5, Tcl: 8.5 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to "import gtk" in your build/install environment Mac OS X native: yes Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: 2008c OPTIONAL USETEX DEPENDENCIES dvipng: no ghostscript: /bin/sh: gs: command not found latex: no Thanks a lot, Matthew |