HH - postgres - perl config

dave at dave.org.uk dave at dave.org.uk
Fri Nov 28 15:08:01 UTC 2003

On Thu, Nov 27, 2003 at 04:25:30PM +0530, hemachandra.jayapal at wipro.com (hemachandra.jayapal at wipro.com) wrote:
> Hemachandra Jayapal, 
> Dear all,
> I got a problem while i am configuring the perl and Postgres in linux.
> In the perl prg we use " use pg"
> to configure this we go for directory, ( check-README), there we run
> the scripts
>    1. perl makefile.
>    2. make
>    3. test make
>    4. make install
>    I got struck with an error in test make: here is that:
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Pg::conndefaults ........ ok
> Pg::connectdb ........... not ok: could not connect to server: No such
> file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> make: *** [test_dynamic] Error 255
> please help me out .

Well, _is_ the server running locally and accepting connections on the
right port? And does it allow connections for the test user and password

The Pg module (like all proprietary DB connection modules) is seen as
a little old-fashioned these days. You might like to look at DBD::Pg
(which is included with Fedora) instead.


  Brian: Oh screw Maximilian!
  Sally: I do.
  Brian: So do I.

More information about the fedora-list mailing list