Compile with flag --with-dynamic-trace=systemtap failed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Compile with flag --with-dynamic-trace=systemtap failed

This post has NOT been accepted by the mailing list yet.
This post was updated on .
dtrace: failed to compile script emulator/beam/erlang_dtrace.d: Preprocessor not found
configure: error: Could not precompile erlang_dtrace.d: dtrace -h failed
configure: error: /root/otp/erts/configure failed for erts

OS: fedora17

I've installed systemtap and dtrace.

[root@fedora otp]# stap -ve 'probe begin { log("hello world") exit () }'
Pass 1: parsed user script and 86 library script(s) using 202280virt/24168res/3032shr/21644data kb, in 10usr/120sys/131real ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s) using 202676virt/24932res/3176shr/22040data kb, in 0usr/0sys/9real ms.
Pass 3: using cached /root/.systemtap/cache/04/stap_04461df43dfdbd87453e7e2ed2792b10_838.c
Pass 4: using cached /root/.systemtap/cache/04/stap_04461df43dfdbd87453e7e2ed2792b10_838.ko
Pass 5: starting run.
hello world
Pass 5: run completed in 0usr/30sys/312real ms.

[root@fedora otp]# dtrace -n BEGIN
dtrace: description 'BEGIN' matched 1 probe
CPU     ID                    FUNCTION:NAME
  0      1                           :BEGIN