[R] RMySQL compile

stenka1 at go.com stenka1 at go.com
Tue Mar 31 02:05:48 CEST 2009

     I am trying to install RMySQL on OpenSolaris and need to pass some options
      to configure.
      Tried the 3 recommended ways of doing it and nothing works, configure
      find the headers and the libs.
      I ran configure manually and that worked fine
      ./configure    CC=cc    CFLAGS="-dalign    -KPIC    -xlic_lib=sunperf"
      LDFLAGS="-L/usr/sfw/lib  -L/usr/lib  -L/usr/local/lib  -L/opt/csw/lib"
      CPPFLAGS="-I/usr/local/lib/R/include    -I/usr/mysql/5.0/include/mysql
      -I/opt/csw/include        -I/usr/sfw/include        -I/usr/X11/include
      -I/usr/lib/gtk-2.0/include                       -I/usr/local/include"
      checking mysql.h usability... yes
      checking mysql.h presence... yes
      checking for mysql.h... yes
      configure: creating ./config.status
      config.status: creating src/Makevars
      but then there is no makefile. Pls advise how to run make manually or
      with the syntax: I tried with quotes after the second = and the first =
      neither worked
      R CMD INSTALL --configure-args=CC=cc --configure-args=CFLAGS="-dalign
      -xlic_lib=sunperf" --configure-args=LDFLAGS="-L/usr/sfw/lib -L/usr/lib
      -L/usr/local/lib -L/opt/csw/lib"
      -I/usr/mysql/5.0/include/mysql  -I/opt/csw/include  -I/usr/sfw/include
      -I/usr/X11/include   -I/usr/lib/gtk-2.0/include  -I/usr/local/include"
      RMySQL_0.7-3.tar.gz   ## does not work
   Stephen C. Bond

More information about the R-help mailing list