On Mar 21, 2008, at 6:12 AM, Michael Droettboom wrote:
> I vaguely recall a bug whereby mathtext on PDF was upside down
> (because the direction of the y-axis was not being inverted)... but
> I can't find the bug report.
>
> It does seem to work in 0.90.1 and 0.91.2 (on Linux at least). Are
> you able to upgrade?
Hm.
On my Linux box, Well, easy_install should upgrade me to 91.2, but
won't build because ft2build.h is missing...? Apparently that's part
of freetype v2, which I have installed...
On my Mac, easy_install says that matplotlib 0.87.7 is the active
version and the best version.
I guess I can't easy install...
02:46 PM t:/home/simsong# easy_install matplotlib
Searching for matplotlib
Reading http://pypi.python.org/simple/matplotlib/
Reading http://matplotlib.sourceforge.net
Reading
http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474
Reading http://sourceforge.net/project/showfiles.php?group_id=80706
Best match: matplotlib 0.91.2
Downloading
http://downloads.sourceforge.net/matplotlib/matplotlib-0.91.2.tar.gz?modtime=1199627250&big_mirror=0
Processing matplotlib-0.91.2.tar.gz
Running matplotlib-0.91.2/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-YMu8YK/matplotlib-0.91.2/egg-dist-tmp-AOR3hR
=
=
=
=
BUILDING MATPLOTLIB
matplotlib: 0.91.2
python: 2.4.4 (#1, Oct 23 2006, 13:58:18) [GCC 4.1.1
20061011 (Red Hat 4.1.1-30)]
platform: linux2
REQUIRED DEPENDENCIES
numpy: 1.0.3
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers
in any
* of '/usr/local/include', '/usr/include', '.',
* '/usr/local/include/freetype2',
* '/usr/include/freetype2', './freetype2'.
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
* Could not find 'libpng' headers in any of
* '/usr/local/include', '/usr/include', '.'
Tkinter: no
* Tkinter present, but header files are not
found.
* You may need to install development packages.
wxPython: no
* WXAgg's accelerator requires `wx-config'.
The
* `wx-config' executable could not be located
in any
* directory of the PATH environment variable.
If you
* want to build WXAgg, and wx-config is in some
* other location or has some other name, set
the
* WX_CONFIG environment variable to the full
path of
* the executable like so: export WX_CONFIG=/
usr/lib
* /wxPython-2.6.1.0-gtk2-unicode/bin/wx-config
Gtk+: no
* pygtk present but import failed
Qt: Qt: 3.3.7, PyQt: 3.17
Qt4: no
Cairo: 1.2.6
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: present, version unknown
pytz: 2006p
OPTIONAL USETEX DEPENDENCIES
dvipng: 1.5
ghostscript: 8.15.4
latex: 3.141592
pdftops: 3.00
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: matplotlib will provide
[Edit setup.cfg to suppress the above messages]
=
=
=
=
warning: no files found matching 'NUMARRAY_ISSUES'
warning: no files found matching 'MANIFEST'
warning: no files found matching 'matplotlibrc'
warning: no files found matching 'lib/matplotlib/toolkits'
no previously-included directories found matching 'examples/_tmp_*'
In file included from src/ft2font.cpp:2:
src/ft2font.h:11:22: error: ft2build.h: No such file or directory
src/ft2font.h:12:10: error: #include expects "FILENAME" or
src/ft2font.h:13:10: error: #include expects "FILENAME" or
src/ft2font.h:14:10: error: #include expects "FILENAME" or
src/ft2font.h:15:10: error: #include expects "FILENAME" or
src/ft2font.h:16:10: error: #include expects "FILENAME" or
src/ft2font.h:31: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:31: error: ‘FT_Int’ has not been declared
src/ft2font.h:75: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:75: error: ISO C++ forbids declaration of ‘FT_Face’ with
no type
src/ft2font.h:81: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:81: error: ISO C++ forbids declaration of ‘FT_Face’ with
no type
src/ft2font.h:121: error: ‘FT_Face’ does