HH-perl config

Matthew Zimmerman mzimmerman at virginia.edu
Mon Dec 1 01:08:25 UTC 2003


On Thu, Nov 27, 2003 at 12:48:14PM +0530, hemachandra.jayapal at wipro.com wrote:
>                           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

That message's pretty self-explanatory. Did you start the postgres
server before you started testing Pg? i.e., did you run

# /etc/init.d/postgresql start

as root? You may have to create a database for the module's tests
too (I don't have a copy of Pg.pm in front of me).


-- 
      Matt

      Matthew Zimmerman
      Interdisciplinary Biophysics, University of Virginia
      http://www.people.virginia.edu/~mdz4c/
      ----------------------------------------------------
 Lab: 4-223 Jordan Hall, 1300 Jefferson Park Avenue, 
      Charlottesville, VA 22908              (434)924-2948
Home: 2655-C Barracks Road
      Charlottesville, VA 22901              (434)244-7989





More information about the users mailing list