Hello,

After the matplotlib upgrade (#14993), typing 'make' fails with the 
following error message (see attachment for the full matplotlib build log). 

...
building 'matplotlib.ft2font' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-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/pbruin/src/sage/local/lib/python2.7/site-packages/numpy/core/include 
-I/home/pbruin/src/sage/local/include -I. 
-I/home/pbruin/src/sage/local/include/freetype2 
-I/home/pbruin/src/sage/local/include/python2.7 -c src/ft2font.cpp -o 
build/temp.linux-x86_64-2.7/src/ft2font.o
In file included from src/ft2font.h:16:0,
                 from src/ft2font.cpp:3:
/home/pbruin/src/sage/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
Error building matplotlib package.

I could solve this by deleting local/include/ft2build.h (this is the old 
location of this file, newer versions of freetype install it in 
local/include/freetype2/ft2build.h), but perhaps other people have the same 
problem when upgrading to 6.2.beta5.

Peter

-- 
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.

Attachment: matplotlib-1.3.1.log
Description: Binary data

Reply via email to