=?gb18030?B?Y29uZmlndXJlIC0tZW5hYmxlLWR0cmFjZSCjqHN5?= =?gb18030?B?c3RlbXRhcKOpIG9uIGNlbnRvczYuNCB4ODZfMzI=?= =?gb18030?B?o6wvdXNyL2Jpbi9zdGFwOiBpbnZhbGlkIG9wdGlv?= =?gb18030?B?biAtLSAnQycg?= - Mailing list pgsql-general

From wk
Subject =?gb18030?B?Y29uZmlndXJlIC0tZW5hYmxlLWR0cmFjZSCjqHN5?= =?gb18030?B?c3RlbXRhcKOpIG9uIGNlbnRvczYuNCB4ODZfMzI=?= =?gb18030?B?o6wvdXNyL2Jpbi9zdGFwOiBpbnZhbGlkIG9wdGlv?= =?gb18030?B?biAtLSAnQycg?=
Date
Msg-id tencent_2ED673990FCC39B108E6BBE0@qq.com
Whole thread Raw
Responses Re: configure --enable-dtrace (systemtap) on centos6.4 x86_32,/usr/bin/stap: invalid option -- 'C'
List 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!

pgsql-general by date:

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