It's especially odd that they've chosen to support the -h option, but not the
-G option -- I'm not to what purpose one could put the generated header file.
Perhaps the Apple folks could comment?
Adam
On Fri, Oct 26, 2007 at 10:27:25AM -0500, Robert Lor wrote:
Anyone know why -G flag is not supported in the Dtrace port in Leopard? This
makes the dtrace cmd in Leopard incompatible with that on Solaris, and it's
already causing problem with PostgreSQL.
-Robert
Date: Fri, 26 Oct 2007 07:30:10 +0000 (GMT)
From: Lee Packham <lpackham at gmail.com>
Subject: [BUGS] BUG #3699: Fails to compile DTrace Support
To: pgsql-bugs at postgresql.org
X-Mailing-List: pgsql-bugs
The following bug has been logged online:
Bug reference: 3699
Logged by: Lee Packham
Email address: lpackham at gmail.com
PostgreSQL version: 8.2.5
Operating system: OSX Leopard
Description: Fails to compile DTrace Support
Details:
I have built a patch to enable a working DTrace on OSX with Postgres 8.2.5.
Basically the problem is that the dtrace command on OSX doesn't have the -G
parameter - so you have to use the newer -h method to produce a header file.
I have put the patch on my blog.
http://leenux.org.uk/dtrace-patches/dtrace-with-postgres-on-osx
Hope this is of use to you guys.
Cheers,
Lee Packham
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org