Page 1 of 1

Error at the configure step

Posted: Thu Apr 06, 2017 2:01 pm
by pron.a
Hello everybody,

I wanted to recompile from scratch brainvisa on a Debian Jessie machine. I followed the steps in the compilation documentation
I managed to retrieve sources of both trunk and bug_fix versions but when I launch the configure step I have error. Among all there is the error
"Policy "CMP0054" is not known to this version of CMake" . Looking into the CMakeError.log file (enclosed in this dicussion) the pthread dynamic library seems involved but I can not say much.
If you have aby ideas ^^

Have a good day

Alex

Re: Error at the configure step

Posted: Thu Apr 06, 2017 2:15 pm
by Yann Cointepas
A quick look makes me believe that it is not an error in our code but in a CMake code used to assess some configuration of the system. Do you have libpthread.so installed ? On Ubuntu-16.04, it is located in /usr/lib/x86_64-linux-gnu/libpthread.so and installed by package libc6-dev.

Re: Error at the configure step

Posted: Fri Apr 07, 2017 1:31 pm
by pron.a
Hello Yann,

Thank you for your quick answer ^^. I just checked an I have the libc6-dev package installed under Debian. It used to compile but it no longer does.

Have a good day :D
Alex