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

From: wk <304702903(at)qq(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'
Date: 2013-04-16 15:46:30
Message-ID: tencent_2ED673990FCC39B108E6BBE0@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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[4]: Entering directory `/home/tom/postgresql-9.2.1/src/backend'
make[4]: Nothing to be done for `submake-errcodes'.
make[4]: Leaving directory `/home/tom/postgresql-9.2.1/src/backend'
make[3]: Leaving directory `/home/tom/postgresql-9.2.1/src/port'
make -C catalog schemapg.h
make[3]: Entering directory `/home/tom/postgresql-9.2.1/src/backend/catalog'
make[3]: `schemapg.h' is up to date.
make[3]: Leaving directory `/home/tom/postgresql-9.2.1/src/backend/catalog'
prereqdir=`cd 'parser/' >/dev/null && pwd` && \
cd '../../src/include/parser/' && rm -f gram.h && \
ln -s "$prereqdir/gram.h" .
prereqdir=`cd 'catalog/' >/dev/null && pwd` && \
cd '../../src/include/catalog/' && rm -f schemapg.h && \
ln -s "$prereqdir/schemapg.h" .
prereqdir=`cd 'utils/' >/dev/null && pwd` && \
cd '../../src/include/utils/' && rm -f fmgroids.h && \
ln -s "$prereqdir/fmgroids.h" .
make -C utils probes.h
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'
make[3]: *** [probes.h] Error 1
make[3]: Leaving directory `/home/tom/postgresql-9.2.1/src/backend/utils'
make[2]: *** [utils/probes.h] Error 2
make[2]: Leaving directory `/home/tom/postgresql-9.2.1/src/backend'
make[1]: *** [all-backend-recurse] Error 2
make[1]: Leaving directory `/home/tom/postgresql-9.2.1/src'
make: *** [all-src-recurse] Error 2
Any suggestion?

thank you very much!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2013-04-16 15:53:21 Re: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'
Previous Message Nigel Heron 2013-04-16 15:07:44 Re: currval and DISCARD ALL