valeu daniel funcionou! :) vou guardar esta dica! :)
<http://www.showmetech.com.br> *LEANDRO MARINO* | Showmetech Estatístico | Fotógrafo Mobile: 55 21 9845-7707 Email: cont...@leandromarino.com.br Profiles SMT: facebook <http://www.facebook.com/showmetech> | twitter<http://www.twitter.com/showmetech> | Google+ <https://plus.google.com/115440786884851522659> <http://www.leandromarino.com.br> 2013/7/1 Daniel C Bezerra <danielcbeze...@gmail.com> > Rode no terminal : > > sudo apt-get build-dep r-cran-rmysql > > E depois tente instalar o pacote novamente. > > Abs, > > Daniel > On Jul 1, 2013 3:27 PM, "Leandro Marino" < > leandromar...@leandromarino.com.br> wrote: > >> Caros, >> >> executei a instalação do Rmysql no ubuntu sem sucesso. já executei o >> primeiro passo das instruções mas nao sei como fazer o segundo passo... >> alguma sugestão? >> >> Configuration error: >> could not find the MySQL installation include and/or library >> directories. Manually specify the location of the MySQL >> libraries and the header files and re-run R CMD INSTALL. >> >> INSTRUCTIONS: >> >> 1. Define and export the 2 shell variables PKG_CPPFLAGS and >> PKG_LIBS to include the directory for header files (*.h) >> and libraries, for example (using Bourne shell syntax): >> >> export PKG_CPPFLAGS="-I<MySQL-include-dir>" >> export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient" >> >> Re-run the R INSTALL command: >> >> R CMD INSTALL RMySQL_<version>.tar.gz >> >> 2. Alternatively, you may pass the configure arguments >> --with-mysql-dir=<base-dir> (distribution directory) >> or >> --with-mysql-inc=<base-inc> (where MySQL header files reside) >> --with-mysql-lib=<base-lib> (where MySQL libraries reside) >> in the call to R INSTALL --configure-args='...' >> >> R CMD INSTALL --configure-args='--with-mysql-dir=DIR' >> RMySQL_<version>.tar.gz >> >> ERROR: configuration failed for package ‘RMySQL’ >> * removing ‘/usr/local/lib/R/site-library/RMySQL’ >> >> The downloaded source packages are in >> ‘/tmp/RtmpIdWQKu/downloaded_packages’ >> Warning message: >> In install.packages("RMySQL") : >> installation of package ‘RMySQL’ had non-zero exit status >> >> a instalação do my sql se deu com o comando: >> *sudo apt-get install mysql-server apache2 libapache2-mod-php5 php5 >> php5-mysql phpmyadmin* >> * >> * >> * >> * >> * >> * >> <http://www.showmetech.com.br> >> >> *LEANDRO MARINO* | Showmetech >> Estatístico | Fotógrafo >> Mobile: 55 21 9845-7707 >> Email: cont...@leandromarino.com.br >> Profiles SMT: facebook <http://www.facebook.com/showmetech> | >> twitter<http://www.twitter.com/showmetech> >> | Google+ <https://plus.google.com/115440786884851522659> >> >> <http://www.leandromarino.com.br> >> >> >> _______________________________________________ >> R-br mailing list >> R-br@listas.c3sl.ufpr.br >> https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br >> Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça >> código mínimo reproduzível. >> > > _______________________________________________ > R-br mailing list > R-br@listas.c3sl.ufpr.br > https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br > Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça > código mínimo reproduzível. >
_______________________________________________ R-br mailing list R-br@listas.c3sl.ufpr.br https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código mínimo reproduzível.