我尝试在 yocto 构建系统(CouchDB 的推荐版本)中编译 erlang 24,但失败了。我正在使用meta-erlang层。
这是我收到的错误:
| configure: WARNING: No GLU headers found, wx will NOT be usable
| configure: WARNING:
| wxWidgets must be installed on your system.
|
| Please check that wx-config is in path, the directory
| where wxWidgets libraries are installed (returned by
| 'wx-config --libs' or 'wx-config --static --libs' command)
| is in LD_LIBRARY_PATH or equivalent variable and
| wxWidgets version is 3.0.2 or above.
|
| *********************************************************************
| ********************** APPLICATIONS DISABLED **********************
| *********************************************************************
|
| jinterface : Java compiler disabled by user
| observer : User gave --without-observer option
| odbc : User gave --without-odbc option
|
| *********************************************************************
| *********************************************************************
| ********************** APPLICATIONS INFORMATION *******************
| *********************************************************************
|
| wx : No GLU headers found, wx will NOT be usable
| wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
|
| wxWidgets must be installed on your system.
|
| Please check that wx-config is in path, the directory
| where wxWidgets libraries are installed (returned by
| 'wx-config --libs' or 'wx-config --static --libs' command)
| is in LD_LIBRARY_PATH or equivalent variable and
| wxWidgets version is 3.0.2 or above.
|
| *********************************************************************
| *********************************************************************
| ********************** DOCUMENTATION INFORMATION ******************
| *********************************************************************
|
| documentation :
| xsltproc is missing.
| fop is missing.
| xmllint is missing.
| The documentation cannot be built.
|
| | *********************************************************************
| sed: can't read /mnt/project/tmp/work/cortexa7t2hf-neon-ino-linux-musleabi/erlang/25.3.2.8/git/erts/arm-ino-linux-musleabi-gnu/config.h: No such file or directory
| WARNING: exit code 2 from a shell command.
奇怪的是,erlang 的配方不包含 wxWidgets 依赖项。 我在这里缺少什么,如果我将 wxwidgets-native 添加到我的食谱中?
打印输出中没有错误,只有警告。如果您不需要列出的任何功能,您可以继续构建并忽略警告。如果您需要其中的一部分,请检查 erlang.org 上的 erlang 安装指南,了解需要哪些依赖项。