|
From: Chris B. <Chr...@no...> - 2005-06-17 16:53:00
|
John Hunter wrote:
>>>>>>"Chris" == Chris Barker <Chr...@no...> writes:
> Chris> I've also enclosed my write-up of how to setup and build a
> Chris> static version on OS-X. Comments on that would be great
> Chris> too.
>
> Chris> 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
Chr...@no...
|