Giter VIP home page Giter VIP logo

Comments (12)

alecuba16 avatar alecuba16 commented on July 26, 2024

Fixed in this pull request:

#215

from rmysql.

datakid avatar datakid commented on July 26, 2024

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.

alecuba16 avatar alecuba16 commented on July 26, 2024

@datakid Meanwhile you can use my fork with install GitHub from devtools.

from rmysql.

datakid avatar datakid commented on July 26, 2024

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.

alecuba16 avatar alecuba16 commented on July 26, 2024

@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.

datakid avatar datakid commented on July 26, 2024

Perfect - thanks!

from rmysql.

mschubert avatar mschubert commented on July 26, 2024

This also affects mariadb=10.2.* (on Gentoo)

from rmysql.

vpbrendel avatar vpbrendel commented on July 26, 2024

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.

krlmlr avatar krlmlr commented on July 26, 2024

Does this now work with the CRAN version 0.10.14?

from rmysql.

mschubert avatar mschubert commented on July 26, 2024

@krlmlr works for me now

from rmysql.

dialvarezs avatar dialvarezs commented on July 26, 2024

@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.

odoublewen avatar odoublewen commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.