Setting up portindex's database

Conrad J. Sabatier conrads at cox.net
Thu Jul 8 11:53:37 PDT 2004


OK, I have all the requisite packages installed, initialized
postgresql's database as indicated in the docs, started up the server
using the rc.d script, but when I try the following (from the
instructions in /usr/local/share/doc/portindex/README.txt):

/usr/local/share/portindex# python loadindex.py
Traceback (most recent call last):
  File "loadindex.py", line 204, in ?
    c=pg.connect(DATABASE)
_pg.error: FATAL:  database "test" does not exist


I'm new at this database stuff, so could somebody tell me what I need
to do to get this working?

Thanks.

-- 
Conrad J. Sabatier <conrads at cox.net> -- "In Unix veritas"


More information about the freebsd-ports mailing list