Hi Thank you for your extremely quick (and faster than support from any company..) reply. Sorry, can you give more detail ? >From the look of the error the 'mock centos5' is missing these files :- /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/lt~obsolete.m4 - which come from libtool2 (on centos6) Centos5 obviously doesn't have that version... I noticed in the .spec file it has --------------------------------------------------------------- %build # aclocal workaround - to be improved cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >>aclocal.m4 # Force use of system libtool: libtoolize --force --copy cat `aclocal --print-ac-dir`/{libtool,ltoptions,ltsugar,ltversion,lt~obsolete}.m4 >build/libtool.m4 --------------------------------------------------------------- It also has - from the original .spec file I based it on:- BuildRequires: bzip2, perl, libtool >= 1.4.3, gcc-c++ I have libtool installed in the mock enviroment ... Anyone know what i'm doing wrong ? Regards ! On 6 October 2011 15:57, John Hodrien <J.H.Hodrien@xxxxxxxxxxx> wrote: > On Thu, 6 Oct 2011, Morgan Cox wrote: > > > Hi. > > > > I am trying to use Mock to rebuild a .src.rpm file I have made for PHP > 5.3.8 > > (for Centos6) > > > > I have managed to install deps fine with mock. > > > > When I try to rebuild the package though I get. > > BuildRequires are wrong, since this SRPM requires files that aren't being > pulled in. Add BuildRequires to satisfy these missing requirements and > it'll > work. > > jh > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos