Re: installation problems

From: Frank Finner <postgresql(at)finner(dot)de>
To: danish <danish(dot)siddiqui(at)hovservices(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: installation problems
Date: 2006-05-15 18:21:09
Message-ID: 20060515202109.252aa47d.postgresql@finner.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(dot)siddiqui(at)hovservices(dot)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(dot)finner(at)invenius(dot)de
Telefax: 0271 231 8608 Web: http://www.invenius.de
Key fingerprint = 90DF FF40 582E 6D6B BADF 6E6A A74E 67E4 E788 2651

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Christiane Brasil 2006-05-23 11:46:41 Problems - Libpq++
Previous Message Keary Suska 2006-05-15 16:31:00 Re: installation problems