SourceForge logo
SourceForge logo
Menu

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

From: Boyd W. <bw...@nr...> - 2007年11月04日 19:07:23
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 patches) tomorrow; 
(my Leopard problem is that SSH won't respond so I can't get to my 
office machine from home).
I have some opinions about your other questions, the answers are to 
set specific environment variables.
However, my answers MIGHT BE WRONG because I can't test these at the 
moment (see ssh problem, above)
So take these responses with some skepticism. But perhaps they can 
point you in a helpful direction:
On Nov 4, 2007, at 6:29 AM, John Hunter wrote:
> Now for my next problem: I built zlib, libpng an freetype from source
> and I get a
>
> ld: warning in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/ 
> libpng.dylib,
> file is not of required architecture
Hmm, what about setting a MACOSX_DEPLOYMENT_TARGET=10.5
>
> error when building mpl. Is there an easy way in the
> configure/make/make install cycle to tell the compiler to build
> universal binaries?
I believe that "generic" autoconf would pick up CFLAGS:
CFLAGS="-arch ppc -arch i386"
> Alternatively, can I instruct distutils to simply not provide the
> -arch ppc build?
Distutils uses ARCHFLAGS -- if you are using the Python from Apple 
Leopard:
ARCHFLAGS="-arch i386"

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /