On 06/10/10 07:16 AM, David Kirkby wrote:

I've tried the following - none of which avoid matplotlib finding the
version of freetype on my system and not the one in Sage.

1) $ export PKG_CONFIG_PATH=/export/home/drkirkby/32/sage-4.4.3/local/pkgconfig

Actually, that should have been

PKG_CONFIG_PATH=/export/home/drkirkby/32/sage-4.4.3/local/lib/pkgconfig

but it does not help the situation.

This issue is not specific to Solaris either. On sage.math (linux), the install shows:

             freetype2: 9.16.3

which is what is shown by

kir...@sage:~$ /usr/bin/pkg-config --modversion freetype2
9.16.3

So it looks to me like the presence of pkg-config on a system is forcing matplotlib to use that version of freetype and ignore the one which is shipped with Sage. That can't be desirable, but how to fix it is less than clear to me.

The *only* way I have found so far to avoid matplotlib finding the old version of freetype2, is to change the permissions on pkg-config so it can't be executed. That needs root access of course. Then Sage reports it finds freetype2, but does not know the version. It would appear to me at that point that it probably finds the one shipped with Sage.

I thought the high version number of freetype2 on Solaris might have been a mistake, but it is similar on sage.math too. There's something I'm not understanding here.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to