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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Installation problem in Debian 7: gnatcoll-gpl-2013-src Date: Fri, 28 Jun 2013 18:35:35 +0200 Organization: A noiseless patient Spider Message-ID: <87obaqchwo.fsf@ludovic-brenta.org> References: <1683c2c3-6906-4d54-9321-4e25c7495ecf@googlegroups.com> <87sj02ci0n.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx05.eternal-september.org; posting-host="84c141fb56768e1a9d2ab8c3e9e7b3de"; logging-data="24334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/6bzajsfilbWVwOmo4dZ2g" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:wd3EqL4Whk0/Esq+AzZeENskT1k= sha1:zUEmJD6vOwTqv3i2y5+u5HuA0Bw= X-Original-Bytes: 2328 Xref: number.nntp.dca.giganews.com comp.lang.ada:182144 Date: 2013-06-28T18:35:35+02:00 List-Id: Ludovic Brenta writes: > Multiplayer1080 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.