Comments (2)
January 5, 2010 11:49:07 AM CST
Neil, Dirk,
thanks for your help! I finally managed to compile and install the package. Two
issues:
* Setting the location of the PG header files as shown on the Wiki page does
not seem to have any effect. Also, changing the search lists in configure and
configure.in still gives the same error. Due to my lack of knowledge about
(auto)configure, I manually override the paths for the libs and includes in
configure by adding
PG_INCDIR=/Library/PostgresPlus/8.4SS/include
PG_LIBDIR=/Library/PostgresPlus/8.4SS/lib
at around line 2675 (after the directories are tested). These are the paths for
the EnterprizeDB Postgres Standard Server (8.4) I am using. Compilation now
starts (but see below). Still, this suggests to me that there is a problem in
the configure script, which causes the PG_*DIR variables not to be set at all.
This would also explain why the CRAN version does not compile (with the Fink PG
libs installed).
* For OS X Users, R needs to be called with the arch flag correctly set, as in
> sudo R --arch=i386 CMD INSTALL RPostgreSQL
The default R call compiles a 64-bit package, but installs it under 32-bit R,
which results in an error when the package is loaded. Maybe this is worth
adding to the Wiki.
Thanks again for your work on the package!
Best
Nils
Original comment by [email protected]
on 24 Aug 2010 at 1:53
from rpostgresql.
Hopefully fixed in r134.
Original comment by [email protected]
on 24 Aug 2010 at 2:36
- Changed state: Fixed
from rpostgresql.
Related Issues (20)
- Get autogenerated keys
- Bug linker flag when build with/link to exist postgresql library in custom path HOT 3
- Usage of internal libpq distribution is broken
- Outdated config.guess and config.sub HOT 2
- Error connecting to postgres 13 using RPostgres package in R. “authentication method 10 not supported” HOT 6
- Error loading RPostgreSQL HOT 6
- 'dbWriteTable()' does not write data out of public schema HOT 4
- configure: error: cannot guess build type; you must specify one in [install.packages("RPostgreSQL")] HOT 2
- Issue installing RPostgreSQL on linux HOT 6
- Unable to install in R HOT 6
- Create Roles and users from RPostgreSQL HOT 4
- dbSendQuery segfault on bad SQL query HOT 1
- How to find headers in /usr/include/psql? HOT 2
- How to pass binary_parameters="yes"? HOT 1
- please support PQconnectdb() interface HOT 2
- `dbConnect()` crashes R Studio instead of erroring HOT 4
- CRAN NEWS and Changelog are out of date
- libpq version 10 or above required for authentication HOT 6
- Old problem: libpg version problems HOT 5
- RPostgreSQL 0.7-4 isn't working with libpq 15.1? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpostgresql.