Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on CentOS 8 #58

Open
michaldejmek opened this issue Nov 30, 2022 · 0 comments
Open

Building on CentOS 8 #58

michaldejmek opened this issue Nov 30, 2022 · 0 comments

Comments

@michaldejmek
Copy link

michaldejmek commented Nov 30, 2022

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). See config.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

@michaldejmek michaldejmek changed the title Building on ce Building on CentOS 8 Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant