KxSystems / rkdb

R client for kdb+
https://code.kx.com/q/interfaces
Apache License 2.0
41 stars 29 forks source link

Cant install RKDB package directly from .gz file #51

Closed sbochicchio closed 4 years ago

sbochicchio commented 5 years ago

Hi,

I tried to install rkdb directly from the zipped file and get the following error (see below) . As I am on a business environment i cant access github via the install_github function, due to blocked API.

Could you please help?

Thanks,

Stefano


install.packages(".../pckgs/rkdb_0.9.0.tar.gz", repos = NULL, type = "source")

*** arch - i386 Warning: running command 'make -f "Makevars" -f "C:/PROGRA~1/R/R-34~1.0/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-34~1.0/share/make/winshlib.mk" SHLIB="rkdb.dll" ' had status 127 ERROR: compilation failed for package 'rkdb'

cmccarthy1 commented 5 years ago

Hi @sbochicchio,

Thanks for the message just to clear some things up.

When you say you're installing from the zipped file was this from the releases page here or where did you source this?

I ask because it looks like you're installing 0.9.0 rather than 0.10.0?

I downloaded the release and ran

>install.packages('rkdb-0.10.0.tar.gz',repos=NULL,type="source",quiet=TRUE)

This seemed to work for me any further information would be great

All the best,

Conor

kimtang commented 5 years ago

*** arch - i386

Looks like you are trying to install for w32 or R is trying to install both for w32/w64. Again there is no w32 folder in this repository and installation will fail for w32.

Try to add INSTALL_opts = c("--no-multiarch", "--no-test-load")

install.packages(".../pckgs/rkdb_0.9.0.tar.gz", repos = NULL, type = "source",INSTALL_opts = c("--no-multiarch", "--no-test-load"))

Perhaps it will help.

cmccarthy1 commented 4 years ago

Hi @sbochicchio,

I think between the two answers above there should have been sufficient information to help solve your issue, as such I'm closing this issue for now. If you have any further information or questions about this issue please feel free to reopen and provide appropriate information.

All the best,

Conor