|
From: Jacob B. <jak...@gm...> - 2011-10-23 06:46:29
|
Yarr. Sorry for the noise. Just needed to install the freetype headers :| apt-get install libfreetype6-dev -- Jake Biesinger Graduate Student Xie Lab, UC Irvine On Sat, Oct 22, 2011 at 11:40 PM, Jacob Biesinger <jak...@gm...>wrote: > Hi! > > Trying to upgrade my matplotlib to use the new 3d plotting tools. > > $ sudo pip install -U matplotlib > ... > 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 -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MP > L_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/usr/lib/pymodules/python2.7/numpy/core/include -I/usr/local/include > -I/usr/inclu > de -I. -I/usr/lib/pymodules/python2.7/numpy/core/include/freetype2 > -I/usr/local/include/freetype2 -I/usr/include/free > type2 -I./freetype2 -I/usr/include/python2.7 -c src/ft2font.cpp -o > build/temp.linux-x86_64-2.7/src/ft2font.o > > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > > In file included from src/ft2font.cpp:1:0: > > src/ft2font.h:14:22: fatal error: ft2build.h: No such file or director > > > and it looks like the file really is missing... > $ find build/ -name *ft2build* > $ ls build/matplotlib/src/ > agg_py_path_iterator.h _backend_gdk.c _gtkagg.cpp mplutils.cpp > path_cleanup.h _tkagg.cpp > agg_py_transforms.cpp backend_gdk.c _image.cpp mplutils.h > path_converters.h _ttconv.cpp > agg_py_transforms.h cntr.c _image.h numerix.h > _path.cpp _windowing.cpp > _backend_agg.cpp ft2font.cpp _macosx.m nxutils.c > _png.cpp _wxagg.cpp > _backend_agg.h ft2font.h MPL_isnan.h path_cleanup.cpp > _subprocess.c > > > Perhaps someone forgot to hg add a file? > > -- > Jake Biesinger > Graduate Student > Xie Lab, UC Irvine > > |