Hello to my favorite programming community!
Having trouble with installing Nim on Centos 6.8 I previously had 0.12.0 installed and removed it by deleting installation directory. I downloaded nim-0.15.2.tar.xz and extracted to /opt/nim-0.15.2/ Changed to that directory and did sh build.sh It compiles a large number of files and then fails. The last compile command to print to screen is very long:
gcc -o bin/nim c_code/2_1/compiler_nim.o c_code/2_1/stdlib_system.o... ... ... ...
... ... ... .../compiler_nodejs.o c_code/2_1/compiler_scriptconfig.o -ldl -lm
The error message after that point is:
c_code/2_1/stdlib_osproc.o: In function `nospwaitForExit':
stdlib_osproc.c:(.text+0x1717): undefined reference to `clock_gettime'
stdlib_osproc.c:(.text+0x179e): undefined reference to `clock_gettime'
stdlib_osproc.c:(.text+0x191c): undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
Thoughts or suggestions?