Help regarding "RPM build errors: File not found: "

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello All,

I am new to building rpm packages. I am trying to make a rpm package and facing the following errors:

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
    File not found: /usr/src/redhat/usr/local/racoon2/sbin/iked
    File not found: /usr/src/redhat/usr/local/racoon2/sbin/spmd

my spec file is as follows:


Name: racoon2
Version: 20051102a
Release:A
URL: NONE
Group: Development/Tools
Summary: A tool for building packages.
License: GPL
Source: racoon2.tar.gz
BuildRoot: %{_topdir}

%description

RACOON2 is a tool that implements IPsec.

%prep
%setup -q


%build
make

%install
make install


%clean
rm -rf %{_builddir}
mkdir %{_builddir}


%files
%defattr(-,root,root)

Though the make install is installing iked and spmd binaries in to the /usr/local/racoon2/sbin yet the rpm is not able to look into this directory an is looking into the /usr/src/redhat/usr/local/racoon2/sbin/iked and /usr/src/redhat/usr/local/racoon2/sbin/spmd


I cannot make out if this behaviour of rpm is correct. I read few of the articles petaining to this problem and found that this might be a problem with the local rpm enviromnet. I am not sure if this right? I tried looking into the rpmmacros and rpmrc files and did not find any such environment variable.

Please help me.


Thanks and king regards,

Rajat
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux