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 - cannot install on R 4.0.3 #109

Open
developertest1234 opened this issue Mar 14, 2024 · 3 comments
Open

windows 10 - cannot install on R 4.0.3 #109

developertest1234 opened this issue Mar 14, 2024 · 3 comments

Comments

@developertest1234
Copy link

Not sure but latest release was failing for me using stand install and command line:

Error in system(sprintf("%s -Pg %s", nm, shQuote(f)), intern = TRUE) :
'""' not found

command issued

c:\Program Files\R\R-4.0.3\bin\R.exe" CMD INSTALL . 
....
"C:/rtools40/mingw64/bin/"g++  -std=gnu++17 -I"c:/PROGRA~1/R/R-40~1.3/include" -DNDEBUG -Iinclude -I../inst/include -DDUCKDB_DISABLE_PRINT -DDUCKDB_R_BUILD -Iduckdb/src/include -Iduckdb/third_party/fmt/include -Iduckdb/third_party/fsst -Iduckdb/third_party/re2 -Iduckdb/third_party/miniz -Iduckdb/third_party/utf8proc/include -Iduckdb/third_party/utf8proc -Iduckdb/third_party/hyperloglog -Iduckdb/third_party/fastpforlib -Iduckdb/third_party/tdigest -Iduckdb/third_party/libpg_query/include -Iduckdb/third_party/libpg_query -Iduckdb/third_party/concurrentqueue -Iduckdb/third_party/pcg -Iduckdb/third_party/httplib -Iduckdb/third_party/fast_float -Iduckdb/third_party/mbedtls -Iduckdb/third_party/mbedtls/include -Iduckdb/third_party/mbedtls/library -Iduckdb/third_party/jaro_winkler -Iduckdb/third_party/jaro_winkler/details -Iduckdb/extension/parquet/include -Iduckdb/third_party/parquet -Iduckdb/third_party/snappy -Iduckdb/third_party/thrift -Iduckdb/third_party/zstd/include -I../inst/include -Iduckdb -DDUCKDB_EXTENSION_PARQUET_LINKED -DDUCKDB_BUILD_LIBRARY -DDUCKDB_PLATFORM_RTOOLS=1         -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c types.cpp -o types.o
"C:/rtools40/mingw64/bin/"g++  -std=gnu++17 -I"c:/PROGRA~1/R/R-40~1.3/include" -DNDEBUG -Iinclude -I../inst/include -DDUCKDB_DISABLE_PRINT -DDUCKDB_R_BUILD -Iduckdb/src/include -Iduckdb/third_party/fmt/include -Iduckdb/third_party/fsst -Iduckdb/third_party/re2 -Iduckdb/third_party/miniz -Iduckdb/third_party/utf8proc/include -Iduckdb/third_party/utf8proc -Iduckdb/third_party/hyperloglog -Iduckdb/third_party/fastpforlib -Iduckdb/third_party/tdigest -Iduckdb/third_party/libpg_query/include -Iduckdb/third_party/libpg_query -Iduckdb/third_party/concurrentqueue -Iduckdb/third_party/pcg -Iduckdb/third_party/httplib -Iduckdb/third_party/fast_float -Iduckdb/third_party/mbedtls -Iduckdb/third_party/mbedtls/include -Iduckdb/third_party/mbedtls/library -Iduckdb/third_party/jaro_winkler -Iduckdb/third_party/jaro_winkler/details -Iduckdb/extension/parquet/include -Iduckdb/third_party/parquet -Iduckdb/third_party/snappy -Iduckdb/third_party/thrift -Iduckdb/third_party/zstd/include -I../inst/include -Iduckdb -DDUCKDB_EXTENSION_PARQUET_LINKED -DDUCKDB_BUILD_LIBRARY -DDUCKDB_PLATFORM_RTOOLS=1         -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c cpp11.cpp -o cpp11.o
**Error in system(sprintf("%s -Pg %s", nm, shQuote(f)), intern = TRUE) :
  '""' not found**
Calls: <Anonymous> -> lapply -> FUN -> strsplit -> system
Execution halted
make: *** [c:/PROGRA~1/R/R-40~1.3/share/make/winshlib.mk:32: symbols.rds] Error 1
ERROR: compilation failed for package 'duckdb'
* removing 'C:/Users/u365042/Documents/R/win-library/4.0/duckdb'
@krlmlr
Copy link
Collaborator

krlmlr commented Mar 21, 2024

Thanks. Can you please try with R 4.3?

@krlmlr krlmlr changed the title windows 10 - cannot install windows 10 - cannot install on R 4.0.3 Mar 21, 2024
@Antonov548
Copy link
Contributor

I have found in Rtools folder nm executable. In my case it was: C:/rtools43/x86_64-w64-mingw32.static.posix/bin/nm.exe.
After setting Sys.setenv(UserNM = "C:/rtools43/x86_64-w64-mingw32.static.posix/bin/nm.exe") it works fine.

@krlmlr
Copy link
Collaborator

krlmlr commented Apr 24, 2024

@developertest1234: Is this still an 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

Successfully merging a pull request may close this issue.

3 participants