我用gem install安装乘客并获得5.2版本。
然后我转到gem目录并运行rake nginx:as_dynamic_module
结果是
In file included from src/agent/Core/ApplicationPool/Implementation.cpp:39:
src/cxx_supportlib/Hooks.h:146:31: error: use of undeclared identifier
'WEXITSTATUS'
") exited with status " << WEXITSTATUS(info.status));
^
src/cxx_supportlib/LoggingKit/Logging.h:95:51: note: expanded from macro
'P_INFO'
Passenger::LoggingKit::INFO, __FILE__, __LINE__, expr)
^
src/cxx_supportlib/LoggingKit/Logging.h:48:16: note: expanded from macro 'P_LOG'
_ostream << expr << "\n"; \
^
1 error generated.
rake aborted!
乘客版本5.1.12已经并且仍然可以编译并正在运行。
我该如何解决问题?
答案 0 :(得分:0)
可能passenger
无法使用clang
进行编译?无论如何,它也可以从端口https://www.freshports.org/www/rubygem-passenger/安装,也可以作为nginx
和apache
风格的包安装:
pkg install rubygem-passenger-nginx