Darwin: threads, shlibs - Mailing list pgsql-hackers

From Marko Karppinen
Subject Darwin: threads, shlibs
Date
Msg-id 2A4D57A2-7B82-11D8-AFAB-000A95C56374@karppinen.fi
Whole thread Raw
List pgsql-hackers
I was installing a Python development environment on
my Mac today, and PostgreSQL 7.4.2 as a part of it. I
noticed that according to src/tools/thread/thread_test,
you can add THREAD_SUPPORT=yes to src/template/darwin.

Additionally, PL/Python compiles and works fine
without a libpython dylib, so you can also add
allow_nonpic_in_shlib = yes to
src/makefiles/Makefile.darwin.

Note that I can only test this on Mac OS X 10.3
so if nobody's able to test it on 10.2, you might
need to add a check for Darwin 7.0 or later.
(10.1 probably doesn't work at all currently,
so no worries there...)

The cool thing here is that with these changes,
an out-of-the-box Panther system can compile and use
all of --with-tcl, --with-python and --with-perl.

Marko



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: execute command tag including affected rows count
Next
From: "Matthew T. O'Connor"
Date:
Subject: pg_autovacuum next steps