Question: different compilers and mzR build fails
0
2.2 years ago by
peljasz0
United Kingdom
peljasz0 wrote:

I'm not sure if I should bother you team with this, apologies in case it's a bother.

I'm trying gcc 6.2.1 (from devtoolset-6) with R, everything seems to work just fine, except for mzR.
Here is failed build:

g++: error: cramp.o: No such file or directory
g++: error: ramp_base64.o: No such file or directory
g++: error: ramp.o: No such file or directory
g++: error: RcppRamp.o: No such file or directory
g++: error: RcppRampModule.o: No such file or directory
g++: error: rnetCDF.o: No such file or directory
g++: error: RcppPwiz.o: No such file or directory
g++: error: RcppPwizModule.o: No such file or directory
g++: error: RcppIdent.o: No such file or directory
g++: error: RcppIdentModule.o: No such file or directory
/usr/share/R/make/shlib.mk:6: recipe for target 'mzR.so' failed
make: *** [mzR.so] Error 1

It did compile with 5.2.x (from devtoolset-4) and worked fine.
I'm hoping you guys could confirm it is purely compiler problem? Or point me(not a real programmer) a way to troubleshoot it properly?
many thanks,
L.

mzr gcc compiler • 448 views
modified 2.2 years ago • written 2.2 years ago by peljasz0

Hi Lejeczek, I opened an issue in the mzR github issue tracker. I hope that one of the other developers will be able to help.

(By the way, I missed this question because it missed the mzR tag - I would suggest to always add the package name as this should automatically send an email to developers.)

Answer: different compilers and mzR build fails
0
2.2 years ago by
peljasz0
United Kingdom
peljasz0 wrote:

until the author fixes it, if you come across this problem, it's because you probably use something like:

Sys.setenv(MAKEFLAGS = "-j15")

do not.