Created
August 27, 2013 18:09
-
-
Save kcwu/6356975 to your computer and use it in GitHub Desktop.
Install pgrest on FreeBSD -current
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. postgresql | |
install /usr/ports/databases/postgresql93-server/ | |
# p.s. I haven't applied following patch. | |
# http://www.freebsd.org/cgi/query-pr.cgi?pr=175783 | |
2. plv8js | |
git clone https://code.google.com/p/plv8js/ | |
cd plv8js | |
gmake CUSTOM_CC=g++46 # if failed, reinstall gcc46 | |
gmake CUSTOM_CC=g++46 install | |
# this will install following files | |
# /usr/local/lib/postgresql/plv8.so | |
# /usr/local/share/postgresql/extension/pl{v8,coffee,ls}* | |
3. livescript | |
npm i -g LiveScript@1.1.x | |
4. pgrest | |
npm i -g pgrest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that http://www.freebsd.org/cgi/query-pr.cgi?pr=175783 is needed in SMP environment.