Hey, thank you for the reply, although I happened to find out the fact a few days ago.<div>It's strange that the Erlang mail list appears in google group. I never accepted any response from this group.<br><br>在 2012年9月22日星期六UTC+8上午12时41分03秒,Emilio De Camargo Francesquini写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Systemtap already comes with a dtrace script preprocessor. No need to
<br>install both Systemtap and Dtrace.
<br>
<br>Have you installed the systemtap-sdt-devel package? It contains the
<br>dtrace preprocessor you need and the sys/sdt.h header needed to
<br>compile the VM with tracing enabled.
<br>
<br>sudo yum install systemtap-sdt-devel
<br>
<br>Emilio
<br>
<br>2012/9/14 CGS <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">cgsmc...@gmail.com</a>>:
<br>> I got the same problem and I gave up. Systemtap package seems not to be
<br>> recognized by Erlang. Instead, dtrace package works like a charm.
<br>>
<br>> CGS
<br>>
<br>>
<br>>
<br>>
<br>> On Fri, Sep 14, 2012 at 3:05 PM, Lukas Larsson <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">lu...@erlang.org</a>> wrote:
<br>>>
<br>>> Hello,
<br>>>
<br>>> On our systemtap testmachine we have the dtrace command available:
<br>>>
<br>>> -bash-4.2$ dtrace --help
<br>>> Usage /usr/bin/dtrace [--help] [-h | -G] [-C [-I<Path>]] -s File.d [-o
<br>>> <File>]
<br>>> Where -h builds a systemtap header file from the .d file
<br>>> -C when used with -h, also run cpp preprocessor
<br>>> -o specifies an explicit output file name,
<br>>> the default for -G is file.o and -h is file.h
<br>>> -I when running cpp pass through this -I include Path
<br>>> -s specifies the name of the .d input file
<br>>> -G builds a stub file.o from file.d,
<br>>> which is required by some packages that use dtrace.
<br>>>
<br>>> I'm not the guy who has implemented/installed it for us, but I think
<br>>> that when you install systemtap you should also get a utility called
<br>>> dtrace.
<br>>>
<br>>> Lukas
<br>>>
<br>>> On Fri, Sep 14, 2012 at 4:55 AM, goofansu <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">goof...@gmail.com</a>> wrote:
<br>>> > dtrace: failed to compile script emulator/beam/erlang_dtrace.d:
<br>>> > Preprocessor
<br>>> > not found
<br>>> > configure: error: Could not precompile erlang_dtrace.d: dtrace -h failed
<br>>> > configure: error: /root/otp/erts/configure failed for erts
<br>>> >
<br>>> >
<br>>> > OS: fedora17
<br>>> >
<br>>> > I've installed systemtap. Shall I install dtrace?
<br>>> >
<br>>> >
<br>>> >
<br>>> > --
<br>>> > View this message in context:
<br>>> > <a href="http://erlang.2086793.n4.nabble.com/Compile-with-flag-with-dynamic-trace-systemtap-failed-tp4655144.html" target="_blank">http://erlang.2086793.n4.<wbr>nabble.com/Compile-with-flag-<wbr>with-dynamic-trace-systemtap-<wbr>failed-tp4655144.html</a>
<br>>> > Sent from the Erlang Questions mailing list archive at Nabble.com.
<br>>> > ______________________________<wbr>_________________
<br>>> > erlang-questions mailing list
<br>>> > <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">erlang-q...@erlang.org</a>
<br>>> > <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br>>> ______________________________<wbr>_________________
<br>>> erlang-questions mailing list
<br>>> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">erlang-q...@erlang.org</a>
<br>>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br>>
<br>>
<br>>
<br>> ______________________________<wbr>_________________
<br>> erlang-questions mailing list
<br>> <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">erlang-q...@erlang.org</a>
<br>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br>>
<br>______________________________<wbr>_________________
<br>erlang-questions mailing list
<br><a href="javascript:" target="_blank" gdf-obfuscated-mailto="MwtwagqR_DgJ">erlang-q...@erlang.org</a>
<br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a>
<br></blockquote></div>