It looks like pkg-config has not been installed or the dependencies for matplotlib aren't there yet. freetype and png should be discovered through pkg-config and they aren't in your case. Did you "make distclean" before starting to build again?
Francois On Mon, 01 Dec 2014 17:17:07 Stefan wrote: > I'm trying to build 6.5.beta1 on my Mac with OSX 10.7.5. I manually applied > #17397, but my compilation breaks on matplotlib. Here's the log: > > Found local metadata for matplotlib-1.3.1 > Found local sources at /Users/stefan/sage/upstream/matplotlib-1.3.1.tar.gz > Checksum: f340378c43c4c3f6219ef9fd84af4ebbe18f8feb vs > f340378c43c4c3f6219ef9fd84af4ebbe18f8feb > matplotlib-1.3.1 > ==================================================== > Setting up build directory for matplotlib-1.3.1 > Finished set up > **************************************************** > Host system: > Darwin Stefans-Laptop.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 > 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 > **************************************************** > C compiler: gcc > C compiler version: > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/Users/stefan/sage/local/libexec/gcc/x86_64-apple-darwin > 11.4.2/4.9.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 > Configured with: ../src/configure --prefix=/Users/stefan/sage/local > --with-local-prefix=/Users/stefan/sage/local > --with-gmp=/Users/stefan/sage/local --with-mpfr=/Users/stefan/sage/local > --with-mpc=/Users/stefan/sage/local --with-system-zlib --disable-multilib > --disable-nls --enable-languages=c,c++,fortran --disable-libitm > --without-isl --without-cloog > Thread model: posix > gcc version 4.9.2 (GCC) > **************************************************** > NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the > Matplotlib GUI. > Not building any matplotlib graphical backends. > patching file setupext.py > Hunk #1 succeeded at 286 with fuzz 1 (offset -3 lines). > patching file lib/matplotlib/tri/_tri.cpp > patching file lib/matplotlib/tri/_tri.h > patching file setup.py > ============================================================================ > Edit setup.cfg to change the build options > > BUILDING MATPLOTLIB > matplotlib: yes [1.3.1] > python: yes [2.7.8 (default, Dec 1 2014, 18:40:06) [GCC > 4.9.2]] > platform: yes [darwin] > > REQUIRED DEPENDENCIES AND EXTENSIONS > numpy: yes [version 1.8.1] > dateutil: yes [using dateutil version 2.2] > tornado: yes [using tornado version 3.1.1] > pyparsing: yes [using pyparsing version 2.0.1] > pycxx: yes [Couldn't import. Using local copy.] > libagg: yes [pkg-config information for 'libagg' could not > be found. Using local copy.] > freetype: no [The C/C++ header for freetype2 (ft2build.h) > could not be found. You may need to install the > development package.] > png: yes [pkg-config information for 'libpng' could not > be found. Using unknown version.] > > OPTIONAL SUBPACKAGES > sample_data: yes [installing] > toolkits: yes [installing] > > OPTIONAL BACKEND EXTENSIONS > macosx: no [skipping due to configuration] > qt4agg: no [PyQt4 not found] > gtk3agg: no [Requires pygobject to be installed.] > gtk3cairo: no [Requires cairo to be installed.] > gtkagg: no [skipping due to configuration] > tkagg: no [skipping due to configuration] > wxagg: no [skipping due to configuration] > gtk: no [skipping due to configuration] > agg: yes [installing] > cairo: no [cairo not found] > windowing: no [skipping due to configuration] > > OPTIONAL LATEX DEPENDENCIES > dvipng: yes [version 1.12] > ghostscript: yes [version 8.70] > latex: yes [version 3.1415926] > pdftops: no > > ============================================================================ > * The following required packages can not be built: * freetype > Error building matplotlib package. > > real 0m6.333s > user 0m0.531s > sys 0m0.389s > ************************************************************************ > Error installing package matplotlib-1.3.1 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /Users/stefan/sage/logs/pkgs/matplotlib-1.3.1.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1 and type > 'make' or whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1' && > '/Users/stefan/sage/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > Found local metadata for matplotlib-1.3.1 > Found local sources at /Users/stefan/sage/upstream/matplotlib-1.3.1.tar.gz > Checksum: f340378c43c4c3f6219ef9fd84af4ebbe18f8feb vs > f340378c43c4c3f6219ef9fd84af4ebbe18f8feb > matplotlib-1.3.1 > ==================================================== > Setting up build directory for matplotlib-1.3.1 > Finished set up > **************************************************** > Host system: > Darwin Stefans-Laptop.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 > 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 > **************************************************** > C compiler: gcc > C compiler version: > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/Users/stefan/sage/local/libexec/gcc/x86_64-apple-darwin > 11.4.2/4.9.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 > Configured with: ../src/configure --prefix=/Users/stefan/sage/local > --with-local-prefix=/Users/stefan/sage/local > --with-gmp=/Users/stefan/sage/local --with-mpfr=/Users/stefan/sage/local > --with-mpc=/Users/stefan/sage/local --with-system-zlib --disable-multilib > --disable-nls --enable-languages=c,c++,fortran --disable-libitm > --without-isl --without-cloog > Thread model: posix > gcc version 4.9.2 (GCC) > **************************************************** > NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the > Matplotlib GUI. > Not building any matplotlib graphical backends. > patching file setupext.py > Hunk #1 succeeded at 286 with fuzz 1 (offset -3 lines). > patching file lib/matplotlib/tri/_tri.cpp > patching file lib/matplotlib/tri/_tri.h > patching file setup.py > ============================================================================ > Edit setup.cfg to change the build options > > BUILDING MATPLOTLIB > matplotlib: yes [1.3.1] > python: yes [2.7.8 (default, Dec 1 2014, 18:40:06) [GCC > 4.9.2]] > platform: yes [darwin] > > REQUIRED DEPENDENCIES AND EXTENSIONS > numpy: yes [version 1.8.1] > dateutil: yes [using dateutil version 2.2] > tornado: yes [using tornado version 3.1.1] > pyparsing: yes [using pyparsing version 2.0.1] > pycxx: yes [Couldn't import. Using local copy.] > libagg: yes [pkg-config information for 'libagg' could not > be found. Using local copy.] > freetype: no [The C/C++ header for freetype2 (ft2build.h) > could not be found. You may need to install the > development package.] > png: yes [pkg-config information for 'libpng' could not > be found. Using unknown version.] > > OPTIONAL SUBPACKAGES > sample_data: yes [installing] > toolkits: yes [installing] > > OPTIONAL BACKEND EXTENSIONS > macosx: no [skipping due to configuration] > qt4agg: no [PyQt4 not found] > gtk3agg: no [Requires pygobject to be installed.] > gtk3cairo: no [Requires cairo to be installed.] > gtkagg: no [skipping due to configuration] > tkagg: no [skipping due to configuration] > wxagg: no [skipping due to configuration] > gtk: no [skipping due to configuration] > agg: yes [installing] > cairo: no [cairo not found] > windowing: no [skipping due to configuration] > > OPTIONAL LATEX DEPENDENCIES > dvipng: yes [version 1.12] > ghostscript: yes [version 8.70] > latex: yes [version 3.1415926] > pdftops: no > > ============================================================================ > * The following required packages can not be built: * freetype > Error building matplotlib package. > > real 0m20.727s > user 0m0.451s > sys 0m0.344s > ************************************************************************ > Error installing package matplotlib-1.3.1 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /Users/stefan/sage/logs/pkgs/matplotlib-1.3.1.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1 and type > 'make' or whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1' && > '/Users/stefan/sage/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > Found local metadata for matplotlib-1.3.1 > Found local sources at /Users/stefan/sage/upstream/matplotlib-1.3.1.tar.gz > Checksum: f340378c43c4c3f6219ef9fd84af4ebbe18f8feb vs > f340378c43c4c3f6219ef9fd84af4ebbe18f8feb > matplotlib-1.3.1 > ==================================================== > Setting up build directory for matplotlib-1.3.1 > Finished set up > **************************************************** > Host system: > Darwin Stefans-Laptop.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 > 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 > **************************************************** > C compiler: gcc > C compiler version: > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/Users/stefan/sage/local/libexec/gcc/x86_64-apple-darwin > 11.4.2/4.9.2/lto-wrapper Target: x86_64-apple-darwin11.4.2 > Configured with: ../src/configure --prefix=/Users/stefan/sage/local > --with-local-prefix=/Users/stefan/sage/local > --with-gmp=/Users/stefan/sage/local --with-mpfr=/Users/stefan/sage/local > --with-mpc=/Users/stefan/sage/local --with-system-zlib --disable-multilib > --disable-nls --enable-languages=c,c++,fortran --disable-libitm > --without-isl --without-cloog > Thread model: posix > gcc version 4.9.2 (GCC) > **************************************************** > NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the > Matplotlib GUI. > Not building any matplotlib graphical backends. > patching file setupext.py > Hunk #1 succeeded at 286 with fuzz 1 (offset -3 lines). > patching file lib/matplotlib/tri/_tri.cpp > patching file lib/matplotlib/tri/_tri.h > patching file setup.py > ============================================================================ > Edit setup.cfg to change the build options > > BUILDING MATPLOTLIB > matplotlib: yes [1.3.1] > python: yes [2.7.8 (default, Dec 1 2014, 18:40:06) [GCC > 4.9.2]] > platform: yes [darwin] > > REQUIRED DEPENDENCIES AND EXTENSIONS > numpy: yes [version 1.8.1] > dateutil: yes [using dateutil version 2.2] > tornado: yes [using tornado version 3.1.1] > pyparsing: yes [using pyparsing version 2.0.1] > pycxx: yes [Couldn't import. Using local copy.] > libagg: yes [pkg-config information for 'libagg' could not > be found. Using local copy.] > freetype: no [The C/C++ header for freetype2 (ft2build.h) > could not be found. You may need to install the > development package.] > png: yes [pkg-config information for 'libpng' could not > be found. Using unknown version.] > > OPTIONAL SUBPACKAGES > sample_data: yes [installing] > toolkits: yes [installing] > > OPTIONAL BACKEND EXTENSIONS > macosx: no [skipping due to configuration] > qt4agg: no [PyQt4 not found] > gtk3agg: no [Requires pygobject to be installed.] > gtk3cairo: no [Requires cairo to be installed.] > gtkagg: no [skipping due to configuration] > tkagg: no [skipping due to configuration] > wxagg: no [skipping due to configuration] > gtk: no [skipping due to configuration] > agg: yes [installing] > cairo: no [cairo not found] > windowing: no [skipping due to configuration] > > OPTIONAL LATEX DEPENDENCIES > dvipng: yes [version 1.12] > ghostscript: yes [version 8.70] > latex: yes [version 3.1415926] > pdftops: no > > ============================================================================ > * The following required packages can not be built: * freetype > Error building matplotlib package. > > real 0m11.502s > user 0m0.405s > sys 0m0.357s > ************************************************************************ > Error installing package matplotlib-1.3.1 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the relevant part of the log file > /Users/stefan/sage/logs/pkgs/matplotlib-1.3.1.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1 and type > 'make' or whatever is appropriate. > Instead, the following commands setup all environment variables > correctly and load a subshell for you to debug the error: > (cd '/Users/stefan/sage/local/var/tmp/sage/build/matplotlib-1.3.1' && > '/Users/stefan/sage/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.