Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-12 Thread John Hunter
On Nov 4, 2007 1:06 PM, Boyd Waters <[EMAIL PROTECTED]> wrote: > I believe that "generic" autoconf would pick up CFLAGS: > > CFLAGS="-arch ppc -arch i386" Worked for zlib and freetype, but failed for libpng with: gcc -DHAVE_CONFIG_H -I. -I. -I. -DPNG_CONFIGURE_LIBPNG -arch ppc -arch i386 -MT li

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-05 Thread Christopher Barker
John Hunter wrote: > Now for my next problem: I built zlib, libpng an freetype from source > and I get a William Kyngesburye is building and maintaining a nice set of Universal Frameworks of various libs that are more or less standard on Linux: http://www.kyngchaos.com/software/unixport/framewor

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-04 Thread Boyd Waters
As a general note, I built MatPlotlib-SVN on Leopard against the Apple Python, using the numpy, libz, freetype, and png that are included with Leopard. It seems to work fine, superficially; I have not run extensive regressions with it yet. I can send along a MacPorts portfile (including pat

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-04 Thread John Hunter
On 11/4/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Are you using the gfortran from hpc.sf.net? I don't recommend it anymore. I > use > the binary from http://r.research.att.com/tools/. It is universal. That > should help. Yep, I was. That was the binary recommended first on the wiki (at with

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-03 Thread Robert Kern
John Hunter wrote: > On 11/4/07, Jouni K Seppänen <[EMAIL PROTECTED]> wrote: > >> Just a guess: Apple's Python is configured to compile everything as >> universal, >> but you have installed a non-universal gcc in /usr/local, perhaps as a >> result >> of installing some version of gfortran. > >

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-03 Thread Jouni K Seppänen
John Hunter <[EMAIL PROTECTED]> writes: > > Just a guess: Apple's Python is configured to compile everything as > > universal, but you have installed a non-universal gcc in /usr/local, > > perhaps as a result of installing some version of gfortran. > > Possibly, but 'which gcc' points to the /

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-03 Thread John Hunter
On 11/4/07, Jouni K Seppänen <[EMAIL PROTECTED]> wrote: > Just a guess: Apple's Python is configured to compile everything as universal, > but you have installed a non-universal gcc in /usr/local, perhaps as a result > of installing some version of gfortran. Possibly, but 'which gcc' points to t

Re: [matplotlib-devel] OS X Leopard install, snag

2007-11-03 Thread Jouni K Seppänen
John Hunter <[EMAIL PROTECTED]> writes: > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.1.dylib, > missing required architecture ppc in file for architecture ppc > collect2: ld returned 1 exit status Just a guess: Apple's Python is configured to compile everything as universal, bu

[matplotlib-devel] OS X Leopard install, snag

2007-11-03 Thread John Hunter
I have a new intel powerbook running OS X 10.5 (leopard) which I upgraded via DVD from a factory installed 10.4. I decided to take detailed notes on every step of configuring the box as a development machine for scientific python, figuring it would be useful to others. The install of ipython, nu