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

Поиск
Список
Период
Сортировка
От Edmund Mergl
Тема Re: [HACKERS] Perl library (was Building Postgres)
Дата
Msg-id 3777CB3D.196245F1@bawue.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Perl library (was Building Postgres)  ("Oliver Elphick" <olly@lfix.co.uk>)
Список 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.Mergl@bawue.de
http://www.bawue.de/~mergl


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Severe SUBSELECT bug in 6.5 CVS
Следующее
От: "Hub.Org News Admin"
Дата:
Сообщение: ...