On 06/10/10 12:04 PM, Jason Grout wrote:
On 6/10/10 6:01 AM, Dr. David Kirkby wrote:
Thank you. Having read src/docs/VERSION.DLL, I see that there are in
fact *three* different numbers all associated with the version. It is
any wonder I've been confused?


Now *I'm* confused :).

I can't possibly understand why!

What is the conclusion?

matplotlib is *not* finding the correct (i.e Sage supplied) version of freetype on Solaris, and I doubt it is on linux either, though I may be wrong about Linux.

Does anything need to be
done?

Yes, it does, but exactly what I do not know. Go ahead and update matplotlib, that can't do any harm.

Certainly on Solaris 10, the version of freetype2 being reported by matplotlib is the one in /usr/sfw, and not the one in Sage.

drkir...@redstart:~$ /usr/bin/pkg-config --modversion --cflags --libs freetype2
9.7.3

indicates version 9.7.3, which is also known as 2.1.9 and has a library version of 6.3.7 . (See table I posted). That is different to the version of freetype in Sage, which is 2.3.5 (aka 9.17.3)

On sage.math, I expect that is broken too, but I'm not 100% sure, as the version of freetype installed globally on sage.math is 9.16.2 (aka 2.3.5), which is conincidently the same version supplied in the Sage tarball. Hence it's not possible to tell where matplotlib has found freetype from on sage.math (or boxen.math), since they both version as in Sage.

I assume you have a linux box there. Can you check the output of

/usr/bin/pkg-config --modversion freetype2

Hopefully it will show something other than 9.17.3. If it does, then it would be useful to compare that version with whatever matplotlib says is your freetype2 version (just grep for "freetype2:" in install.log).

The only two systems I have access to (boxen.math and sage.math) happen to have version 9.16.2 (aka 2.3.5), which is the same version as in Sage. So I can't easily tell where matplotlib is finding freetype2 from.

I'm in the process of updating matplotlib in Sage to 0.99.3 to get a
needed bugfix into the Sage version. David: are you working on the spkg
too?

Yes. Can you create a ticket, and cc me on it. Should I find the fix before you do, then I'll let you know. If not, just release a new matplotlib. I've tried the latest version of matplotlib, but it does not fix the issues I have on Solaris. I'm just in the process of building Sage on 'sage.math' and will try a new freetype on there, and see what happens.

Thanks,
Jason Grout

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