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 dbparser #119

Closed
kcmtest opened this issue Aug 17, 2020 · 6 comments
Closed

Installation error dbparser #119

kcmtest opened this issue Aug 17, 2020 · 6 comments

Comments

@kcmtest
Copy link

kcmtest commented Aug 17, 2020

I been trying to use your library but i get this error

nanodbc/nanodbc.cpp:40:19: fatal error: codecvt: No such file or directory
 #include <codecvt>
                   ^
compilation terminated.
make: *** [nanodbc.o] Error 1
ERROR: compilation failed for package ‘odbc’
* removing ‘/usr/lib64/R/library/odbc’
Error: Failed to install 'dbparser' from GitHub:
  (converted from warning) installation of package ‘odbc’ had non-zero exit status


The operating system im using is Cent OS 7.

Would you like to let me know how to fix this? as I tried installing odbc which fails and what i get is odbc is one of the main dependency for this library .

Any suggestion or help would be really appreciated.

@MohammedFCIS
Copy link
Contributor

Hi @krushnach80 ,
did you try to install it from CRAN directly?

@kcmtest
Copy link
Author

kcmtest commented Aug 17, 2020

Hi @krushnach80 ,
did you try to install it from CRAN directly?

Yes the both the cran version and the developmental version

@MohammedFCIS
Copy link
Contributor

@krushnach80
It seems a known odbc issue, kindly find more details here r-dbi/odbc#377

@kcmtest
Copy link
Author

kcmtest commented Aug 17, 2020

the issue is fixed

@MohammedFCIS
Copy link
Contributor

glad to hear that :)

@vishalsharma3003
Copy link

Try Lowering down the version of BH package to 1.78.0-0:

devtools::install_version("BH", "1.78.0-0")

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