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

From: Lou Picciano <loupicciano(at)comcast(dot)net>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Building pl/plsh - Shell scripting from PG v9.0.1?
Date: 2010-11-20 00:22:13
Message-ID: 2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message Pourghorban.S 2010-11-20 16:14:58 implement BLP model on Postgresql db
Previous Message Steve Francis 2010-11-19 19:42:44 Re: Pre-Allocate tablespace on disk