On 6/9/06, Stanton McCandlish <[EMAIL PROTECTED]> wrote: > End end of postgresql-ssl-perl-586 install output reads: > > *** WARNING *** > > To be able to use this (plperl) in PostgreSQL, you will need to > start your database: > > sudo /sw/bin/pgsql.sh start > > ...and then run: > > sudo -u postgres /sw/bin/createlang plperl template1 > > ...or, for the "untrusted" interpreter: > > sudo -u postgres /sw/bin/createlang plperlu template1 > > *** WARNING *** > > > So, I tried it; it dies at the 2nd part: > > # sudo -u postgres /sw/bin/createlang plperl template1 > createlang: could not connect to database template1: 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"? > Exit 1 > > > ?? > > Have not run PostgreSQL before that I can recall. It is the one in > /sw/bin, too: > > # which postgres > /sw/bin/postgres > > Someone in March of last year reported a problem here or on > fink-general also relating to "template1" (presumably some sort of > default database that SHOULD exist) not existing; but no one answered > him. > > Umm...I did answer him, and his problem was a manually mucked with Perl. The output which had "template1" in it was _mine_, indicating what comes up after a successful build.
Is your postsgresql server in fact running? Check out e.g. "fink info postgreql81" for more info. -- Alexander K. Hansen Fink Documenter (still) _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
