Skip to content

RMySQL dependency #11

@jvanheld

Description

@jvanheld

ReMap depends on RMySQL, which requires admin rights to be installed because it depends itself on quite specific system libraries.

Is there a real need for RMySQL ? Is there an easier-to-install alternative ?

If possible – it would be better to avoid this dependency, because it would be problematic for users who have no admin right on their machine / server, and they may renounce to install and use the package.

Cheers

Jacques

> install.packages("RMySQL")
Installing package into '/shared/mfs/data/home/jvanhelden/R/x86_64-conda_cos6-linux-gnu-library/3.5'
(as 'lib' is unspecified)
trying URL 'https://cran.biotools.fr/src/contrib/RMySQL_0.10.17.tar.gz'
Content type 'application/x-gzip' length 52273 bytes (51 KB)
==================================================
downloaded 51 KB

* installing *source* package ‘RMySQL’ ...
** package ‘RMySQL’ successfully unpacked and MD5 sums checked
Using PKG_CFLAGS=
Using PKG_LIBS=-lmysqlclient
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because no mysql client library was found. Try installing:
 * deb: libmariadbclient-dev | libmariadb-client-lgpl-dev (Debian, Ubuntu)
 * rpm: mariadb-connector-c-devel | mariadb-devel | mysql-devel (Fedora, CentOS, RHEL)
 * csw: mysql56_dev (Solaris)
 * brew: mariadb-connector-c (OSX)
If you already have a mysql client library installed, verify that either
mariadb_config or mysql_config is on your PATH. If these are unavailable
you can also set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘RMySQL’
* removing ‘/shared/mfs/data/home/jvanhelden/R/x86_64-conda_cos6-linux-gnu-library/3.5/RMySQL’

The downloaded source packages are in
        '/tmp/RtmplOT31T/downloaded_packages'
Warning message:
In install.packages("RMySQL") :
  installation of package 'RMySQL' had non-zero exit status

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