Comments (4)
You may have to set R_HOME
from plr.
Hey Dave! Thanks for the tip.
The path is as follows:
> R.home(component="home")
[1] "/Library/Frameworks/R.framework/Resources"
From the cloned plr
repo, I run the following
mpatel@Meeras-MacBook-Pro plr % export R_HOME=/Library/Frameworks/R.framework/Resources**
mpatel@Meeras-MacBook-Pro plr % export PATH=$PATH:/usr/local/bin/postgres
mpatel@Meeras-MacBook-Pro plr % USE_PGXS=1 make
mpatel@Meeras-MacBook-Pro plr % USE_PGXS=1 make install
make: Nothing to be done for `all'.
/bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/lib/postgresql'
/bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/share/postgresql/extension'
/bin/sh /usr/local/lib/postgresql/pgxs/src/makefiles/../../config/install-sh -c -d '/usr/local/share/postgresql/extension'
/usr/bin/install -c -m 755 plr.so '/usr/local/lib/postgresql/plr.so'
/usr/bin/install -c -m 644 .//plr.control '/usr/local/share/postgresql/extension/'
/usr/bin/install -c -m 644 .//plr--8.4.5.sql .//plr--unpackaged--8.4.5.sql .//plr--8.3.0.18--8.4.sql .//plr--8.4.1--8.4.2.sql .//plr--8.4.3--8.4.4.sql .//plr--8.4--8.4.1.sql .//plr--8.4.2--8.4.3.sql .//plr--8.4.4--8.4.5.sql '/usr/local/share/postgresql/extension/'
When I try to setup the extension in Postgres, I am getting this message.
mpatel@Meeras-MacBook-Pro plr % psql athena
psql (14.1, server 13.5)
Type "help" for help.
athena=# CREATE EXTENSION plr;
ERROR: extension "plr" has no installation script nor update path for version "8.4.5"
from plr.
I just tried it on my MBP and it worked fine.
It appears that psql is version 14.1 and the server is 13.5. Is it possible it installed it in the wrong place ?
from plr.
@davecramer Thanks for looking into this. I had 2 installations of Postgres and the path was pointing to the wrong binary. It is working great now! This is a handy tool and am excited to have found it and get it running!
from plr.
Related Issues (20)
- Figure out how skip ci for non code changes
- Release 8.4.2 HOT 4
- Changelog should have an example of a custom type (tuple) argument in a window function
- Need to revert this change HOT 1
- Tagging the project no longer releases the tag HOT 9
- Test and Build PL/R on PostgreSQL 14 HOT 4
- Can't ALTER EXTENSION ... UPDATE from 8.4.2 to 8.4.4 HOT 3
- Fix the pgcrypto position error in the Windows build that uses pg master HOT 2
- 8_4_5 release is missing from releases section of github HOT 5
- Fix Code Documentation HOT 2
- Could not load library plr.dll HOT 21
- Update appveyor to pg v14 and R v 4.2.0 HOT 6
- Build PL/R on PG15 and R_4.2.1 and 4.1.3 HOT 4
- New R 4.3.0 with Visual Studio on Windows challenges HOT 3
- Build_plr_with_Microsoft_Visual_Studio_2022 HOT 4
- Update versions of PG and R. Support. Introduce the meson build system.
- Update versions of PG and R. Introduce the meson build system. #146
- Pull #149 - Linux Ubuntu Debian PostgreSQL 16 Binaries are Now Available HOT 1
- Getting started in Docker? HOT 1
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 plr.