X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2B5FC14B27FF for ; Mon, 9 Aug 2004 11:34:39 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39002-04 for ; Mon, 9 Aug 2004 14:34:37 +0000 (GMT) Received: from martin.sysdetect.com (martin.sysdetect.com [65.209.102.1]) by svr1.postgresql.org (Postfix) with ESMTP id 388BE14B27FB for ; Mon, 9 Aug 2004 11:34:35 -0300 (ADT) Received: (from mail@localhost) by martin.sysdetect.com (8.11.4/8.11.3) id i79EYeU00228 for ; Mon, 9 Aug 2004 14:34:40 GMT Received: from winwood.sysdetect.com(172.16.1.1) via SMTP by mail.sysdetect.com, id smtpdX19278; Mon Aug 9 14:34:33 2004 Received: from sysd.com (thriller.sysdetect.com [172.16.1.33]) by winwood.sysdetect.com (8.11.6/8.11.6) with ESMTP id i79EYXb08891 for ; Mon, 9 Aug 2004 10:34:33 -0400 Message-ID: <41178B79.5090508@sysd.com> Date: Mon, 09 Aug 2004 10:34:33 -0400 From: Rich Cullingford User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: Installing "untrusted" python an a PG 7.4.3 DB Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/8 X-Sequence-Number: 5056 All, I configured PG 7.4.3 --with-python on a Linux RH 7.3 box that has a Python 1.5 installation. Then I 'made' it, 'install'ed it, and started the database without incident. Then, the attempt to install the "untrusted" version of Pyton in a DB (which the doc says is the only supported one at this point) yields: bash-2.04$ createlang plpythonu bazoo createlang: missing required argument PGLIB directory (This is the directory where the interpreter for the procedural language is stored. Traditionally, these are installed in whatever 'lib' directory was specified at configure time.) bash-2.04$ createlang -L /proj/thriller/pg743/lib/postgresql/plpython.so plpythonu bazoo createlang: unsupported language 'plpythonu' Supported languages are 'plpgsql', 'pltcl', and 'plperl'. bash-2.04$ ls ../lib/postgresql/plpython.so ../lib/postgresql/plpython.so As you can see, the plpython shareable is where it should be, but creatlang doesn't seem to recognize the existence of Python itself. (I get the same error when I try to install 'plpython). Python itself runs fine on this machine, so I'm stumped. Any help would be appreciated. Sincerely, Rich Cullingford rculling@sysd.com