bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] How does one set up the database


From: Joern Thyssen
Subject: Re: [Bug-gnubg] How does one set up the database
Date: Sun, 27 Jun 2004 14:15:47 +0000
User-agent: Mutt/1.4.2.1i

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?

>   Configure makes no check for a package config for libfgtl, so it never
>   finds the include files needed

Yes, it's on the todo list to fix this. The problem is that nobody made
a ftgl.m4, and I don't know how to write one since libftgl is C++.

I've haven't got libftgl installed right now, but does anyone know a
C-callable function in libftgl, i.e., so it's possible to do a
AC_CHECK_LIB(ftgl,xxx)?

> 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.sql

I'm not sure if it's necessary to do the "createuser" part...

Joern

Attachment: pgpwKMAbdnzNG.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]