How to build Erlang v24 for couchdb?

50 Views Asked by At

I'm trying to compile erlang 24 in yocto build system, the recommended version for CouchDB, but it fails. I'm using meta-erlang layer.

This is the error I am getting:

| 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.

Strange that the recipe for erlang does not contain wxWidgets dependenncie. What am I missing here showuld I add wxwidgets-native to my recipe?

1

There are 1 best solutions below

2
Lukas On

There are no errors in that printout, only warnings. If you do not need any of the functionality listed you can continue building and ignore the warnings. If you need some part of it, then check the install guide for erlang on erlang.org to see which dependencies are needed.