Skip to content
Prev 46844 / 63424 Next

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