Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-25 Thread Christopher Barker
John Hunter wrote: Instead of all of us going through the pain of figuring out how to build and link static libs for MPL, and PIL, and GDAL, and ???, why don't we just build against the nice Frameworks here: http://www.kyngchaos.com/wiki/software:frameworks I read your post and perhaps

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-25 Thread Christopher Barker
John Hunter wrote: I may have spoken too quickly -- I forgot that on my system in order to get the mpl build to find the xcode libpng and freetype libs I had to install pkgconfig, as I described at so it is not exactly automatic. But it does work, in my experience. The issue here is not

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-24 Thread Christopher Barker
Chris wrote: export CFLAGS=-arch i386 -I/Developer/src/libpng -I/Developer/src/freetype/include export LDFLAGS=-arch i386 -L/Developer/src/libpng -L/Developer/src/freetype rm -rf build python setupegg.py bdist_egg The build of freetype in /Developer/src/freetype does not even have

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-24 Thread Christopher Barker
One more comment: Chris wrote: maptlotlib is the only missing piece of the superpack of modules that I distribute for OSX. The Superpack is great, but please, please, please built it Universal -- if you do that, then we'll solve a lot of distribution issues for OS-X python users everywhere.

Re: [Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-24 Thread John Hunter
On Thu, Apr 24, 2008 at 11:51 AM, Christopher Barker [EMAIL PROTECTED] wrote: I posted a note about this yesterday, with no replies, so I'll try again: Instead of all of us going through the pain of figuring out how to build and link static libs for MPL, and PIL, and GDAL, and ???, why

[Matplotlib-users] How do you static link to freetype when building eggs?

2008-04-23 Thread Chris
I've had an ongoing problem building eggs of matplotlib that are statically linked to freetype. I thought I had it nailed, but evidently I do not. Here is my script: export CFLAGS=-arch i386 -I/Developer/src/libpng -I/Developer/src/freetype/include export LDFLAGS=-arch i386