Universal OSX Build

- Yes to all the numerix.
- Yes to Tk.
- I never bother with gtk on mac, and I thought we discussed that
primarily fink/darwin ports people would be gtk users. They have a
separate python.
- It should work fine with wx, but I didn't compile the _wxagg
extension since there is not a universal wxpython yet.

The funny thing is that some of the dependencies on OSX appear to be
PPC only. Zlib is PPC only. I didn't look into the tcl/tk framework.
I guess they all work due to Rosetta, but I am still unclear on all
the details. For example, it appears I successfully linked a
universal libpng to that libz which is not universal. In any case,
everything provided by my build is universal, so that's the best we
can do. I only tested on my G4, so I am glad to hear at least one
person, Markus, had success with it.

- Charlie

···

On 4/26/06, Christopher Barker <Chris.Barker@...259...> wrote:

Charlie Moad wrote:
> Hey all (primarily Chris),
> I took the time to make a universal build that statically links
> universal libpng and freetype builds. It was built against the latest
> pyarrays. I don't know if anyone else got around to this yet.

I know I hadn't. Thanks!

Does it support all three numerix packages, TK, gtk, and wx?

Hi all,

I only tested on my G4, so I am glad to hear at least one
person, Markus, had success with it.

I ran some additional tests on it. All the animation stuff in the examples runs just fine and very decent. The pylab mode of ipython also works out of the box with this build.

Greetings,

Markus

Charlie Moad wrote:

Does it support all three numerix packages, TK, gtk, and wx?

- Yes to all the numerix.
- Yes to Tk.
- I never bother with gtk on mac, and I thought we discussed that
primarily fink/darwin ports people would be gtk users. They have a
separate python.

yes, we did, sorry to write that so quick.

- It should work fine with wx, but I didn't compile the _wxagg
extension since there is not a universal wxpython yet.

There is a test version now. I'll try what you have done, and then maybe
try to build with the new Universal wxPython.

The funny thing is that some of the dependencies on OSX appear to be
PPC only. Zlib is PPC only.

Do you mean that there is no zlib on intel Macs? Or that the zlib that
you have is a PPC only binary? If the later, then that makes sense. It's
a dynamic lib, so it's runtime linked. At runtime, you only need the
native one. Presumably Intel macs have an intel native zlib installed.

I guess they all work due to Rosetta,

Rosetta is pretty cool, but I don't think it supports mixing intel and
PPC libs in one running app.

I am glad to hear at least one
person, Markus, had success with it.

If it ain't broke, don't fix it!

-thanks for all your work.

-Chris

···

On 4/26/06, Christopher Barker <Chris.Barker@...259...> wrote:

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...