-
Notifications
You must be signed in to change notification settings - Fork 14
Installation
Stephane Carrez edited this page Oct 11, 2015
·
5 revisions
Build with the following commands:
./configure
make
The samples can be built using:
gnatmake -Psamples
The unit tests are built using (you will need Aunit):
gnatmake -Ptests
And unit tests are executed with:
bin/util_harness
The installation on Ubuntu or Debian-based system is possible by using the install target:
sudo make install
- On NetBSD, you have to use gmake to build the package.
- The process creation has been tested on Linux, NetBSD and Windows. Porting to Mac OS/X has not yet been tested but it should be quite simple.
- If AUnit is not available, you can configure Ada Util to use the integrated Ahven package. For this, use the following configure command:
./configure --enable-ahven
The configure script looks for the curl headers and curl library to enable the curl support of Ada Util. You must install the libcurl4-openssl-dev and restart the configure process.
sudo apt-get install libcurl4-openssl-dev
The test tries to load the libcrypto.so on Unix and libz.dll on Windows. On GNU/Linux, you may have to install the libssl-dev package to get the libcrypto.so file. Install it with:
sudo apt-get install libssl-dev