Re: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: wk <304702903(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'
Date: 2013-04-16 15:53:21
Message-ID: 20130416155321.GJ8626@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

wk wrote:
> hi:Linux centos6.4 2.6.32-358.el6.i686 #1 SMP Thu Feb 21 21:50:49 UTC 2013 i686 i686 i386 GNU/Linux
>
> stap -v
> A script must be specified.
> Systemtap translator/driver (version 1.8/0.152 non-git sources)
> Copyright (C) 2005-2012 Red Hat, Inc. and others
> my configure:
> ./configure --enable-debug --enable-dtrace --prefix=/home/tom/pg9.2.1/ DTRACE=/usr/bin/stap --without-zlib
> error is:

> make[3]: Entering directory `/home/tom/postgresql-9.2.1/src/backend/utils'
> /usr/bin/stap -C -h -s probes.d -o probes.h.tmp
> /usr/bin/stap: invalid option -- 'C'

Evidently our DTrace support hasn't been ported to the systemtap
emulation; or maybe you need some more config options. I think you will
need to hack the makefiles until it works, and we could use a patch.
I'm sure many will be happy to use SystemTap with our dtrace
tracepoints.

(I vaguely recall somebody saying this already worked, years ago; maybe
you should troll the pgsql-hackers archives.)

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-04-16 16:08:57 Re: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'
Previous Message wk 2013-04-16 15:46:30 configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'