Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10: Compilation issue #8

Open
ClaireGuerin opened this issue Jun 22, 2016 · 1 comment
Open

Windows 10: Compilation issue #8

ClaireGuerin opened this issue Jun 22, 2016 · 1 comment

Comments

@ClaireGuerin
Copy link

Hello,

I tried to install rPython following the instructions given in the README file of this GitHub repository. I am using Windows 10, R.3.3.0, Python 2.7 (stored in "C:/Python27").
When running install("C:/Program files (x86)/rPython"), I get the following error:

Installing rPython
"C:/PROGRA~1/R/R-33~1.0/bin/x64/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL "C:/Program files (x86)/rPython"  \
  --library="C:/Users/Claire/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'rPython' ...
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture

C:/Program Files (x86)/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-33~1.0/include" -DNDEBUG     -I"d:/Compiler/gcc-4.9.3/local330/include"  -I"C:/Python27/include"   -O2 -Wall  -std=gnu99 -mtune=core2 -c pycall.c -o pycall.o
Syntax error: "(" unexpected
make: *** [pycall.o] Error 2
Warning: l'exécution de la commande 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.0/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-33~1.0/share/make/winshlib.mk" SHLIB="rPython.dll" WIN=64 TCLBIN=64 OBJECTS="pycall.o"' renvoie un statut 2
ERROR: compilation failed for package 'rPython'
* removing 'C:/Users/Claire/Documents/R/win-library/3.3/rPython'
Erreur : Command failed (1)

Any idea on what might be causing this, and how to fix it? I am not even sure whether the problem comes from Rtools or rPython...

@mlamias
Copy link

mlamias commented Jun 19, 2017

I experienced something like this too. I performed a completed reinstall of rPython and that worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants