Dear IRace team,
Thank you for taking the time to read my email. I'm a PhD student and I want to include IRace as a benchmark. I have tried installing the package in multiple ways. The standard install.packages("irace") in R fails with an error (see bottom of email). It references an inaccessible plugin annobin.so. I'm using Fedora 32 and gcc 8.3.0 for this. I also tried gcc 7.3.0 but this did not help. Annobin is installed since "locate annobin.so" gives:
/usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so
/usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so.0
/usr/lib/gcc/x86_64-redhat-linux/10/plugin/annobin.so.0.0.0
Going off the recommendation of the README I tried a manual installation, i.e., creating an R directory and downloading irace_3.4.1.tar.gz etc.. However, this gives the same error when I execute "R CMD INSTALL --library=~/R irace.tar.gz".
There is a similar issue on stack overflow, but it has no respsones:
Can you help me? Does it look for annobin.so in the wrong location and is this something I can edit?
Kind regards,
Richard Schoonhoven (CWI)
Installation error:
gcc -m64 -I"/usr/include/R" -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c iracebin/irace.c -o iracebin/irace.o
cc1: fatal error: inaccessible plugin file /opt/sw/gcc-8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0/plugin/annobin.so expanded from short plugin name annobin: No such file or directory
compilation terminated.
make: *** [/usr/lib64/R/etc/Makeconf:172: iracebin/irace.o] Error 1
ERROR: compilation failed for package ‘irace’