Closed GoogleCodeExporter closed 9 years ago
We do not support RStudio. You might get help from the RStudio folks. With
that said, I did verify that RPostgreSQL compiles just fine from R in Yosemite
& Mavericks from the command line.
See below for Mavericks:
MBP:RPostgreSQL$ R CMD INSTALL --preclean RPostgreSQL
* installing to library
'/Library/Frameworks/R.framework/Versions/3.1/Resources/library'
* installing *source* package 'RPostgreSQL' ...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.0
checking target system type... x86_64-apple-darwin13.4.0
checking for pg_config... /opt/local/bin/pg_config
checking for "/opt/local/include/postgresql94/libpq-fe.h"... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-DBI.c -o RS-DBI.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-PQescape.c -o RS-PQescape.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-PostgreSQL.c -o RS-PostgreSQL.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-pgsql-copy.c -o RS-pgsql-copy.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-pgsql-getResult.c -o RS-pgsql-getResult.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-pgsql-pqexec.c -o RS-pgsql-pqexec.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
-I/opt/local/include/postgresql94 -I/usr/local/include
-I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2
-g -O2 -c RS-pgsql-pqexecparams.c -o RS-pgsql-pqexecparams.o
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup
-single_module -multiply_defined suppress -L/usr/local/lib -o RPostgreSQL.so
RS-DBI.o RS-PQescape.o RS-PostgreSQL.o RS-pgsql-copy.o RS-pgsql-getResult.o
RS-pgsql-pqexec.o RS-pgsql-pqexecparams.o -L/opt/local/lib/postgresql94 -lpq
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework
-Wl,CoreFoundation
installing to
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RPostgreSQL/libs
** R
** inst
** preparing package for lazy loading
Creating a generic function for 'format' from package 'base' in package
'RPostgreSQL'
Creating a generic function for 'print' from package 'base' in package
'RPostgreSQL'
Creating a generic function for 'summary' from package 'base' in package
'RPostgreSQL'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (RPostgreSQL)
MBP:RPostgreSQL$ ./check_with_vars.sh
-------------- write version info ----------------------
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F34
RPostgreSQL svn version: 273
psql (PostgreSQL) 9.4rc1
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
Original comment by ne...@neiltiffin.com
on 25 Nov 2014 at 10:45
Original issue reported on code.google.com by
U2US...@gmail.com
on 25 Nov 2014 at 6:23