Received: from mail.tcu-inc.com ([209.10.229.226]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f4C6MWA06936 for ; Sat, 12 May 2001 02:22:32 -0400 (EDT) (envelope-from pgsql@mail.tcu-inc.com) Received: (from pgsql@localhost) by mail.tcu-inc.com (8.9.3/8.9.3) id GAA22659; Fri, 11 May 2001 06:41:49 -0400 From: Mark Nielsen Message-Id: <200105111041.GAA22659@mail.tcu-inc.com> Subject: Re: Cannot build PL/Perl ... To: drfrog@smartt.com (clayton cottingham) Date: Fri, 11 May 2001 06:41:49 -0400 (EDT) Cc: adamwal@poczta.onet.pl (Adam Walczykiewicz), pgsql-sql@postgresql.org In-Reply-To: <3AF07997.211A27FF@smartt.com> from "clayton cottingham" at May 02, 2001 02:18:15 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200105/105 X-Sequence-Number: 2921 cd /usr/local/src lynx --source http://www.tcu-inc.com/perl5.6.1.tgz > perl-5.6.1.tgz tar -zxvf perl-5.6.1.tgz cd perl-5.6.1 rm -f config.sh Policy.sh sh Configure Change the default prefix to "/usr" instead of "/usr/local". Also, when it asks the question "Build a shared libperl.so (y/n) [n] ", answer y. Press enter for any other question. make make install Then I downloaded and install postgresql. ./configure --prefix=/usr/local/pg711 --with-perl --with-tcl --with-CXX --with-python --enable-odbc cd /usr/local/src/postgresql-7.1.1/src/interfaces/perl5 perl Makefile.PL make make install ln -s /usr/lib/perl5/5.6.1/i686-linux/CORE/libperl.so \ /usr/local/pg711/lib/libperl.so su -c 'createlang plperl template1' postgres Then I started psql as postgres, and ran teh create language command.