Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: installation problems



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

Attachment: pgpvVqiJEkmdP.pgp
Description: PGP signature



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group