Re: Cannot build PL/Perl ...

From: Mark Nielsen <pgsql(at)mail(dot)tcu-inc(dot)com>
To: drfrog(at)smartt(dot)com (clayton cottingham)
Cc: adamwal(at)poczta(dot)onet(dot)pl (Adam Walczykiewicz), pgsql-sql(at)postgresql(dot)org
Subject: Re: Cannot build PL/Perl ...
Date: 2001-05-11 10:41:49
Message-ID: 200105111041.GAA22659@mail.tcu-inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Alexey Nalbat 2001-05-11 11:47:55 can't get rid of unnesesary SORT step in explain plan for hash join
Previous Message Maxim Maletsky 2001-05-11 07:45:26 RE: Order by email address by domain ?