Advertisement
Guest User

matplotlib_build_fails_on_centos

a guest
Nov 20th, 2013
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.72 KB | None | 0 0
  1. # python26 setup.py build
  2. ============================================================================
  3. Edit setup.cfg to change the build options
  4.  
  5. BUILDING MATPLOTLIB
  6.             matplotlib: yes [1.3.1]
  7.                 python: yes [2.6.8 (unknown, Nov  7 2012, 14:47:45)  [GCC
  8.                         4.1.2 20080704 (Red Hat 4.1.2-52)]]
  9.               platform: yes [linux2]
  10.  
  11. REQUIRED DEPENDENCIES AND EXTENSIONS
  12.                  numpy: yes [version 1.7.2rc1]
  13.               dateutil: yes [using dateutil version 2.2]
  14.                tornado: yes [using tornado version 3.1.1]
  15.              pyparsing: yes [using pyparsing version 2.0.1]
  16.                  pycxx: yes [Using system CXX (version unknown, no pkg-
  17.                         config info)]
  18.                 libagg: yes [Requires patches that have not been merged
  19.                         upstream. Using local copy.]
  20.               freetype: yes [version 9.10.3]
  21.                    png: yes [version 1.2.10]
  22.  
  23. OPTIONAL SUBPACKAGES
  24.            sample_data: yes [installing]
  25.               toolkits: yes [installing]
  26.                  tests: yes [using nose version 0.11.1]
  27.  
  28. OPTIONAL BACKEND EXTENSIONS
  29.                 macosx: no  [Mac OS-X only]
  30.                 qt4agg: no  [PyQt4 not found]
  31.                gtk3agg: no  [Requires pygobject to be installed.]
  32.              gtk3cairo: no  [Requires cairo to be installed.]
  33.                 gtkagg: no  [Requires pygtk]
  34.                  tkagg: no  [TKAgg requires Tkinter.]
  35.                  wxagg: no  [requires wxPython]
  36.                    gtk: no  [Requires pygtk]
  37.                    agg: yes [installing]
  38.                  cairo: no  [cairo not found]
  39.              windowing: no  [Microsoft Windows only]
  40.  
  41. OPTIONAL LATEX DEPENDENCIES
  42.                 dvipng: yes [version 1.5]
  43.            ghostscript: yes [version 8.70]
  44.                  latex: yes [version 3.141592]
  45.                pdftops: no
  46.  
  47. running build
  48. running build_py
  49. copying lib/matplotlib/mpl-data/matplotlibrc -> build/lib.linux-x86_64-2.6/matplotlib/mpl-data
  50. running build_ext
  51. building 'matplotlib._png' extension
  52. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/kerberos/include -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/_png.cpp -o build/temp.linux-x86_64-2.6/src/_png.o
  53. In file included from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728,
  54.                  from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
  55.                  from /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:15,
  56.                  from src/_png.cpp:28:
  57. /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
  58. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/kerberos/include -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/libpng12 -I/usr/include/python2.6 -c src/mplutils.cpp -o build/temp.linux-x86_64-2.6/src/mplutils.o
  59. gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/kerberos/include -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__png_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib64/python2.6/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/libpng12 -I/usr/include/python2.6 -c /usr/share/python2.6/CXX/cxxsupport.cxx -o build/temp.linux-x86_64-2.6/usr/share/python2.6/CXX/cxxsupport.o
  60. /usr/share/python2.6/CXX/cxxsupport.cxx:40:38: error: Src/Python2/cxxsupport.cxx: No such file or directory
  61. error: command 'gcc' failed with exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement