我从主分支安装了最新版本的 Erlang 和最新版本的 Yaws。但是,当我尝试运行 yaws 时,我收到“使用错误版本的 erl_driver.h 编译的驱动程序”的错误。我该如何解决这个问题?Yaws 不是在最新的 Erlang 版本上运行吗?我在 Mac OS X 10.6 上运行它。
jonas$ yaws
Erlang R15B01 (erts-5.9.1) [source] [smp:2:2] [async-threads:0] [hipe] [kernel-poll:true]
Eshell V5.9.1 (abort with ^G)
1>
=ERROR REPORT==== 18-Jun-2012::00:43:08 ===
Failed to load setuid_drv (from "/usr/local/lib/yaws/priv/lib") : "Driver compiled with incorrect version of erl_driver.h"
=ERROR REPORT==== 18-Jun-2012::00:43:08 ===
FATAL {'EXIT',normal}
=INFO REPORT==== 18-Jun-2012::00:43:08 ===
application: yaws
exited: {shutdown,{yaws_app,start,[normal,[]]}}
type: permanent
{"Kernel pid terminated",application_controller,"{application_start_failure,yaws,{shutdown,{yaws_app,start,[normal,[]]}}}"}
Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,yaws,{shutdown,{yaws_app,start,[normal,[]]}}})