Back to the "Multiple platform build/check report"
| Package 168/205 | OS | Arch | BUILD | CHECK | BUILD BIN |
RPostgreSQL0.0.0H. Pages | Linux (SUSE 9.2) | x86_64 | OK | ERROR | |
| Linux (SUSE 9.2) | i686 | OK | ERROR | ||
| Solaris 2.9 | sparc | OK | ERROR | ||
| Linux (SUSE 10.0) | x86_64 | OK | ERROR | ||
| Windows Server 2003 | x86_64 | OK | ERROR | ERROR | |
| Windows XP | i686 | OK | ERROR | skipped | |
| Mac OS X (10.4.6) | i686 | OK | [ ERROR ] |
| Package: RPostgreSQL |
| Version: 0.0.0 |
| Command: /Library/Frameworks/R.framework/Resources/bin/R CMD check RPostgreSQL_0.0.0.tar.gz |
| RetCode: 1 |
| Time: 9.7 seconds |
| Status: ERROR |
| CheckDir: RPostgreSQL.Rcheck |
| Warnings: NA |
* checking for working latex ... OK * using log directory '/Users/biocbuild/1.9d/Rpacks/RPostgreSQL.Rcheck' * using R version 2.4.0 alpha (2006-09-07 r39185) * checking for file 'RPostgreSQL/DESCRIPTION' ... OK * this is package 'RPostgreSQL' version '0.0.0' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'RPostgreSQL' can be installed ... ERROR Installation failed. See '/Users/biocbuild/1.9d/Rpacks/RPostgreSQL.Rcheck/00install.out' for details.
RPostgreSQL.Rcheck/00install.out:
* Installing *source* package 'RPostgreSQL' ...
creating cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for compress in -lz... yes
checking for getopt_long in -lc... yes
checking for mysql_init in -lmysqlclient... no
checking for mysql.h... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for mysql_init in -lmysqlclient... no
checking for /usr/local/include/mysql/mysql.h... no
checking for /usr/include/mysql/mysql.h... no
checking for /usr/local/mysql/include/mysql/mysql.h... no
checking for /opt/include/mysql/mysql.h... no
checking for /include/mysql/mysql.h... no
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"
export PKG_LIBS="-L -lmysqlclient"
Re-run the R INSTALL command:
R CMD INSTALL RMySQL_.tar.gz
2. Alternatively, you may pass the configure arguments
--with-mysql-dir= (distribution directory)
or
--with-mysql-inc= (where MySQL header files reside)
--with-mysql-lib= (where MySQL libraries reside)
in the call to R INSTALL --configure-args='...'
R CMD INSTALL --configure-args='--with-mysql-dir=DIR' RMySQL_.tar.gz
ERROR: configuration failed for package 'RPostgreSQL'
** Removing '/Users/biocbuild/1.9d/Rpacks/RPostgreSQL.Rcheck/RPostgreSQL'