Re: [HACKERS] Perl library (was Building Postgres)

From: Edmund Mergl <E(dot)Mergl(at)bawue(dot)de>
To: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Cc: Maarten Boekhold <boekhold(at)tibco(dot)com>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Postgres Hackers List <hackers(at)postgreSQL(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Cristian Gafton <gafton(at)redhat(dot)com>
Subject: Re: [HACKERS] Perl library (was Building Postgres)
Date: 1999-06-28 19:21:33
Message-ID: 3777CB3D.196245F1@bawue.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oliver Elphick wrote:
>
> Maarten Boekhold wrote:
> >
> >> I'm now trying to package the perl (and next, python) interfaces. Can
> >> someone with perl installation experience give me some hints on what
> >> actually needs to be installed and how it has to happen?
> >
> >Me thinks the guy who's building the Debian packages should have some
> >experience with these. IIRC that'd be Oliver Elphick (?).
>
> The Perl package gave me the most trouble; the more so since I rarely
> use Perl and only have the vaguest notion of what's going on in the pgperl
> build!
>

I don't know the peculiarities of every distribution, but the following
will work in any case:

tar xvzf postgres-6.5.tar.gz
cd $POSTGRES_HOME/src
./configure
make install
initdb --pgdata=/usr/local/pgsql/data --pglib=/usr/local/pgsql/lib
postmaster -S -D /usr/local/pgsql/data
createuser my_userid

make sure, the dynamic linker can find libpq.so
eg: export LD_LIBRARY_PATH=/usr/local/pgsql/lib

cd interfaces/pgsql_perl5
perl Makefile.PL
make test
su
make install

Edmund

--
Edmund Mergl
mailto:E(dot)Mergl(at)bawue(dot)de
http://www.bawue.de/~mergl

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 1999-06-28 23:51:40 Re: [HACKERS] Severe SUBSELECT bug in 6.5 CVS
Previous Message Bruce Momjian 1999-06-28 18:39:28 Re: [HACKERS] Severe SUBSELECT bug in 6.5 CVS