pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Finner <postgresql@finner.de>
To: danish <danish.siddiqui@hovservices.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: installation problems
Date: Mon, 15 May 2006 20:21:09 +0200
Message-ID: <20060515202109.252aa47d.postgresql@finner.de> (raw)
In-Reply-To: <4465D94A.5050704@hovservices.com>
References: <4465D94A.5050704@hovservices.com>

Hi,

README of this Perl module says:
---
Run 'make test'.
Note, that the user running this script must have been created with the access 
rights to create databases. Do not run this script as root ! 
---

AFAIK Pg is quite old and no longer maintained since long (README is from 2000/04/04). Instead, DBD::Pg is the preferred perl interface to PostgreSQL. Maybe the actual PostgreSQL protocol isn__t even supported:

---
REQUIREMENTS:
-------------

  - build, test and install Perl5          (at least 5.003)
  - build, test and install PostgreSQL     (at least 6.5)
---

And if I read the installation list correctly, they refer to DBD::Pg and not to the Pg module (eg. CentOS, http://metanav.ntnu.no/moin.cgi/InstallingOnRHEL4):

---
yum -y install perl-DBI # Checked out, AlertEngine needs it [Engine.pm]
yum -y install perl-DBD-Pg # Checked out, AlertEngine needs it
---

So better you check the metanav installation page again, maybe you can use DBD::Pg (which is usually quite straightforward to install, if you installed PostgreSQL correctly).

Regards, Frank.


On Sat, 13 May 2006 18:34:10 +0530 danish <danish.siddiqui@hovservices.com> thought long, then sat down and wrote:

> Hi,
> Im trying to install network administration visulalized 
> http://metanav.ntnu.no/moin.cgi/FrontPage . In their installation page 
> they have mentioned to install pgsql_perl5-1.9.0 from CPAN by doing
> #perl -MCPAN -e 'install Pg'

...

> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Can't call method "errorMessage" on an undefined value at test.pl line 99.
> make: *** [test_dynamic] Error 255
> /usr/bin/make test -- NOT OK
> Running make install
> make test had returned bad status, won't install without force
> 
> Please advise as to what to do....
> 
> Thanks
> Danish
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org


-- 
Frank Finner

Invenius - Lösungen mit Linux
Köpfchenstraße 36
57072 Siegen
Telefon: 0271 231 8606    Mail: frank.finner@invenius.de
Telefax: 0271 231 8608    Web:  http://www.invenius.de
Key fingerprint = 90DF FF40 582E 6D6B BADF  6E6A A74E 67E4 E788 2651



view thread (3+ messages)

Message-ID: <20060515202109.252aa47d.postgresql@finner.de>
Permalink:  ../20060515202109.252aa47d.postgresql@finner.de/
Also on:    postgresql.org/message-id/20060515202109.252aa47d.postgresql@finner.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: postgresql@finner.de, danish.siddiqui@hovservices.com
  Subject: Re: installation problems
  In-Reply-To: <20060515202109.252aa47d.postgresql@finner.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox