comp.lang.ada
 help / color / mirror / Atom feed
From: "Henrik Härkönen" <heharkon@gmail.com>
Subject: Per-project third party library management
Date: Tue, 9 Oct 2018 00:03:48 -0700 (PDT)
Date: 2018-10-09T00:03:48-07:00	[thread overview]
Message-ID: <84ec9c9b-0c32-40da-998f-8a5ad122f243@googlegroups.com> (raw)

What would be the most convenient way to manage ( mostly install & upgrade) a third party library for one's project?

With python projects I'd probably fire up an virtualenv per project and install stuff there with pip etc. With scala I'd use SBT to handle the libraries. In my C development days, we had a proprietary RTOS with all of it's dependencies managed by someone else, so I didn't have to (or get to learn) worry about those personally... :(

As I've understood, Ada doesn't have such a package distribution system, so one would typically download sources, compile and install the library through it's make system. Or install readily packaged version of the library, for example with apt-get etc.

So far, I've installed AWS from source and Ahven from a DEB package, and as such they are just fine methods. But both were using root access and system wide install.

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. 

Different projects might need to use different versions etc.

Should I use GNU Stow, or configure --prefix to point somewhere under my project tree and have gprbuild include it from there, or...?

My apologies if this has been asked a lot, but at least I didn't find that many directly related discussions about this.

-Henrik

             reply	other threads:[~2018-10-09  7:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-09  7:03 Henrik Härkönen [this message]
2018-10-09  7:56 ` Per-project third party library management Dmitry A. Kazakov
2018-10-09 11:57   ` Henrik Härkönen
replies disabled

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