rkevinburton at charter.net
2009-Nov-04 17:46 UTC
[R] Building from source under Windows 7
I have downloaded all of the tools and read the readme's that I know about but I am still getting the following error when I try to build from source: C:\Program Files (x86)\R\R-2.9.2\src\gnuwin32>make all recommended make[1]: `Rpwd.exe' is up to date. cp -p etc/Makeconf etc/Rcmd_environ etc/Rconsole etc/Rdevga etc/Rprofile.site et c/rgb.txt ../../../etc cp: preserving permissions for `../../../etc/Makeconf': Permission denied cp: preserving permissions for `../../../etc/Rcmd_environ': Permission denied cp: preserving permissions for `../../../etc/Rconsole': Permission denied cp: preserving permissions for `../../../etc/Rdevga': Permission denied cp: preserving permissions for `../../../etc/Rprofile.site': Permission denied cp: preserving permissions for `../../../etc/rgb.txt': Permission denied make[3]: *** [fixetc] Error 1 make[2]: *** [fixfiles] Error 2 make[1]: *** [rbuild] Error 2 make: *** [all] Error 2 C:\Program Files (x86)\R\R-2.9.2\src\gnuwin32> I have given myself full control on all of the directories and files yet I am unable to get rid of this 'Permission denied' error. Anybody out there that has similar problem building 2.9.2 under Windows 7 x64? Thank you. Kevin
Hello Kevin, It is possible you took care of this by giving yourself permission, but when I used Vista and now 7 x64; it was easier for me to install in a directory other than program files. For example just installing to a new folder on the C: (or whatever is your primary) drive. I am using 2.10 happily on 7 x64 right now, but I did not build from source. Another option is to enable the administrator account. Run cmd.exe as an administrator and type: net user administrator /active:yes This is sometimes helpful for work with permissions. HTH, Josh On Wed, Nov 4, 2009 at 9:46 AM, <rkevinburton@charter.net> wrote:> I have downloaded all of the tools and read the readme's that I know about > but I am still getting the following error when I try to build from source: > > C:\Program Files (x86)\R\R-2.9.2\src\gnuwin32>make all recommended > make[1]: `Rpwd.exe' is up to date. > cp -p etc/Makeconf etc/Rcmd_environ etc/Rconsole etc/Rdevga > etc/Rprofile.site et > c/rgb.txt ../../../etc > cp: preserving permissions for `../../../etc/Makeconf': Permission denied > cp: preserving permissions for `../../../etc/Rcmd_environ': Permission > denied > cp: preserving permissions for `../../../etc/Rconsole': Permission denied > cp: preserving permissions for `../../../etc/Rdevga': Permission denied > cp: preserving permissions for `../../../etc/Rprofile.site': Permission > denied > cp: preserving permissions for `../../../etc/rgb.txt': Permission denied > make[3]: *** [fixetc] Error 1 > make[2]: *** [fixfiles] Error 2 > make[1]: *** [rbuild] Error 2 > make: *** [all] Error 2 > > C:\Program Files (x86)\R\R-2.9.2\src\gnuwin32> > > I have given myself full control on all of the directories and files yet I > am unable to get rid of this 'Permission denied' error. Anybody out there > that has similar problem building 2.9.2 under Windows 7 x64? > > Thank you. > > Kevin > > ______________________________________________ > R-help@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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >-- Joshua Wiley Senior in Psychology University of California, Riverside http://www.joshuawiley.com/ [[alternative HTML version deleted]]