Re: Perl and Python modules problem - Mailing list pgsql-general

From Marc G. Fournier
Subject Re: Perl and Python modules problem
Date
Msg-id 20040108000435.K69880@ganymede.hub.org
Whole thread Raw
In response to Perl and Python modules problem  (Paul Mc Gee <mrpaulmcgee@yahoo.com>)
List pgsql-general
the perl modules are on gborg.postgresql.org, and the python module is at
... www.pygresql.org

On Wed, 7 Jan 2004, Paul Mc Gee wrote:

> hi everyone
> i have just downloaded the latest version of
> postgresql and was doing the installation according to
> the article at
> http://www.faqs.org/docs/ppbook/x486.htm when i got to
> the point where the perl and python modules are to be
> installed. the distribution used in that article is an
> older version of postgresql and i cant seem to find
> where the perl and python modules are in the current
> release. when it didnt work for me i just skipped that
> part but now im trying to reload a database which uses
> the perl modules. the relevant piece from the
> installation is below. does anyone know which commands
> would work for the current version and how i could egt
> the modules installed?
> thanks
> paul
>
> Example 2-11. Installing Perl and Python modules
> manually
>
> $ su -c "gmake -C src/interfaces/perl5 install"
> Password:
> Password:
> gmake: Entering directory
> /usr/local/src/postgresql-7.1.3/src/interfaces/perl5'
> perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Pg
> gmake -f Makefile clean
> [...]
> $ su -c "gmake -C src/interfaces/python install"
> Password:
> gmake: Entering directory
> /usr/local/src/postgresql-7.1.3/src/interfaces/python'
>
>
> sed -e
> 's,@libpq_srcdir@,../../../src/interfaces/libpq,g' \
>     -e
> 's,@libpq_builddir@,../../../src/interfaces/libpq,g' \
>     -e 's%@EXTRA_LIBS@% -lz -lcrypt -lresolv -lnsl
> -ldl -lm -lbsd -lreadline -ltermcap %g' \
>     -e 's%@INCLUDES@%-I../../../src/include%g' \
> [...]
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

pgsql-general by date:

Previous
From: Paul Mc Gee
Date:
Subject: Perl and Python modules problem
Next
From: Alvaro Herrera
Date:
Subject: Re: Perl and Python modules problem