From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1325f74505f9cf31,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder.news-service.com!newsfeed.straub-nv.de!nuzba.szn.dk!news.szn.dk!pnx.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Wed, 01 Dec 2010 18:14:49 +0100 From: =?ISO-8859-1?Q?Thomas_L=F8cke?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101119 Thunderbird/3.1.6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: gnatcoll-gpl-2010: Problem with gnatcoll_db2ada Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <4cf6828a$0$23751$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 83.91.213.86 X-Trace: news.sunsite.dk DXC=UAnd]FoF]8R?m\5U4>6B]=RkIgW X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.lang.ada:16696 Date: 2010-12-01T18:14:49+01:00 List-Id: 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