pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lou Picciano <loupicciano@comcast.net>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Building pl/plsh - Shell scripting from PG v9.0.1?
Date: Sat, 20 Nov 2010 00:22:13 +0000 (UTC)
Message-ID: <2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)

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 

Message-ID: <2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
Permalink:  ../2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net/
Also on:    postgresql.org/message-id/2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: loupicciano@comcast.net
  Subject: Re: Building pl/plsh - Shell scripting from PG v9.0.1?
  In-Reply-To: <2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
  References: <2053594345.829727.1290212533738.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox