On 6/22/07, Hiren Patel <patelhn@xxxxxxxxxxxx> 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 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list