tanaylab/misha

Compilation error on OSX

Opened this issue · 0 comments

I'm seeing the following compilation error with R 4.2 on OSX:

2022-11-12T10:03:47.9011650Z 10:03:47 BIOCONDA INFO (ERR) ** using staged installation
2022-11-12T10:03:47.9020460Z 10:03:47 BIOCONDA INFO (ERR) ** libs
2022-11-12T10:03:50.7058210Z 10:03:50 BIOCONDA INFO (ERR) In file included from BinsManager.cpp:1:
2022-11-12T10:03:50.7059490Z 10:03:50 BIOCONDA INFO (ERR) ./rdbutils.h:385:16: error: use of undeclared identifier 'CLOCK_REALTIME'
2022-11-12T10:03:50.7060930Z 10:03:50 BIOCONDA INFO (ERR)         clock_gettime(CLOCK_REALTIME, &t2);
2022-11-12T10:03:50.7062690Z 10:03:50 BIOCONDA INFO (ERR)                       ^
2022-11-12T10:03:51.1018170Z 10:03:51 BIOCONDA INFO (ERR) 1 error generated.
2022-11-12T10:03:51.1093790Z 10:03:51 BIOCONDA INFO (ERR) make: *** [/Users/runner/miniconda/conda-bld/r-misha_1668247188708/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib/R/etc/Makeconf:178: BinsManager.o] Error 1
2022-11-12T10:03:51.1098150Z 10:03:51 BIOCONDA INFO (ERR) ERROR: compilation failed for package ‘misha’

clock_gettime and such doesn't exist in all versions of OSX.