[R] Debugging makefiles.

rkevinburton at charter.net rkevinburton at charter.net
Fri Nov 6 19:48:31 CET 2009


I did a 'make clean' followed by a rebuild and got the same error. I recopied the source (overwritting the existing files) followed by a 'make clean' and 'make all recommended' and received the same error. I am really lost. It must be something in my environment but I don't know how to track it down.

Kevin

---- rkevinburton at charter.net wrote: 
> I have sucessfully built and run R from source and I have begun to change some of the source files to help with my learning process. All of a sudden I recieved the following error on build:
> 
> building package 'stats'
> all.R is unchanged
> building package 'datasets'
> all.R is unchanged
> ../../../library/datasets/R/datasets is unchanged
> building package 'methods'
> all.R is unchanged
> make[3]: Nothing to be done for `RfilesLazy'.
> building package 'grid'
> all.R is unchanged
> building package 'splines'
> all.R is unchanged
> building package 'stats4'
> all.R is unchanged
> make[3]: Nothing to be done for `Rfiles'.
> building package 'tcltk'
> all.R is unchanged
> ../../bin/R: not found
> make[1]: *** [R] Error 127
> make: *** [all] Error 2
> 
> I have just changed MkRules and some of the Fortran source files. I have not changed any of the Makefiles so I am not sure where this error is coming from or how best to trace the root of the problem. Maybe someone with a little more knowledge on the 'R' source structure and build process could help me out with a little advice here. If have tried the '-d' option but that is entirely too much debug information for me to digest. I just need to know where '../../bin/R' is needed and why it is not found.
> 
> Thank you.
> 
> Kevin
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list