[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: problems building conntrack and its dependencies from RPM
- From: "Adam Monsen" <haircut gmail com>
- To: rpm-list redhat com
- Subject: Re: problems building conntrack and its dependencies from RPM
- Date: Fri, 22 Jun 2007 06:29:23 -0700
On 6/22/07, Hiren Patel <patelhn telkom co za> wrote:
my only guess is that the rpm build process may be telling the make
process to look for headers in a different location as apposed to when
building it manually. maybe post a bit of the spec file, maybe post the
%build section.
[...]
Here's part of libnfnetlink:
-------------------------8<-------------------------
%prep
%setup -q
cp %{SOURCE1} LICENSE
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
------------------------->8-------------------------
libnetfilter_conntrack:
-------------------------8<-------------------------
%prep
%setup -q
%build
%configure --disable-static --disable-rpath
# kill the rpaths
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
------------------------->8-------------------------
and conntrack:
-------------------------8<-------------------------
%prep
%setup -q -n conntrack-1.00beta2
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
------------------------->8-------------------------
--
Adam Monsen
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]