From: Mark Nielsen <pgsql@mail.tcu-inc.com>
To: drfrog@smartt.com
Cc: adamwal@poczta.onet.pl
Cc: pgsql-sql@postgresql.org
Subject: Re: Cannot build PL/Perl ...
Date: Fri, 11 May 2001 06:41:49 -0400 (EDT)
Message-ID: <200105111041.GAA22659@mail.tcu-inc.com> (raw)
In-Reply-To: <3AF07997.211A27FF@smartt.com>
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.
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-sql@postgresql.org
Cc: pgsql@mail.tcu-inc.com, drfrog@smartt.com, adamwal@poczta.onet.pl
Subject: Re: Cannot build PL/Perl ...
In-Reply-To: <200105111041.GAA22659@mail.tcu-inc.com>
References: <3AF07997.211A27FF@smartt.com> <200105111041.GAA22659@mail.tcu-inc.com>
* 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