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.Mergl@bawue.de
http://www.bawue.de/~mergl