On Mon, May 9, 2011 at 8:48 AM, Levend Sayar <[email protected]> wrote: > Mock uses it own chroot filesystem on > /var/lib/mock/centos-5-x86_64/root for my build. > > So while building sipXtacklib rpm, when it says -I/usr/include on the > compilation command, I think it looks > /var/lib/mock/centos-5-x86_64/root/usr/include directory. So I put > missing files by hand, not to do recompilation from scratch,
yes, this exactly how the build happens. i think the build will remove any directory before rebuilding so copying in the files probably wouldn't be too effective. Instead, try to find out why the files are missing. Check to see if the tarball includes the missing files. If it does, are you sure the right tarball is getting pulled into the src rpm or that the correct src rpm is getting installed before the build. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
