After yesterday's dissection of the plr install for postgres 8.1, I decided to create a 8.2 install.
I noticed plr 8.2 is already available for Gutsy (which is still in development at the time of this writing).
So I tried the Gutsy .deb (binary), but it would not install b/c of a unmet gcc dependency. So I tried building it from the deb sources, but plr.c would not compile as is. After hacking around I was able to get it to build.
Using Gutsy deb-src to build a Feisty .deb (binary) for postgesql 8.2 plr
$ wget http://mirrors.easynews.com/linux/ubuntu/pool/universe/p/plr/plr_126.96.36.199-1.diff.gz
$ wget http://mirrors.easynews.com/linux/ubuntu/pool/universe/p/plr/plr_188.8.131.52-1.dsc
$ wget http://mirrors.easynews.com/linux/ubuntu/pool/universe/p/plr/plr_184.108.40.206.orig.tar.gz
$ dpkg-source -x plr_220.127.116.11-1.dsc
$ cd plr-18.104.22.168
$ vi +185 plr.h
Remove the ", R_NilValue" from the end of the line. Line should read:
#define R_PARSEVECTOR(a_, b_, c_) R_ParseVector(a_, b_, (ParseStatus *) c_)
$ dpkg-buildpackage -rfakeroot -b
$ cd ..
$ sudo dpkg --install postgresql-8.2-plr_22.214.171.124-1_amd64.deb