473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Perl and Python modules problem

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
3 1689

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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

42
by: Fred Ma | last post by:
Hello, This is not a troll posting, and I've refrained from asking because I've seen similar threads get all nitter-nattery. But I really want to make a decision on how best to invest my time....
4
by: Xah Lee | last post by:
while programing in Python, one can lookup syntax or info for keywords or modules within Python. In the command line, type python to get into the python interactive program. then type...
0
by: Xah Lee | last post by:
© # -*- coding: utf-8 -*- © # Python © © # once a module is loaded © # import mymodule © # one can find all the names it © # export with dir() © © import sys © print dir(sys)
2
by: Xah Lee | last post by:
© # -*- coding: utf-8 -*- © # Python © © # in Python, one can define a boxed set © # of data and functions, which are © # traditionally known as "class". © © # in the following, we define a...
4
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # some venture into standard modules import os # print all names exported by the module print dir(os)
5
by: Xah Lee | last post by:
# -*- coding: utf-8 -*- # Python # Suppose you want to spam your friend, and you have lots of # friends. The solution is to write a program to do it. After a gander # at python docs, one easily...
1
by: Xah Lee | last post by:
suppose you want to do find & replace of string of all files in a directory. here's the code: ©# -*- coding: utf-8 -*- ©# Python © ©import os,sys © ©mydir= '/Users/t/web'
2
by: Xah Lee | last post by:
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in Python i quickly located the...
0
by: J. Peng | last post by:
Hello, Is there a site for python,which collects most kinds of python modules? like CPAN for Perl. Sometime I want to use a module,like the time/date modules,don't know where I should search...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.