<div dir="ltr"><p dir="ltr">Rode no terminal :</p><p dir="ltr">
sudo apt-get build-dep r-cran-rmysql </p>
<p dir="ltr">E depois tente instalar o pacote novamente.</p>
<p dir="ltr">Abs,<br>
</p><p dir="ltr">Daniel</p>
<div class="gmail_quote">On Jul 1, 2013 3:27 PM, "Leandro Marino" <<a href="mailto:leandromarino@leandromarino.com.br" target="_blank">leandromarino@leandromarino.com.br</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">Caros,</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">
<br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">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?</div>
<div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">
Configuration error:<br> could not find the MySQL installation include and/or library<br> directories. Manually specify the location of the MySQL<br> libraries and the header files and re-run R CMD INSTALL.<br><br>INSTRUCTIONS:<br>
<br>1. Define and export the 2 shell variables PKG_CPPFLAGS and<br> PKG_LIBS to include the directory for header files (*.h)<br> and libraries, for example (using Bourne shell syntax):<br><br> export PKG_CPPFLAGS="-I<MySQL-include-dir>"<br>
export PKG_LIBS="-L<MySQL-lib-dir> -lmysqlclient"<br><br> Re-run the R INSTALL command:<br><br> R CMD INSTALL RMySQL_<version>.tar.gz<br><br>2. Alternatively, you may pass the configure arguments<br>
--with-mysql-dir=<base-dir> (distribution directory)<br> or<br> --with-mysql-inc=<base-inc> (where MySQL header files reside)<br> --with-mysql-lib=<base-lib> (where MySQL libraries reside)<br>
in the call to R INSTALL --configure-args='...' <br><br> R CMD INSTALL --configure-args='--with-mysql-dir=DIR' RMySQL_<version>.tar.gz<br><br>ERROR: configuration failed for package ‘RMySQL’<br>
* removing ‘/usr/local/lib/R/site-library/RMySQL’<br><br>The downloaded source packages are in<br> ‘/tmp/RtmpIdWQKu/downloaded_packages’<br>Warning message:<br>In install.packages("RMySQL") :<br> installation of package ‘RMySQL’ had non-zero exit status<br>
</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">
a instalação do my sql se deu com o comando:</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><b><span style="font-weight:normal">sudo apt-get install mysql-server apache2 libapache2-mod-php5 php5 php5-mysql phpmyadmin</span></b><br>
</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><b><span style="font-weight:normal"><br></span></b></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">
<b><span style="font-weight:normal"><br></span></b></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><b><span style="font-weight:normal"><br>
</span></b></div><div><div dir="ltr"><table style="width:482pt;border-collapse:collapse" width="643" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="width:115.55pt;padding:0cm 5.4pt" width="154">
<a href="http://www.showmetech.com.br" target="_blank"><img src="http://dl.dropbox.com/u/15760623/image001.png"></a><br>
</td>
<td style="width:224.7pt;padding:0cm 5.4pt" valign="top" width="300">
<p style="margin-bottom:0.0001pt"><b><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(228,108,10)" lang="EN-US">LEANDRO MARINO</span></b><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(228,108,10)" lang="EN-US"> </span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(102,102,102)" lang="EN-US">| Showmetech<br>
</span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)" lang="EN-US">Estatístico | Fotógrafo<br>
Mobile: <a><span style="color:rgb(127,127,127)">55 21 9845-7707</span></a><br>
Email: <a href="mailto:contato@leandromarino.com.br" target="_blank"><span style="color:rgb(127,127,127)">contato@leandromarino.com.br</span></a><br>
Profiles SMT: </span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)"><a href="http://www.facebook.com/showmetech" target="_blank"><span style="color:rgb(127,127,127)" lang="EN-US">facebook</span></a></span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)" lang="EN-US"> | </span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)"><a href="http://www.twitter.com/showmetech" target="_blank"><span style="color:rgb(127,127,127)" lang="EN-US">twitter</span></a></span><span style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)" lang="EN-US"> | <span style="color:rgb(127,127,127)"><a href="https://plus.google.com/115440786884851522659" target="_blank">Google+</a><br>
</span></span></p></td><td style="width:5cm;padding:0cm 5.4pt" width="189"><p style="margin-bottom:0.0001pt;text-align:center" align="center"><a href="http://www.leandromarino.com.br" target="_blank"><img src="http://dl.dropbox.com/u/15760623/LeandroMarino%20copy.png"></a><br>
</p></td></tr></tbody></table><br></div></div>
</div>
<br>_______________________________________________<br>
R-br mailing list<br>
<a href="mailto:R-br@listas.c3sl.ufpr.br" target="_blank">R-br@listas.c3sl.ufpr.br</a><br>
<a href="https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br" target="_blank">https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br</a><br>
Leia o guia de postagem (<a href="http://www.leg.ufpr.br/r-br-guia" target="_blank">http://www.leg.ufpr.br/r-br-guia</a>) e forneça código mínimo reproduzível.<br></blockquote></div>
</div>