Comments (12)
Fixed in this pull request:
from rmysql.
Any chance this can be pushed? I'm still seeing this error in CentOS 7.4, R 3.4.2 and MariaDB 10.2.11.1
from rmysql.
@datakid Meanwhile you can use my fork with install GitHub from devtools.
from rmysql.
Ah yeah. I might do. The RMariadb package installed - but the package I'm trying to install needs RMySQL and it's written poorly enough that I'd rather not fix it myself.
from rmysql.
@datakid My fork is from RMySQL master, to install it , you have to first install devtools from R package manager:
install.packages("devtools")
Then you will able to install RMySQL from my fork using the devtools (works on gentoo linux with latest mariadb beta too).
devtools::install_github("alecuba16/RMySQL")
PD: In windows you have to install RTOOLS before.
from rmysql.
Perfect - thanks!
from rmysql.
This also affects mariadb=10.2.*
(on Gentoo)
from rmysql.
I spent an hour or so trying to install RMySQL and re-discovered the patch suggested here. I can't see how this simple fix can break anything else, so I do hope this can be incorporated in the distribution and save a lot of others a bunch of time!
from rmysql.
Does this now work with the CRAN version 0.10.14?
from rmysql.
@krlmlr works for me now
from rmysql.
@krlmlr not for me
utils.c: In function ‘rmysql_version’:
utils.c:269:40: error: ‘MYSQL_SERVER_VERSION’ undeclared (first use in this function); did you mean ‘MYSQL_PS_CONVERSION’?
SET_STRING_ELT(output_nms, 0, mkChar(MYSQL_SERVER_VERSION));
^~~~~~~~~~~~~~~~~~~~
MYSQL_PS_CONVERSION
utils.c:269:40: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/usr/lib64/R/etc/Makeconf:159: utils.o] Error 1
ERROR: compilation failed for package ‘RMySQL’
OpenSUSE Tumbleweed, R 3.4.4, MariaDB 10.2.13
from rmysql.
I'm still seeing this error when building RMySQL (0.10.15) with MariaDB 10.2.8 to provide backend.
Edit: RMySQL 0.10.16 exhibits the same build failure.
utils.c: In function 'rmysql_version':
utils.c:269:40: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function); did you mean 'MYSQL_PS_CONVERSION'?
SET_STRING_ELT(output_nms, 0, mkChar(MYSQL_SERVER_VERSION));
^~~~~~~~~~~~~~~~~~~~
MYSQL_PS_CONVERSION
Seems like @jeroen implied that work done on Feb 25, 2018 (such as 6434882) was intended to fix this issue. That work should be in RMySQL (0.10.15).
Can't the patch suggested in #215 be merged?
CentOS Linux release 7.6.1810, R 3.5.1, MariaDB 10.2.8
from rmysql.
Related Issues (20)
- SSL CA fails HOT 1
- Error when installing RMysql on RHEL 7.3 HOT 3
- Query table of many DECIMAL columns causes error in terminal HOT 5
- RMysql encoding utf8 issue
- mysqlHasDefault() broken on Linux? HOT 1
- SSL - check status HOT 1
- Date datetype is written as text
- Document default database name in the RMySQL::mysqlHasDefault() function
- dbWriteTable fails without row_names column HOT 1
- Installing with Homebrew on OS X Sierra; cannot find RMySQL.so file it just created?
- Implement RStudio Connection Contract HOT 1
- Rows missing on inserting data frame with large character field
- GenomicFeatures and RMySQL HOT 4
- Cannot connect to MySQL 8.0.11 HOT 3
- Can't install
- Failure to use ~/.my.cnf beginning with v0.10.14 HOT 3
- Unable to install RMySQL on macOS 10.13.6 HOT 7
- host not read from .my.cnf HOT 15
- connecting using SSL (client.flag=2048) to a RDS DB freezes forever HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmysql.