我正在从源代码编译 erlang otp,如下所示:
./configure --with-dynamic-trace=systemtap
但它报告错误:
checking for dtrace... no
configure: error: No dtrace utility found.
我认为 systemtap 是用于 linux 的,它与 dtrace 不同,对吗?
安装dtrace后现在的错误是:
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