mpl 1.0.1 + snow leopard + python 2.7

Hi, I have OS X 10.6.6, Python 2.7.1 installed from the binary at python.org, and I am trying to get mpl 1.0.1 running. I have no problem with numpy/scipy, but I seem to be having 32 vs. 64 bit issues with mpl. I believe that the binaries online are only 32 bit, yet my installation is 64 bit. I have tried using the make.osx file, but this has not proved successful so far. In part, I am trying to avoid installing duplicate png/zlib/freetype/... libraries, which seem to be working fine at present. Has anyone successfully gotten this running from source? Alternatively, does anyone have 64 bit binaries?

-gideon

I have compiled matplotlib with a 64 bit Python on Mac OS X (using setup.py) for the MacOSX backend. It's not as hard as it may seem.
You will need 64-bit (or multiple-architecture) libraries for zlib, libpng, etc. You may have those already; you can check that by running "file" on the library. For example:

$ file /usr/local/lib/libpng.dylib
/usr/local/lib/libpng.dylib: Mach-O universal binary with 2 architectures
/usr/local/lib/libpng.dylib (for architecture i386): Mach-O dynamically linked shared library i386
/usr/local/lib/libpng.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64

If the library is 32-bit only, then you will have to compile your own zlib, libpng etc. If the library includes 64-bit, then you just need to compile matplotlib.

--Michiel.

ยทยทยท

--- On Tue, 2/22/11, Gideon Simpson <simpson@...2186...> wrote:

From: Gideon Simpson <simpson@...2186...>
Subject: [Matplotlib-users] mpl 1.0.1 + snow leopard + python 2.7
To: matplotlib-users@lists.sourceforge.net
Date: Tuesday, February 22, 2011, 1:35 PM
Hi, I have OS X 10.6.6, Python 2.7.1
installed from the binary at python.org, and I am trying to
get mpl 1.0.1 running. I have no problem with
numpy/scipy, but I seem to be having 32 vs. 64 bit issues
with mpl. I believe that the binaries online are only
32 bit, yet my installation is 64 bit. I have tried
using the make.osx file, but this has not proved successful
so far. In part, I am trying to avoid installing
duplicate png/zlib/freetype/... libraries, which seem to be
working fine at present. Has anyone successfully
gotten this running from source? Alternatively, does
anyone have 64 bit binaries?

-gideon

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs
and other IT data in
Real-Time with Splunk. Collect, index and harness all the
fast moving IT data
generated by your applications, servers and devices whether
physical, virtual
or in the cloud. Deliver compliance at lower cost and gain
new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options