[Pythonmac-SIG] Matplotlib, other libs and the Universal Python
Bob Ippolito
bob at redivi.com
Fri Jul 14 23:20:25 CEST 2006
On Jul 14, 2006, at 1:47 PM, Christopher Barker wrote:
> Hi all,
>
> I'm working on Building a Matplotlib that will work with the Universal
> Python.
>
> I was going along just fine, following the procedure that I've used
> before, but low and behold, I've run into a problem.
>
> MPL Requires libpng and a version of libfreetype that doesn't come
> with
> OS-X.
>
> In the past, I built static versions of these, put them in a place
> where
> distutils will find them, and presto!
>
> However, I have a PPC Mac, so I now have PPC libs, and that's won't
> link
> with the Intel binaries. At least that's what I think the problem
> is. In
> any case, I know that will be a problem.
>
> So, while I dig around the net for ways to build a universal static
> libs
> from libpng and libfreetype, does anyone have any hints for me?
>
> Of ready to go packages of these?
I use the script that SDL uses, gcc-fat.sh. It's a compiler frontend
that compiles 10.2 PPC with gcc3.3 and 10.4 i386 with gcc4. Not
compatible with everything, but definitely works with libpng.
There's a copy of it sitting in here:
http://cvs.icculus.org/smpeg/
-bob
More information about the Pythonmac-SIG
mailing list