Skip to content
Prev 175570 / 398502 Next

RMySQL compile

Try this:

PKG_CPPFLAGS="-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" PKG_LIBS="-L/usr/sfw/lib 
-L/usr/lib  -L/usr/local/lib  -L/opt/csw/lib -lmysqlclient" R CMD 
INSTALL RMySQL

I had to refresh my memory from the inst/INSTALL file on how to do this. 
You might have to tweak it a bit, and also please send the full output 
of the command next time.

Best,

Jeff
stenka1 at go.com wrote: