Thread: Building pl/plsh - Shell scripting from PG v9.0.1?

Building pl/plsh - Shell scripting from PG v9.0.1?

From
Lou Picciano
Date:
PG Wizards:

I wonder if any of you has had luck building plpgsh on a v9.0.1 build of PostgreSQL?
Platform is x86 openIndiana. Perhaps I'm the first?

This simple configure seems to work:

# ./configure prefix=/usr/local/pgsql/901 PG_CONFIG=/usr/local/pgsql/901/bin/pg_config

But build hiccups:

(cd .libs && rm -f pgplsh.la && ln -s ../pgplsh.la pgplsh.la)
.  pgplsh.la && sed "s,%filename%,/usr/local/pgsql/901/lib/pgplsh/$dlname,g" ./createlang_pgplsh.sql.in >createlang_pgplsh.sql
/bin/sh[1]: .: pgplsh.la: cannot open [No such file or directory]
make: *** [createlang_pgplsh.sql] Error 1

I'm sure one of you can look at it and realize what's wrong. I'm going to start digging through the Makefile later tonight, but thought I'd try here first.

We're eager to try some bash scripting from - and back to - PostgreSQL.

Many Thanks, Lou Picciano