By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,373 Members | 1,984 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,373 IT Pros & Developers. It's quick & easy.

Perl and Python modules problem

P: n/a
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

Nov 12 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

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: sc*****@hub.org Yahoo!: yscrappy ICQ: 7615664

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #2

P: n/a
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)

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #3

P: n/a
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.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.