This library requires libcurl built with OpenSSL support.
- On Ubuntu/Debian:
sudo apt install libcurl-openssl-dev
./configure
make
make install
./configure- This pulls down prerequisites from other projects, finds correct local
paths, and creates
Makefile
- This pulls down prerequisites from other projects, finds correct local
paths, and creates
make- Builds
libdcap_quoteprov.so, the provider library.
- Builds
make install(optional)- Installs the library to
/usr/local/liband header to/usr/local/include.
- Installs the library to
To build a Debian package, you'll need an Ubuntu/Debian system with the
build-essential package installed. (sudo apt install build-essential).
- Update
src/Linux/debian/changelogwith a description of the changes which require a new package to be published. - Copy over the files in
srcto a new directory calledaz-dcap-client-{VERSION}, where {VERSION} the latest version number specified in Linux/debian/changelog. - Run the following commands:
tar czf az-dcap-client_{VERSION}.orig.tar.gz az-dcap-client-{VERSION}cd az-dcap-client-{VERSION}/Linux && dpkg-buildpackage -us -uc
The output deb file is suitable for installation on any amd64 Ubuntu system.
- You're seeing cryptic errors such as ": No such file or directory":
- This can happen if the files are copied from a Windows host to a Linux host. Run dos2unix on all files to be sure none of them have Windows line-endings.