comp.lang.ada
 help / color / mirror / Atom feed
* gnatcoll-gpl-2010: Problem with gnatcoll_db2ada
@ 2010-12-01 17:14 Thomas Løcke
  2010-12-01 20:51 ` Emmanuel Briot
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Løcke @ 2010-12-01 17:14 UTC (permalink / raw)


I've run into a bit of an odd issue: gnatcoll_db2ada wont connect
to my PostgreSQL database. All I get are these three files:

http://pastebin.com/JHP2cL8Y

Now the funny thing is that I get the above output no matter what
options I use to invoke gnatcoll_db2ada, and I'm not seeing a single
error in my PostgreSQL log. Also the gnatcoll_db2ada tool does not
throw any errors, even if I feed it bad host/username/password
combinations. It simply runs and creates the three pastebinned files
linked above.

Connecting to the database using psql works without issue, so it's not
a matter of permissions or network connectivity.

I've compiled gnatcoll-gpl-2010 with these settings:

./configure --prefix=/usr/gnat \
             --disable-gtk \
             --disable-pygtk \
             --without-python \
             --with-postgresql \
             --without-sqlite \
             --disable-syslog

PROCESSORS=8 make
make install

The entire compile/make/make install process finished without errors.

ldd'ing the gnatcoll_db2ada executable returns this:

http://pastebin.com/CUiPB2yV

It all appears to be fine, and when doing a strace, I can see that all
files are available on the system.

No matter what I do, I simply cannot make it work, so if somebody out
there is using gnatcoll-gpl-2010 to connect to PostgreSQL, please let
me know what magic you've used to make gnatcoll_db2ada work. Hopefully
this is a simple matter of me missing some minor detail.

-- 
Regards,
Thomas L�cke

Email: tl at ada-dk.org
Web: http:ada-dk.org
IRC nick: ThomasLocke



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-12-14 13:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 17:14 gnatcoll-gpl-2010: Problem with gnatcoll_db2ada Thomas Løcke
2010-12-01 20:51 ` Emmanuel Briot
2010-12-01 21:34   ` Thomas Løcke
2010-12-02  9:09     ` Emmanuel Briot
2010-12-02 10:26       ` Thomas Løcke
2010-12-02 12:46         ` Emmanuel Briot
2010-12-02 13:39           ` Thomas Løcke
2010-12-02 19:41             ` Emmanuel Briot
2010-12-03  8:22               ` Stephen Leake
2010-12-03  8:36                 ` Thomas Løcke
2010-12-03 10:12                   ` Ludovic Brenta
2010-12-06 10:55                     ` Ludovic Brenta
2010-12-14 13:11                       ` Thomas Løcke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox