thanks,i have resolved the problem.
change to kernel-headers-2.6.32-358.2.1.el6.i686 is ok.
------------------ 原始邮件 ------------------
发件人: "Tom Lane"<tgl@sss.pgh.pa.us>;
发送时间: 2013年4月17日(星期三) 凌晨0:08
收件人: "Alvaro Herrera"<alvherre@2ndquadrant.com>;
抄送: "wk"<304702903@qq.com>; "pgsql-general"<pgsql-general@postgresql.org>;
主题: Re: [GENERAL] configure --enable -dtrace (systemtap) on centos6.4 x86_3277yML3Vzci9iaW4vc3RhcDo invalid option -- 'C'
Alvaro Herrera <alvherre@2ndquadrant.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general