matplotlib install error, gcc suspected -
i trying install matplotlib
on macbook pro 10.8.3. scientific packages (python, qgis, , numerous others) installed homebrew. pip install matplotlib
fails following error:
ld: library not found -lgcc_ext.10.5 collect2: error: ld returned 1 exit status error: command 'c++' failed exit status 1
i can't figure out lgcc_ext.10.5
looking for. i've seen other questions, such the 10.8 install failure, error seems different. happens under pip install
or installing through git clone
...
downloading/unpacking matplotlib downloading matplotlib-1.2.1.tar.gz (38.4mb): 38.4mb downloaded running setup.py egg_info package matplotlib basedirlist is: ['/usr/local/', '/usr', '/usr/x11', '/opt/local'] ============================================================================ building matplotlib matplotlib: 1.2.1 python: 2.7.5 (default, may 21 2013, 10:35:49) [gcc 4.2.1 compatible apple llvm 4.2 (clang-425.0.24)] platform: darwin required dependencies numpy: 1.6.2 freetype2: 16.0.10 optional backend dependencies libpng: 1.5.14 tkinter: tkinter: 81008, tk: 8.5, tcl: 8.5 pkg-config: looking pygtk-2.0 gtk+-2.0 * package libffi not found in pkg-config * search path. perhaps should add directory * containing `libffi.pc' pkg_config_path * environment variable package 'libffi', required * 'pygobject-2.0', not found * may need install 'dev' package(s) * provide header files. gtk+: no * not find gtk+ headers in of * '/usr/local/include', '/usr/include', * '/usr/x11/include', '/opt/local/include', * '/usr/local/include', '/usr/include', * '/usr/x11/include', '.' mac os x native: yes qt: no qt4: qt: 4.8.4, pyqt4: 4.10.1 pyside: qt: 4.8.4, pyside: 1.1.2 cairo: 1.10.0 optional date/timezone dependencies dateutil: matplotlib provide pytz: matplotlib provide optional usetex dependencies dvipng: 1.14 ghostscript: 9.07 latex: 3.1415926 pdftops: 0.22.4 [edit setup.cfg suppress above messages] ============================================================================
my full output long, number of warnings don't know related such as:
cc -dndebug -g -fwrapv -o3 -wall -i/usr/x11/include -i/usr/x11/include/freetype2 -i/usr/x11/include/libpng12 -dpy_array_unique_symbol=mpl_array_api -dpycxx_iso_cpp_lib=1 -i/usr/local/include -i/usr/include -i/usr/x11/include -i/opt/local/include -i/library/python/2.7/site-packages/numpy-override/numpy/core/include -i/usr/local/cellar/freetype/2.4.11/include/freetype2 -i/usr/local/cellar/freetype/2.4.11/include -i/usr/local/include -i/usr/include -i/usr/x11/include -i. -i/usr/local/cellar/python/2.7.5/frameworks/python.framework/versions/2.7/include/python2.7 -c cxx/cxxsupport.cxx -o build/temp.macosx-10.8-x86_64-2.7/cxx/cxxsupport.o in file included cxx/cxxsupport.cxx:40: in file included cxx/python2/cxxsupport.cxx:38: in file included ./cxx/objects.hxx:40: ./cxx/python2/objects.hxx:1133:23: warning: implicit conversion of null constant 'int' [-wnull-conversion] , offset( null ) ~ ^~~~ 0
Comments
Post a Comment