compiling 0.87.2 on macosx

what's causing this problem?
i've been compiling all recent matplotlib releases
on my system, but 0.87.x cause problems:

buri:~/Desktop/matplotlib-0.87.2 vidar$ python
Python 2.4.2 (#1, Jan 9 2006, 02:03:19)
[GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import pylab

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/pylab.py", line 1, in ?
    from matplotlib.pylab import *
  File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 200, in ?
    from axes import Axes, PolarAxes
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 15, in ?
    from axis import XAxis, YAxis
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line 25, in ?
    from font_manager import FontProperties
  File "/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py", line 39, in ?
    from matplotlib import ft2font
ImportError: Failure linking new module: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so: Symbol not found: _FT_Get_PS_Font_Info
  Referenced from: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so
  Expected in: /usr/local/lib/libfreetype.6.dylib

This looks like the same error you get if you try to link against
Apple's bundled freetype in /usr/X11R6/lib. Also, the "libfreetype.6"
makes me think this library is not freetype2. How did you install
freetype?

- Charlie

···

On 3/16/06, Vidar Gundersen <vidar+list@...599...> wrote:

what's causing this problem?
i've been compiling all recent matplotlib releases
on my system, but 0.87.x cause problems:

buri:~/Desktop/matplotlib-0.87.2 vidar$ python
Python 2.4.2 (#1, Jan 9 2006, 02:03:19)
[GCC 4.0.1 (Apple Computer, Inc. build 5247)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.4/site-packages/pylab.py", line 1, in ?
    from matplotlib.pylab import *
  File "/usr/local/lib/python2.4/site-packages/matplotlib/pylab.py", line 200, in ?
    from axes import Axes, PolarAxes
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axes.py", line 15, in ?
    from axis import XAxis, YAxis
  File "/usr/local/lib/python2.4/site-packages/matplotlib/axis.py", line 25, in ?
    from font_manager import FontProperties
  File "/usr/local/lib/python2.4/site-packages/matplotlib/font_manager.py", line 39, in ?
    from matplotlib import ft2font
ImportError: Failure linking new module: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so: Symbol not found: _FT_Get_PS_Font_Info
  Referenced from: /usr/local/lib/python2.4/site-packages/matplotlib/ft2font.so
  Expected in: /usr/local/lib/libfreetype.6.dylib

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

Charlie Moad wrote:

This looks like the same error you get if you try to link against
Apple's bundled freetype in /usr/X11R6/lib. Also, the "libfreetype.6"
makes me think this library is not freetype2.

No, that is the correct soname for FreeType2's libfreetype library.

···

--
Robert Kern
robert.kern@...287...

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
  -- Umberto Eco