comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Installation problem in Debian 7: gnatcoll-gpl-2013-src
Date: Fri, 28 Jun 2013 18:35:35 +0200
Date: 2013-06-28T18:35:35+02:00	[thread overview]
Message-ID: <87obaqchwo.fsf@ludovic-brenta.org> (raw)
In-Reply-To: 87sj02ci0n.fsf@ludovic-brenta.org

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:
> Multiplayer1080 <marlontrujillo1080@gmail.com> writes:
>> I wish to find a Package API Postgresql that include all necessary
>> source to connect to database without install something or make the
>> build in my pc. I have used postgres in Java, and with just add the
>> Jar API i have all necessary to use postgres. Why the libraries
>> (eg. Gnatcoll) are not distributed in packages? any response will be
>> greatly appreciated...
>
> gnatcoll is not yet packaged for Debian, see
> http://bugs.debian.org/640532.
>
> In the mean time, you may want to try gnade (GNU Ada Database
> Environment) which allows you to use PostgreSQL from Ada through ODBC.
> Try this:
>
> aptitude install libgnadeodbc2-dev
>
> and look at /usr/share/ada/adainclude/gnade.gpr and the files under
> /usr/share/ada/adainclude/gnade.
>
> Hope this helps

Oh, I forgot the second possibility: there is a native binding to
PostgreSQL that does not need ODBC:

aptitude install libapq-postgresql3.2.0-dev

and look in /usr/share/ada/adainclude/apq-postgresql.gpr and under
/usr/share/doc/libapq-postgresql3.2.0-dev/examples/.

Hope this helps more.

-- 
Ludovic Brenta.


  reply	other threads:[~2013-06-28 16:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27 20:16 Installation problem in Debian 7: gnatcoll-gpl-2013-src Multiplayer1080
2013-06-28 11:45 ` Multiplayer1080
2013-06-28 16:33   ` Ludovic Brenta
2013-06-28 16:35     ` Ludovic Brenta [this message]
2013-06-28 17:57       ` Multiplayer1080
2013-06-28 19:55     ` Dmitry A. Kazakov
2013-06-30 19:44       ` Multiplayer1080
2013-06-30 19:44       ` Multiplayer1080
2013-07-01  7:24         ` Dmitry A. Kazakov
2013-07-02 14:40           ` Multiplayer1080
2013-07-02 15:04             ` Dmitry A. Kazakov
2013-07-02 15:08             ` Dmitry A. Kazakov
2013-07-04 20:56               ` Multiplayer1080
2013-07-05  7:08                 ` Dmitry A. Kazakov
2013-06-29  6:26 ` Dirk Heinrichs
2013-06-29  7:04 ` Simon Wright
2013-06-29  7:54 ` Stephen Leake
2013-06-30 19:38   ` Multiplayer1080
replies disabled

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