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

Installation error for devtools::install() #17

Open
jooyoungseo opened this issue Jul 2, 2017 · 5 comments
Open

Installation error for devtools::install() #17

jooyoungseo opened this issue Jul 2, 2017 · 5 comments

Comments

@jooyoungseo
Copy link

Hello,

I have downloaded and followed the instruction and I was attempting to install rPython on my Windows 8.1 64bit system.

However, the following error keeps bugging me.

Could you please advise me on how to resolve this issue?

FYI, I have already installed rtools, devtools, and done any other edits for configure.win.
I am using R version 3.4.0 (2017-04-21).

> library(devtools)
> install("C:/rPython")
Error: running command '"C:/PROGRA~1/R/R-34~1.0/bin/x64/R" --no-site-file --no-e
nviron --no-save --no-restore --quiet CMD config CC' had status 127
>

Many thanks.

@elpibeperez
Copy link

I have the same issue. If you found a workarround, please tell me.
Many thanks

@elpibeperez
Copy link

Is it a 64 bit issue?

@elpibeperez
Copy link

After excecuting
'"C:/PROGRA1/R/R-341.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC'

I got:

MS-DOS style path detected: c:\PROGRA1\R\R-341.1/bin/config.sh
Preferred POSIX equivalent is: /cygdrive/c/PROGRA1/R/R-341.1/bin/config.sh
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
c:\PROGRA1\R\R-341.1/bin/config.sh: line 177: make: command not found
c:\PROGRA1\R\R-341.1/bin/config.sh: line 178: make: command not found
c:\PROGRA1\R\R-341.1/bin/config.sh: line 179: make: command not found
c:\PROGRA1\R\R-341.1/bin/config.sh: line 180: make: command not found
c:\PROGRA1\R\R-341.1/bin/config.sh: line 181: make: command not found
c:\PROGRA1\R\R-341.1/bin/config.sh: line 313: make: command not found

It is clear make is not installed. Will keep working and posting how it goes

@elpibeperez
Copy link

@sjystu execute '"C:/PROGRA1/R/R-341.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC' in the command prompt. If you get errors related to make command not found, you have a missconfiguration of the cygwin path.

Check https://www.biostat.wisc.edu/~kbroman/Rintro/Rwinpack.html. Also check if rtools was installed in rbuildtools :)

I have a new issue:

C:/RBuildTools/3.4/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-34~1.1/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
C:/RBuildTools/3.4/mingw_64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/python27/libs -lpython27 -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-34~1.1/bin/x64 -lR
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs/libpython27.a when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs/python27.lib when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs\libpython27.a when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs/libpython27.a when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs/python27.lib when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/python27/libs\python27.lib when searching for -lpython27
C:/RBuildTools/3.4/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython27
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
* removing 'C:/Program Files/R/R-3.4.1/library/rPython'

Will check if it is an architecture related issue, or something else I can't fix

@rusher321
Copy link

have you resolve this problem? I have the same issue ~

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

3 participants