Skip to content

Windows 10: Compilation issue #8

Open

Description

@ClaireGuerin

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...

Activity

  1. mlamias commented on Jun 19, 2017

    @mlamias

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions