Eric Firing wrote:
It would be nice if some people who have successfully built on Windows could collectively assemble a step-by-step account of how to go from a bare Win box to a working mpl (preferably compiled with mingw); but maybe this would take more effort than it is worth.
I don't think so -- that would be great!
> I gather a similar account would be useful for OS X.
It would, and it's been done at various times by various people (myself included, a good while back). I don't know if there is a recent one out there.
both of these should be in an easy-to-find place on the Wiki.
As for OS-X: OS-X is a pain in the &^%^ because Apple doesn't include all the libs MPL needs (I'm not up to date on this, but I think libpng, libjpeg and libfreetype). On Windows, this is also the case, but I understand that the MPL distro includes them. On OS-X, it is just easy enough to get them elsewhere that there isn't the motivation to get them included in MPL. However, the problem comes in that there are way too many ways to get these libs on OS-X:
- compile from a tarball
- various binary installers.
Also, even with these methods, there are issues of how they compiled: Intel, PPC, or Universal.
Ideally, we'd all use the same Universal libs, but the fact is that it it easier to get it running on your own machine by using fink or macport or the tarball, and building just for your system, but then you dont' get something fully redistributable.
Further complicating all this is that there are way too many versions of Python for OS-X: Framework, fink, macports, activestate, Apple's, "MacPython", etc.
Personally, I'd really like there to be a decision about what is supported by MPL, and I think that should be:
MacPython2.5 (for OS-X 10.3.9 to 10.5)
Extra libs statically linked in.
Most recent numpy release.
Tk and wx back-ends
Cocoa? (is that functional?)
It's a bit of pain to get set up to build this, but once you're set up, it's easy to do and distribute it an everyone can use it.
Also, I THINK it's possible to build a binary distro (egg?) that will work with both MacPython2.5 and Apple's 25 (which comes with OS-X 10.5). Can anyone confirm this?
Either easy_install or *.dmgs (build with bdist_mpkg) that can be downloaded and clicked on would be fine.
The wxPython project supports OS-X builds like this, and it works great.
fink and macports can do their own thing.
Is there currently an appropriate place in the Wiki for "How to install on OS-X" ?
After all that writting, I see:
on the sourceforge download site -- this looks like it's just what I'm suggesting. If that didn't work for the OP, we should figure out why not.
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception