<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)"><strong><span style="font-weight:normal">sudo apt-get install mysql-server apache2 libapache2-mod-php5 php5 php5-mysql phpmyadmin</span></strong><br>

</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><strong><span style="font-weight:normal"><br></span></strong></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)">

<strong><span style="font-weight:normal"><br></span></strong></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:small;color:rgb(51,51,51)"><strong><span style="font-weight:normal"><br>

</span></strong></div><div><div dir="ltr"><table border="0" cellspacing="0" cellpadding="0" width="643" style="width:482pt;border-collapse:collapse">
 <tbody><tr>
  <td width="154" style="width:115.55pt;padding:0cm 5.4pt">
  <a href="http://www.showmetech.com.br" target="_blank"><img src="http://dl.dropbox.com/u/15760623/image001.png"></a><br>
  </td>
  <td width="300" valign="top" style="width:224.7pt;padding:0cm 5.4pt">
  <p style="margin-bottom:0.0001pt"><b><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(228,108,10)">LEANDRO MARINO</span></b><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(228,108,10)"> </span><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(102,102,102)">| Showmetech<br>


  </span><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)">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 lang="EN-US" style="color:rgb(127,127,127)">facebook</span></a></span><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)"> | </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 lang="EN-US" style="color:rgb(127,127,127)">twitter</span></a></span><span lang="EN-US" style="font-size:10pt;font-family:'Trebuchet MS',sans-serif;color:rgb(127,127,127)"> | <span style="color:rgb(127,127,127)"><a href="https://plus.google.com/115440786884851522659" target="_blank">Google+</a><br>

</span></span></p></td><td width="189" style="width:5cm;padding:0cm 5.4pt"><p align="center" style="margin-bottom:0.0001pt;text-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>