[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] How does one set up the database
From: |
Jim Segrave |
Subject: |
Re: [Bug-gnubg] How does one set up the database |
Date: |
Mon, 28 Jun 2004 01:42:59 +0200 |
User-agent: |
Mutt/1.4.1i |
On Sun 27 Jun 2004 (14:15 +0000), Joern Thyssen wrote:
> On Sun, Jun 27, 2004 at 03:59:09PM +0200, Jim Segrave wrote
> >
> > I finally got around to building python support in gnubg (under
> > FreeBSD 5.2, it finally does threading correctly and doesn't steal all
> > the idle CPU).
> >
> > A digression before the main question:
> >
> > I still can't get the autoconfigure chain to work on this system and
> > am forced to use autogen.sh.
>
> What goes wrong?
I'll get a full dump of what happens tomorrow. Basically m4 gets
unhappy
>
> > Given python, postgers 7.41 and the python postgres interface, how
> > does one actually construct the database so that it can be used?
> >
> > Eg: initdb (some paramters)
> > postmaster (other parameters) or
>
> I don't know about these, since they're already set-up on my Redhat box,
> e.g.,
>
> service postgresql start
>
> > psql (parameters)
> > magic to initialise the database
>
> You'd probably need something like:
>
> createuser jes (as postgresql super-user)
> createdb gnubg (as jes)
> psql < gnubg/gnubg.sql
It took a while to find that the python installation had a previous
version of pgdb.py which doesn't work with postgres 7.3 or later, but
it now seems to work.
--
Jim Segrave address@hidden