Is this really the current solution to building matplotlib on OSX, installing a new compiler and hacking the python Makefile?
I was able to build matplotlib 0.91.2 just fine on OSX, sometime around March I checked out the truck to fix a bug and discovered I couldn't build the svn version. Matplotlib is the only package with a dependency on gcc 4.2, all the other packages I build, numpy, scipy, ipython, etc... build with gcc 4.0. Why do you have this dependency? Is there an easier solution? I'm reluctant to upgrade to gcc 4.2 and loose the ability to build other packages I need. Chris On Thu, May 29, 2008 at 4:51 AM, Joshua Lippai <[EMAIL PROTECTED]> wrote: > I've consistently been able to build matplotlib on OS X. Just make > sure you have all the dependencies installed. Personally, I have lbpng > and whatnot installed in /usr/local instead of /usr/X11. I don't know > if that'll help. Also, I use the GCC 4.2 that Apple has available for > download on developer.apple.com. Then you just change the Makefile in > the /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ > directory to not use Wno-long-double or no-cpp-precomp. I also took > out all the ppc arch flags since it was causing some issues there with > my versions of libpng and whatnot technically not being universal > binaries. If you don't want to build univeral binary versions of your > dependencies or use the ones alread provided in /usr/X11 (which are > universal I think), you should make Python only build for your > architecture, which is what I did. > > My only issue with matplotlib thusfar seems to be the inability to do > the plot3d examples from the scipy website, but I'm told that stuff is > officially unsupported anyway. > > Josh > -- Christopher Burns Computational Infrastructure for Research Labs 10 Giannini Hall, UC Berkeley phone: 510.643.4014 http://cirl.berkeley.edu/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users