Closed chili1111 closed 5 years ago
Hi. Sorry, yes there are some difficulties on windows with compiling the package when using 32 bit. This was restricted to support TLS connections. Could you try 64 bit R and see if it works for you?
I will tag new v1.0.0 shortly to note significance of the change
Thanks for the pointer! Works. For future reference to others, to compile just the 64 bit version, (and you're running 64 bit R by default) run this on the source folder (rkdb for me) in the console:
R CMD INSTALL rkdb --no-multiarch
Hi, sometime in roughly the last 8 months some changes were made to rkdb 0.10 and I can no longer install it (with R CMD INSTALL rkdb on the downloaded source folder).
c:/Users/[...]/Documents/Rtools/mingw_32/bin/gcc -shared -s -static-libgcc -o rkdb.dll tmp.def rkdb.o -Lw32 -le_static -lws2_32 -liphlpapi -LC:/Users/[...]/Documents/R/R-3.5.2/bin/i386 -lR C:/Users/[...]l/Documents/Rtools/mingw_32/bin/../lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -le_static collect2.exe: error: ld returned 1 exit status no DLL was created ERROR: compilation failed for package 'rkdb'
There seem to be new package dependencies on nanotime and bit64, which were installed, but clearly the compiler is unable to find lib e_static
Tested this on windows 7 (requirement for work) with various versions of R and R tools: R 3.5.2, R tools 3.5. R 3.5.2, R tools 3.4. R 3.5.1 R tools 3.5.
No success on any versions.
When I revert back to older souce for rkdb 0.10, the install is successful, thankfully. (a package version bump seems warranted for such a big change to the package).