Bonjour sage-release, On Wednesday, April 2, 2014 2:09:20 AM UTC+2, Volker Braun wrote: > > Get it from the "develop" git branch or the source tarball at > http://boxen.math.washington.edu/home/release/sage-6.2.beta6/sage-6.2.beta6.tar.gz >
I get an error while building matplotlib1-3.1. It seems "freetype" is missing. I copy pasted the relevant log below. My computer is kind of old (mac osx 10.5.8) : $ uname -a Darwin pol 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 $ cat /Users/slabbe/Applications/sage-6.2.beta6/logs/pkgs/matplotlib-1.3.1.log Found local metadata for matplotlib-1.3.1 Found local sources at /Users/slabbe/Applications/sage-6.2.beta6/upstream/matplotlib-1.3.1.tar.gz Checksum: 0673384bdd92d3c6d135d7b9729a221b vs 0673384bdd92d3c6d135d7b9729a221b matplotlib-1.3.1 ==================================================== Setting up build directory for matplotlib-1.3.1 Finished set up **************************************************** Host system: Darwin pol 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Users/slabbe/Applications/sage-6.2.beta6/local/libexec/gcc/i386-apple-darwin9.8.0/4.7.3/lto-wrapper Target: i386-apple-darwin9.8.0 Configured with: ../src/configure --prefix=/Users/slabbe/Applications/sage-6.2.beta6/local --with-local-prefix=/Users/slabbe/Applications/sage-6.2.beta6/local --with-gmp=/Users/slabbe/Applications/sage-6.2.beta6/local --with-mpfr=/Users/slabbe/Applications/sage-6.2.beta6/local --with-mpc=/Users/slabbe/Applications/sage-6.2.beta6/local --with-system-zlib --disable-multilib --disable-nls Thread model: posix gcc version 4.7.3 (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 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.5 (default, Apr 5 2014, 03:09:15) [GCC 4.7.3]] platform: yes [darwin] REQUIRED DEPENDENCIES AND EXTENSIONS numpy: yes [version 1.7.0] dateutil: yes [using dateutil version 2.2] tornado: yes [tornado was not found. It is required for the WebAgg backend. pip/easy_install may attempt to install it after matplotlib.] 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 0m3.183s user 0m0.512s sys 0m0.573s ************************************************************************ 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/slabbe/Applications/sage-6.2.beta6/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/slabbe/Applications/sage-6.2.beta6/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/slabbe/Applications/sage-6.2.beta6/local/var/tmp/sage/build/matplotlib-1.3.1' && '/Users/slabbe/Applications/sage-6.2.beta6/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-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To post to this group, send email to sage-release@googlegroups.com. Visit this group at http://groups.google.com/group/sage-release. For more options, visit https://groups.google.com/d/optout.