回复: [GENERAL] configure --enable -dtrace (systemtap) on centos6.4 x86_3277yML3Vzci9iaW4vc3RhcDo invalid option -- 'C'

From: wk <304702903(at)qq(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: 回复: [GENERAL] configure --enable -dtrace (systemtap) on centos6.4 x86_3277yML3Vzci9iaW4vc3RhcDo invalid option -- 'C'
Date: 2013-04-20 14:39:53
Message-ID: tencent_4B7F673700CAC39B69A43008@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

thanks,i have resolved the problem.

change to kernel-headers-2.6.32-358.2.1.el6.i686 is ok.

------------------ 原始邮件 ------------------
发件人: "Tom Lane"<tgl(at)sss(dot)pgh(dot)pa(dot)us>;
发送时间: 2013年4月17日(星期三) 凌晨0:08
收件人: "Alvaro Herrera"<alvherre(at)2ndquadrant(dot)com>;
抄送: "wk"<304702903(at)qq(dot)com>; "pgsql-general"<pgsql-general(at)postgresql(dot)org>;
主题: Re: [GENERAL] configure --enable -dtrace (systemtap) on centos6.4 x86_3277yML3Vzci9iaW4vc3RhcDo invalid option -- 'C'

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> wk wrote:
>> 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.

--enable-dtrace has worked just fine in Fedora and RHEL builds for
several years now. What version of systemtap are you using exactly?
(A look into Red Hat's bugzilla suggests that versions later than
somewhere around 0.9.9 ought to work.)

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Browse pgsql-general by date

  From Date Subject
Next Message Mike Levine 2013-04-20 15:01:41 Where in the source code does postgres write to disk?
Previous Message Jasen Betts 2013-04-20 10:13:24 Re: PostgreSQL registry entries for apt-get/yum/rpm install