On Jun 19, 2009, at 2:25 PM, William Miner wrote:
I downloaded the platform independent version from sourceforge but
it failed
to install
ld warning: in
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libgcc_s.10.4.dylib,
missing
required architecture ppc in file
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
lipo: can't open input file:
/var/folders/ox/oxCjO1aEEEmQ-Huy2hHhUU+++TI/-Tmp-//cc3nVEOJ.out (No
such
file or directory)
error: command 'g++' failed with exit status 1
What do you mean by, "matplotlib installed from svn just fine."
The code I downloaded from the matplotlib svn repository successfully
installed with
>>> sudo python setup.py install
However, I was building against a python 2.6 that I built from source.
Where did you obtain the python you are using? I've run into these
"missing required architecture" issues before and I'd like to narrow
down the cause so we can avoid it or document the proper workarounds.
In the meantime, please try:
export MACOSX_UNIVERSAL_BUILD=0
or
setenv MACOSX_UNIVERSAL_BUILD 0
depending on your shell (bash or (t)csh), and then attempt to build
matplotlib again.