yum install -y git
yum groupinstall -y "Development Tools"
yum install -y qt5-qtbase-devel qt5-qttools-devel qt5-qtbase-mysql qt5-qtbase-postgresql qt5-linguist
yum install -y openssl-devel libtool-ltdl-devel
export CXXFLAGS=-std=c++11
export PATH="/usr/lib64/qt5/bin/:$PATH"
git clone https://github.com/chris2511/xca.git
cd xca
./bootstrap
make
make install
@scylla999
Thank you - that helped for this kind of errors!
But there is another problem with CentOS 7 and the actual release of xca-2.4.0:
OpenSSL 1.1.x is needed, but CentOS 7 has only version 1.0.2k in its default install.
You get the following error message:
pki_x509.cpp: In member function 'virtual extList pki_x509::getV3ext() const':
pki_x509.cpp:778:39: error: 'X509_get0_extensions' was not declared in this scope
el.setStack(X509_get0_extensions(cert));
So you can either update OpenSSL from the sources or download xca-2.3.0 and compile it.
I have chosen the latter and everything works fine!