Skip to content

Unable to install RMySQL on macOS 10.13.6 #224

Closed
@alecshaw

Description

@alecshaw

I am currently trying to install RMySQL as it is a dependency for the mdsr package. The following is the error message I receive.

clang -I"/usr/local/Cellar/r/3.5.1/lib/R/include" -DNDEBUG -I/usr/local/Cellar/mysql/8.0.12/include/mysql   -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include   -fPIC  -g -O2  -c connection.c -o connection.o
connection.c:224:3: error: use of undeclared identifier 'my_bool'
  my_bool           tmp;
  ^
connection.c:229:3: error: use of undeclared identifier 'tmp'
  tmp = mysql_more_results(my_connection);
  ^
connection.c:230:24: error: use of undeclared identifier 'tmp'
  return ScalarLogical(tmp);
                       ^

I have tried a few different Stack Overflow threads, but they haven't solved the issue. Any help would be much appreciated.

Edit: It looks like pull request #223 would sort this out.

macOS 10.13.6
R 3.5.1
MySQL 8.0.12 Homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions