Re: [R] RMySQL compile

2009-03-31 Thread sten...@go.com
Jeff, it still cannot find mysql.h * Installing to library '/export/home/scb/R/i386-pc-solaris2.11-library/2.8' * Installing *source* package 'RMySQL' ... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works...

Re: [R] RMySQL compile

2009-03-31 Thread Jeffrey Horner
sten...@go.com wrote on 03/31/2009 08:11 AM: Jeff, Thank you so much for responding. I am ready to do a lot of tweaking. From your message it looks like you are asking me to provide assignments on the same line as R CMD but precede the command. I am using bash and the usual thing would be to

Re: [R] RMySQL compile

2009-03-31 Thread sten...@go.com
Jeff, Thank you so much for responding. I am ready to do a lot of tweaking. From your message it looks like you are asking me to provide assignments on the same line as R CMD but precede the command. I am using bash and the usual thing would be to export those variables and then run

Re: [R] RMySQL compile

2009-03-31 Thread Jeffrey Horner
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 re

[R] RMySQL compile

2009-03-30 Thread sten...@go.com
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 cannot find the headers and the libs. I ran configure manually and that worked fine ./configureCC