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 <FILENAME>
src/ft2font.h:13:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
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 not name a type
src/ft2font.h:122: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:123: error: ‘FT_Vector’ does not name a type
src/ft2font.h:124: error: ‘FT_Error’ does not name a type
src/ft2font.h:125: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:125: error: template argument 1 is invalid
src/ft2font.h:125: error: template argument 2 is invalid
src/ft2font.h:126: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:126: error: template argument 1 is invalid
src/ft2font.h:126: error: template argument 2 is invalid
src/ft2font.h:133: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:43: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:92: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:92: error: ‘int FT2Image::draw_bitmap’ is not a static  
member of ‘class FT2Image’
src/ft2font.cpp:92: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:92: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:93: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:94: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:94: error: initializer expression list treated as  
compound expression
src/ft2font.cpp:94: error: expected ‘,’ or ‘;’ before ‘{’ token
error: Setup script exited with error: command 'gcc' failed with exit  
status 1
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
image.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0xb806c8>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
transforms.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0xb7fb00>> ignored
Exception exceptions.OSError: (2, 'No such file or directory', 'src/ 
backend_agg.cpp') in <bound method CleanUpFile.__del__ of  
<setupext.CleanUpFile instance at 0xb80560>> ignored
02:46 PM t:/home/simsong#



02:49 PM t:/home/simsong# yum list | grep -i freetype
freetype.i386                            2.2.1-17.fc6            
installed
freetype.x86_64                          2.2.1-17.fc6            
installed
freetype-demos.x86_64                    2.2.1-17.fc6           updates
freetype-devel.i386                      2.2.1-17.fc6           updates
freetype-devel.x86_64                    2.2.1-17.fc6           updates
freetype1.x86_64                         1.4-0.2.pre.fc6        extras
freetype1-devel.x86_64                   1.4-0.2.pre.fc6        extras
freetype1-utils.x86_64                   1.4-0.2.pre.fc6        extras
02:49 PM t:/home/simsong#





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to