[R-SIG-Mac] RMySQL install failure

Paul Roebuck roebuck at mdanderson.org
Sat Nov 4 02:35:17 CET 2006


On Thu, 2 Nov 2006, [ISO-8859-1] Ricardo Rodríguez wrote:

> I'm also struggling to get RMySQL up and running over here.
>
> [SNIP]
>
> By downloading mysql-5.0.27.tar.gz, exploding it and exporting the
> concerned variables as following, I get the messages included below...
>
> export PKG_CPPFLAGS="-I/users/rrodriguez/Desktop/mysql-5.0.27/include"
> export PKG_LIBS="-L/users/rrodriguez/Desktop/mysql-5.0.27/lib -
> lmysqlclient"
> R CMD INSTALL RMySQL_0.5-9.tar.gz
>
> ricardo-rodriguezs-computer:/Users/rrodriguez/Desktop root# R CMD
> INSTALL RMySQL_0.5-9.tar.gz
> * Installing *source* package 'RMySQL' ...
> [SNIP]
> ** libs
> ** arch - i386
> gcc-4.0 -arch i386 -I/Library/Frameworks/R.framework/Resources/
> include -I/Library/Frameworks/R.framework/Resources/include/i386 -I/
> users/rrodriguez/Desktop/mysql-5.0.27/include -msse3 -
> D__NO_MATH_INLINES  -fPIC -fno-common  -g -O2 -std=gnu99 -
> march=pentium-m -mtune=prescott -c RS-DBI.c -o RS-DBI.o
> [SNIP]

I'm no MySQL person, but it would seem a likely error message
based on the above. The exported variables are to pathnames
that are nonexistent. Try these instead:

PKG_CPPFLAGS="-I/Users/rrodriguez/Desktop/mysql-5.0.27/include"
PKG_LIBS="-L/Users/rrodriguez/Desktop/mysql-5.0.27/lib -lmysqlclient"

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



More information about the R-SIG-Mac mailing list