8000
Trying to install the odbc database using the following line I get an error:
RUN installr -d -t unixodbc-dev odbc
make libcctz.a CC="gcc" CXX="g++ -std=gnu++11" AR="ar" ARFLAGS=rv CXXPICFLAGS="-fpic") make[1]: Entering directory '/tmp/RtmpCFkHNG/R.INSTALLf644d5738/odbc/src/cctz' g++ -std=gnu++11 -Wall -Iinclude -std=c++11 -pthread -O -fpic -MMD -c -o time_zone_format.o src/time_zone_format.cc g++ -std=gnu++11 -Wall -Iinclude -std=c++11 -pthread -O -fpic -MMD -c -o time_zone_if.o src/time_zone_if.cc g++ -std=gnu++11 -Wall -Iinclude -std=c++11 -pthread -O -fpic -MMD -c -o time_zone_impl.o src/time_zone_impl.cc g++ -std=gnu++11 -Wall -Iinclude -std=c++11 -pthread -O -fpic -MMD -c -o time_zone_info.o src/time_zone_info.cc src/time_zone_info.cc: In function 'char* cctz::{anonymous}::errmsg(int, char*, size_t)': src/time_zone_info.cc:64:20: error: invalid conversion from 'int' to 'char*' [-fpermissive] return strerror_r(errnum, buf, buflen); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/tmp/RtmpCFkHNG/R.INSTALLf644d5738/odbc/src/cctz' make[1]: *** [<builtin>: time_zone_info.o] Error 1 make: *** [Makevars:16: cctz/libcctz.a] Error 2 ERROR: compilation failed for package ‘odbc’ * removing ‘/usr/local/lib/R/library/odbc’ Error in i.p(...) : (converted from warning) installation of package ‘odbc’ had non-zero exit status Calls: <Anonymous> ... with_rprofile_user -> with_envvar -> force -> force -> i.p Execution halted Failed to install odbc
Which container is this?
FROM rhub/r-minimal
This should be fixed by r-dbi/odbc#400 if that will be merged. Until then you can install from my fork:
installr -d -t unixodbc-dev gaborcsardi/odbc
RUN installr -d -t unixodbc-dev gaborcsardi/odbc
throws me the f 5C85 ollowing error:
I have solved with
RUN installr -d -t unixodbc-dev r-dbi/odbc
I'll try this out in the coming weeks...
Activity
gaborcsardi commentedon Jul 23, 2020
Which container is this?
marcelo-g-simas commentedon Jul 23, 2020
FROM rhub/r-minimal
gaborcsardi commentedon Oct 25, 2020
This should be fixed by r-dbi/odbc#400 if that will be merged. Until then you can install from my fork:
CorradoLanera commentedon Jan 4, 2021
throws me the f 5C85 ollowing error:
I have solved with
marcelo-g-simas commentedon Jan 4, 2021
I'll try this out in the coming weeks...