matplotlib fails to build for me with the new freetype headers. The
command that fails is the following:
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 -DNDEBUG -g -fwrapv -O3 -Wall -march=native -pipe -fPIC
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/home/punarbasu/Installations/sage/local/include
-I/home/punarbasu/Installations/sage/local/lib/python2.7/site-packages/numpy/core/include
-I/home/punarbasu/Installations/sage/local/include/freetype2
-I/home/punarbasu/Installations/sage/local/include -I.
-I/home/punarbasu/Installations/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/punarbasu/Installations/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.
Now, that header is present, but it is present in a different path
"freetype2" (note the extra 2 at the end)
~/Installations/sage» ll local/include/ft2build.h
-rw-r--r-- 1 punarbasu punarbasu 3.8K Dec 29 17:47 local/include/ft2build.h
~/Installations/sage» ll local/include/freetype2/config/ftheader.h
-rw-r--r-- 1 punarbasu punarbasu 25K Jan 4 18:33
local/include/freetype2/config/ftheader.h
It seems ft2build.h was installed by freetype-2.3.5 -- the earlier
version of freetype. Since sage has no means of uninstalling packages
installed earlier, it interferes with the current freetype.
...tallations/sage/logs/pkgs» grep -B2 'ft2build.h$' *
freetype-2.3.5.p4.log-make[3]: [install] Error 1 (ignored)
freetype-2.3.5.p4.log-/usr/bin/install -c -m 644 ./builds/unix/ft2unix.h \
freetype-2.3.5.p4.log:
/home/punarbasu/Installations/sage/local/include/ft2build.h
How can I fix this?
- basu.
On 01/06/2014 02:57 AM, Volker Braun wrote:
6.1.beta4 is identical to the git "develop" branch, as usual. Tarball is
here:
http://boxen.math.washington.edu/home/release/sage-6.1.beta4/sage-6.1.beta4.tar.gz
$ git log --oneline --author "Release Manager" 6.1.beta4 ^6.1.beta3
1a15a08 Trac #15192: add is_unit() for residue fields
aa5bbc9 Trac #8723: Change to return type of E.multiplication_by_m(m,True)
1d1e1e4 Trac #11630: Local data of elliptic curves should not do any
global work
8a2f0f9 Trac #15609: IntegerVectors_nk.rank() specialization
edb1870 Trac #15559: Allow calling PARI's gcd and lcm with one argument
400e2fb Trac #11368: can't coerce pari to rational function field
0418a3e Trac #15619: Pickling of immutable graphs
dd71659 Trac #5153: bug in simon_two_descent for elliptic curves
2820bfc Trac #2217: splitting field function for number fields
e43cc00 Trac #15549: Streamline construction of PARI objects
90ac26e Trac #15603: "immutable=True" for Graph/Digraph __init__ and copy()
4af8b39 Trac #15278: Hash and equality for graphs
1775d4a Trac #15551: Rename Graph.trace_faces to Graph.faces
d4a3706 Trac #13596: Improvements to IntegerMod is_square
fdaf2f6 Trac #13593: tighter upper bound on elliptic curve rank
4c2a75c Trac #15572: Exceptions when multiedges/loops are not supported
b5a31ff Trac #15441: Clean up ecl SIGCHLD configuration
87fc828 Trac #15588: Cleanup of integer_mod_ring.py
7919b93 Trac #11802: Generation of Lucas sequences modulo an integer
90516f9 Trac #7695: naming of the variable in subfields of cyclotomic fields
9c9a8c6 Trac #15292: matroids.Uniform(r,r) returns wrong matroid
fd76065 Trac #13771: Canonical Forms and Automorphism Groups of linear codes
fddd442 Trac #15516: Allow constant f in HyperellipticCurve
bf4dc37 Trac #15048: Tutorial: unclear/redundant text in `latex.rst`
075c388 Trac #15556: Convert Stein-Watkins database to git spkg format
9ec5abd Trac #15587: Package the git trac subcommand
b341657 Trac #14858: Type checks in arith.py
779807d Trac #11271: there is a serious bug in the documentation or code
for is_surjective for
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/groups/opt_out.