Build PLv8
Build the Javascript procedural language extension PLv8 for PostgreSQL.
Module:
Build plv8
Install Deps (EL)
sudo yum groupinstall --nobest -y 'Development Tools';
sudo yum install git cmake
Clone the source
rpmdev-setuptree
cd ~/rpmbuild/SOURCES/
git clone git@github.com:plv8/plv8.git
cd plv8; git checkout v3.2.2
make -j16
Make RPM:
rpmbuild --define "pgmajorversion 16" -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 15" -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 14" -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 13" -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 12" -ba ~/rpmbuild/SPECS/plv8.spec
Or:
cd ~/rpmbuild/SPECS && make plv8
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.