GUILE Anbindung realisieren - wie?

Hallo zusammen,

dies ist mein erster Beitrag im Forum und ich muss zugeben, dass ich noch nicht sonderlich viel Erfahrung mit PostgreSQL gemacht habe.

Hier mein Problem:

Ich benötige eine Art Guile-PostgreSQL extension. Allerdings macht die guile-pg Software Probleme, weil ich diese nicht kompiliert bekomme.

Gibt es Alternativen, um eine möglichst simple Anbindung zwischen GUILE und PostgreSQL hinzubekommen?

Ach ja, hier noch ein paar Systeminfos:

guile-pg: 0.37
uname-m: i686
uname-s: Linux
uname-r: 2.6.22.17-0.1-default
autoconf: 2.61
automake: 1.10
libtool: 1.5.24
gcc: gcc (GCC) 4.2.1 (SUSE Linux) Copyright © 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
cc: cc (GCC) 4.2.1 (SUSE Linux) Copyright © 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
postgresql: 8.2.4
guile: 1.6.8
libguile: 15:1:3

Never heard before…
Aber eine konkretere Fehlermeldung oder Problembeschreibung als ‘kompiliert nicht’ wäre sicher hilfreich.

CU Uwe

Oh - und gibt es keine fertigen Pakete in deiner Distribution, die du nutzen könntest?

  1. Pakete gibts da leider nicht von.

  2. Fehlermeldung beim compilen ist “pg_encode_to_char” was declared before. Ausgelöst von der libpostgres.c

Gab es elementare Änderungen zwischen Postgres 8 und 7?

According to PostgreSQL 8.2.9 documentation, the declaration on
line 2513 of Guile-PG’s libpostgres.c, which reads:
extern char * pg_encoding_to_char (int encoding);
is correct. However, i see in the actual header file (pg_wchar.h,
which is pulled into libpq-fe.h, somehow) the following:
extern const char *pg_encoding_to_char(int encoding);
What happens if you change libpostgres.c to add the `const’?

danach fluppts.