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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Per-project third party library management Date: Tue, 9 Oct 2018 09:56:14 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <84ec9c9b-0c32-40da-998f-8a5ad122f243@googlegroups.com> NNTP-Posting-Host: MyFhHs417jM9AgzRpXn7yg.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.8.3 Xref: reader02.eternal-september.org comp.lang.ada:54523 Date: 2018-10-09T09:56:14+02:00 List-Id: On 2018-10-09 09:03, Henrik Härkönen wrote: > What I'm aiming for with my question, is to learn a way to install a library so that it would not require root access and it would be more tied to the project. If you don't want to follow the rules imposed by the OS, there is no such thing as "install" anymore. Simply copy the library file where you want it to be. Specifically for GNAT Ada there is a ready-to-use tool gprinstall which does installation of Ada projects. A third-party library can be described as a separate (externally built) library project. I didn't try it, but I suppose it must work as expected. But again, for anything beyond simplest stuff you have no choice but to use the corresponding packaging tool of the corresponding OS, however painful, like in the case of DEB and RPM, it might be. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de