I have a problem when I try to build from my spec file. I run this:
rpmbuild -ba newpackage.spec
I see a great deal of output. It ends with these lines:
configure: error: Cannot find Lightning MDB
error: Bad exit status from /var/tmp/rpm-tmp.dKgUSh (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.dKgUSh (%build)
I tried to install lmdb-devel package to address the "Cannot find Lightning MDB." There were many dependency packages. I am using RHEL 7. I couldn't even find where to download all the dependencies. What should I do? I'm concerned that installing the lmdb-devel won't even help me anyway.
Here is what my newpackage.spec file looks like:
Name: cfengine
Version: 1
Release: 1%{?dist}
Summary: First time
License: GNU
#URL:
Source0: http://s3.amazonaws.com/cfengine.package-repos/tarballs/cfengine-3.6.5.tar.gz
BuildRequires: gettext
# Requires:
%description
This is a test.
%prep
%setup -n cfengine-3.6.5
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%files
%doc
%changelog
0 Answers