[Matplotlib-users] Help building

2009-06-30 Thread Rick Muller
I've been a long time, happy user of MPL, but I'm having some problems building the latest version (0.98.5.3) on the Mac (python 2.6.2). The bottom line is that when I build, I get the error message: ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, file is not o f required

Re: [Matplotlib-users] Help building

2009-06-30 Thread Michael Droettboom
What does pkg-config libpng --modversion --libs --cflags give? The pkg-config error may actually be a red herring, since matplotlib will look in /usr/local even if pkg-config fails, and it obviously found the headers or it wouldn't have gotten to the linking stage. As the author of the

Re: [Matplotlib-users] Help building

2009-06-30 Thread Rick Muller
On Tue, Jun 30, 2009 at 9:14 AM, Michael Droettboom md...@stsci.edu wrote: What does pkg-config libpng --modversion --libs --cflags give? I guess I don't have pkg-config installed. Is this a requirement? I haven't had it installed before? The pkg-config error may actually be a red

Re: [Matplotlib-users] Help building

2009-06-30 Thread Rick Muller
On Tue, Jun 30, 2009 at 9:14 AM, Michael Droettboom md...@stsci.edu wrote: What does pkg-config libpng --modversion --libs --cflags give? The pkg-config error may actually be a red herring, since matplotlib will look in /usr/local even if pkg-config fails, and it obviously found the

Re: [Matplotlib-users] Help building (problems with pkg-config and libpng)

2009-06-30 Thread Rick Muller
I have a working system now. Here's what I did to fix it. 1. Installed libpng from source 2. Installed freetype2 from source 3. Installed pkg-config from source 4. Installed a new version of the Xcode developer tools for the mac. During the build I still saw a few 'incompatible architecture'