Adler, Avraham
2013-Sep-30 17:47 UTC
[Rd] R-3.0.2 - Win7_64 - alone_decoder.c: Permission denied error
Hello. When trying to compile R-3.0.2 on Windows 7 64bit, I get an error relating to "alone_decoder.c: Permission denied." The entire error code is copied below. gcc -std=gnu99 -m64 -shared -o Riconv.dll Riconv.def win_iconv.o touch stamp gcc -std=gnu99 -m64 -I../../include -I. -Iapi -DLZMA_API_STATIC -DHAVE_CONFIG_H -DWIN32 -O3 -Wall -pedantic -march=core-avx-i -O3 --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=256 -c alone_decoder.c -o alone_decoder.o cc1.exe: fatal error: alone_decoder.c: Permission denied compilation terminated. make[5]: *** [alone_decoder.o] Error 1 make[4]: *** [all] Error 2 make[3]: *** [rlibs] Error 1 make[2]: *** [../../bin/x64/R.dll] Error 2 make[1]: *** [rbuild] Error 2 make: *** [all] Error 2 However, I do *not* get this error when compiling R-patched as of 9/17/2013 using the exact same parameters on the same system. What does this error mean? Is it possible something changed between that version and the release which is causing this error? What may I do to correct the error? Thank you very much, Avraham Adler
Adler, Avraham
2013-Sep-30 21:40 UTC
[Rd] R-3.0.2 - Win7_64 - alone_decoder.c: Permission denied error
My problem appears to have been one of ignorance. I did not realize that once the directories were untarred, that copying the entire tree and renaming it may break permissions even on Windows. It appears that it does, as starting the compile immediately and not on a renamed copy seems to be progressing properly beyond that point. Thank you, Avraham Adler
Uwe Ligges
2013-Oct-03 21:08 UTC
[Rd] R-3.0.2 - Win7_64 - alone_decoder.c: Permission denied error
On 30.09.2013 19:47, Adler, Avraham wrote:> Hello. > > When trying to compile R-3.0.2 on Windows 7 64bit, I get an error relating to "alone_decoder.c: Permission denied." The entire error code is copied below. > > gcc -std=gnu99 -m64 -shared -o Riconv.dll Riconv.def win_iconv.o > touch stamp > gcc -std=gnu99 -m64 -I../../include -I. -Iapi -DLZMA_API_STATIC -DHAVE_CONFIG_H > -DWIN32 -O3 -Wall -pedantic -march=core-avx-i -O3 --param l1-cache-line-size=64 > --param l1-cache-size=32 --param l2-cache-size=256 -c alone_decoder.c -o alone_decoder.o > cc1.exe: fatal error: alone_decoder.c: Permission denied > compilation terminated. > make[5]: *** [alone_decoder.o] Error 1 > make[4]: *** [all] Error 2 > make[3]: *** [rlibs] Error 1 > make[2]: *** [../../bin/x64/R.dll] Error 2 > make[1]: *** [rbuild] Error 2 > make: *** [all] Error 2 > > However, I do *not* get this error when compiling R-patched as of 9/17/2013 using the exact same parameters on the same system. What does this error mean? Is it possible something changed between that version and the release which is causing this error? What may I do to correct the error?Well, there is a Windows binary for 3.0.2 on CRAN and we had no problems to build it. So probably the problem is on your end. Best, Uwe Ligges> Thank you very much, > > Avraham Adler > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >
Maybe Matching Threads
- Trouble compiling R-2.10.0
- Symlinks when building R on windows
- R Compilation gets stuck on Windows 64
- Building R on Windows: mkdir of Rtools creates directories with read-only permissions [WEIRD]
- iconv.dll needed in addition to Riconv.dll for package XML to load (PR#13747)