I got the same problem and I gave up. Systemtap package seems not to be recognized by Erlang. Instead, dtrace package works like a charm.<br><br>CGS<br><br><br><br><div class="gmail_quote">On Fri, Sep 14, 2012 at 3:05 PM, Lukas Larsson <span dir="ltr"><<a href="mailto:lukas@erlang.org" target="_blank">lukas@erlang.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 <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>
<span class="HOEnZb"><font color="#888888"><br>
Lukas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Sep 14, 2012 at 4:55 AM, goofansu <<a href="mailto:goofan.su@gmail.com">goofan.su@gmail.com</a>> wrote:<br>
> dtrace: failed to compile script emulator/beam/erlang_dtrace.d: 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: <a href="http://erlang.2086793.n4.nabble.com/Compile-with-flag-with-dynamic-trace-systemtap-failed-tp4655144.html" target="_blank">http://erlang.2086793.n4.nabble.com/Compile-with-flag-with-dynamic-trace-systemtap-failed-tp4655144.html</a><br>

> Sent from the Erlang Questions mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>