Perl and Python modules problem

Started by Paul Mc Geeover 22 years ago4 messagesgeneral
Jump to latest
#1Paul Mc Gee
mrpaulmcgee@yahoo.com

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

#2The Hermit Hacker
scrappy@hub.org
In reply to: Paul Mc Gee (#1)
Re: Perl and Python modules problem

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

#3Alvaro Herrera
alvherre@dcc.uchile.cl
In reply to: Paul Mc Gee (#1)
Re: Perl and Python modules problem

On Wed, Jan 07, 2004 at 07:47:34PM -0800, 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.

About the perl interfaces (Pg.pm and DBD::Pg), see the last article at
the 50th issue of General Bits,
http://www.varlena.com/varlena/GeneralBits/50.php

They are not part of the main distribution anymore.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"En las profundidades de nuestro inconsciente hay una obsesiva necesidad
de un universo l�gico y coherente. Pero el universo real se halla siempre
un paso m�s all� de la l�gica" (Irulan)

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Paul Mc Gee (#1)
Re: Perl and Python modules problem

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

You should read the installation instructions contained in the package
that you are actually installing, not a version that appears to be
dated 3 major releases back.