openca / libpki

Easy-to-use high-level library for PKI-enabled applications
Other
50 stars 34 forks source link

Building on CentOS 8 #58

Open michaldejmek opened 1 year ago

michaldejmek commented 1 year ago

Hello, can you help me with the build ?

config.status: error: in /root/rpmbuild/BUILD/libpki-0.9.2': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. If GNU make was not used, consider re-running the configure script with MAKE="gmake" (or whatever is necessary). You can also try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). Seeconfig.log' for more details error: Bad exit status from /var/tmp/rpm-tmp.OkMkUh (%build)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OkMkUh (%build)

SPEC:

Name: libpki Version: 0.9.2 Release: 1%{?dist} Summary: OpenCA PKI development library

Group: Security/PKI License: OpenCA License (BSD Style) URL: http://www.openca.org/projects/libpki Source0: libpki-0.9.2.tar.gz

BuildRequires: openssl-devel BuildRequires: libxml2-devel BuildRequires: openldap-devel

Requires: libpki-0.9.2.rpm

%description Includes and documentation for developing applications by using LibPKI.

%prep %setup -q

%build ./configure

%install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT make DESTDIR="$RPM_BUILD_ROOT" prefix="%{prefix}" mandir="$RPM_BUILD_ROOT%{mand}" install

%clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%files %defattr(-, root, root)

%changelog