How to build on OS-X by default

Hi all, I've been working on my binary packages for

    > I've also enclosed my write-up of how to setup and build a
    > static version on OS-X. Comments on that would be great
    > too.

    > Other thoughts?

I think all of this looks good. My only comment is that I think it
would save work in the long run to not use static libs in the static
dir, but instead put in the src trees for zlib, libpng and freetype,
because then it can be reused by all other platforms (win32, UNIX*,
linux, OSX...). It's a little more work initially, but the work will
benefit many more platforms. We could then distribute this tar file
as a separate file to keep the distribution size down. I think that
zlib and png are pretty trivial (everything in one dir); freetype
would take a little thought because of its more complicated dir
structure.

JDH

John Hunter wrote:

"Chris" == Chris Barker <Chris.Barker@...259...> writes:

    > I've also enclosed my write-up of how to setup and build a
    > static version on OS-X. Comments on that would be great
    > too.

    > Other thoughts?

I think all of this looks good. My only comment is that I think it
would save work in the long run to not use static libs in the static
dir, but instead put in the src trees for zlib, libpng and freetype,
because then it can be reused by all other platforms (win32, UNIX*,
linux, OSX...)

This is a fine idea, but I'm not going to do it. If someone else does, I'll update my docs with the new info. Basically, I don't know how to make setup.py build the libs inside the tree, and I'm not sure I want to figure it out. I'm spent more time on this than I intended as it is.

A small note: OS-X includes zib, so that's not needed, at least for OS-X.

One other concern: This will mean that those libs might not match the versions used by other python packages. Would there be any conflict if there are essentially two versions of the same lib both linked to python at the same time?

> freetype

would take a little thought because of its more complicated dir
structure.

True, but it does build with a simple "make", so it may not be a big deal.

-Chris

···

--
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...