O2 build fails in Ubuntu18

Dear experts,

I am trying to install O2. As I had several problems, I decided to start the installation from scratch (in a new empty folder).

When installing the O2, I get several errors which are in DataProcessingDevice.cxx file.

Some of them:
/home/ge56luj/AliceRun3/sw/SOURCES/O2/d6a9f4b065/0/Framework/Core/src/DataProcessingDevice.cxx:182:10: error: ‘UV_DISCONNECT’ was not declared in this scope; did you mean ‘UV_CONNECT’?
182 | case UV_DISCONNECT: {
| ^~~~~~~~~~~~~
| UV_CONNECT
/home/ge56luj/AliceRun3/sw/SOURCES/O2/d6a9f4b065/0/Framework/Core/src/DataProcessingDevice.cxx:186:10: error: ‘UV_PRIORITIZED’ was not declared in this scope
186 | case UV_PRIORITIZED: {
| ^~~~~~~~~~~~~~

I attached the log file as well, as there is much more information and more errors.

Does anyone know what could cause this problem and how to fix it?

Thank you very much!
Have a nice day
Cheers
Laura
log.txt (33.7 KB)

It looks like you have an incompatible version of libuv installed on your system. Can you check and eventually uninstall it?