#16002: matplotlib-1.3.1 does not install
------------------------------------------------+------------------------
       Reporter:  darij                         |        Owner:
           Type:  defect                        |       Status:  new
       Priority:  critical                      |    Milestone:  sage-6.2
      Component:  packages: standard            |   Resolution:
       Keywords:  install, package, matplotlib  |    Merged in:
        Authors:                                |    Reviewers:
Report Upstream:  N/A                           |  Work issues:
         Branch:                                |       Commit:
   Dependencies:                                |     Stopgaps:
------------------------------------------------+------------------------

Comment (by fbissey):

 Hum...
 {{{
 building 'matplotlib.ft2font' extension
 creating build/temp.linux-i686-2.7
 creating build/temp.linux-i686-2.7/src
 creating build/temp.linux-i686-2.7/CXX
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API
 -DPYCXX_ISO_CPP_LIB=1
 -I/home/darij/gitsage/sage-5.13.beta1/local/lib/python2.7/site-
 packages/numpy/core/include
 -I/home/darij/gitsage/sage-5.13.beta1/local/include -I.
 -I/home/darij/gitsage/sage-5.13.beta1/local/include/freetype2
 -I/home/darij/gitsage/sage-5.13.beta1/local/include/python2.7 -c
 src/ft2font.cpp -o build/temp.linux-i686-2.7/src/ft2font.o
 In file included from src/ft2font.h:16:0,
                  from src/ft2font.cpp:3:
 /home/darij/gitsage/sage-5.13.beta1/local/include/ft2build.h
 :56:38: fatal error: freetype/config/ftheader.h: No such file or directory
 compilation terminated.
 error: command 'gcc' failed with exit status 1
 }}}
 When you say upgrading, you mean from sage 5.13? Then yes definitely. Or
 was this upgraded in place numerous times?
 It looks to me like there is cruft in your install:

 {{{
 /home/darij/gitsage/sage-5.13.beta1/local/include/ft2build.h
 }}}
 is not in this location in my sage install but in the freetype2 sub-
 folder. If you one in the this sub folder consider removing the one in
 local/include and try again.

--
Ticket URL: <http://trac.sagemath.org/ticket/16002#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to