Cannot install ROOT 6.10 on Cygwin

Hello. I’ve been trying to install ROOT version 6.10 on my Windows 10 64bit using Cygwin.
Here are the following commands I use:

git clone https://github.com/root-project/root.git

mkdir build
cd build

cmake …/root -Dimt=OFF
make -j8

The additional “-Dimt=OFF” on the cmake is due to a problem I had with TBB. It did not seem to be able to install it, even after downloading it from the internet, so I set a variable to skip this step completely.
Currently, at “make -j8” or even “make -j2” the following error happens:

[ 27%] Performing configure step for 'LZ4'
[ 27%] Built target move_headers
CMake Error at /build/LZ4-prefix/src/LZ4-stamp/LZ4-configure-RelWithDebInfo.cmake:16 (message):
  Command failed: 2

   '/bin/sh' '-c' 'PREFIX=/build CMAKE_PARAMS='-DCMAKE_C_COMPILER="/usr/bin/cc" -DCMAKE_C_FLAGS=" -pthread" -DCMAKE_OSX_SYSROOT=""' make cmake'

  See also

    /build/LZ4-prefix/src/LZ4-stamp/LZ4-configure-*.log

In LZ4-configure-err.log is written:

make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[3]: *** No rule to make target 'cmake'.  Stop.

Please note that I don’t have much experience with Cygwin or this programming language in general.
Is there any other information I can give about this problem?
Thank you in advance.

Hi,

Cygwin is not officially supported, and CMake will most probably not produce correct makefiles… You can try the classic configure/make procedure. For example, something like:

../root/configure win32gcc [options]

But this might be failing too…

Chers, Bertrand.

That makes sense, I was not aware of that. I will download Ubuntu instead and run it there. Thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

You can also try running ROOT with the Ubuntu 16 docker image:
https://hub.docker.com/r/rootproject/root-ubuntu16