build rpm for multiple instance

Hello,

we have tried to build rpm for multiple instance of Percona-mysql server 5.5

os:- centos 6.2

kernel:- 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux

rpm:- Percona-Server-55-5.5.21-rel25.1.234.rhel6.src.rpm

build command :- "rpmbuild --rebuild --with with-unix-socket-path=/var/lib/mysql3306/mysql.sock --define “_sysconfdir /var/lib/mysql3306” --define “_exec_prefix /var/lib/mysql3306” --define “_sbindir /var/lib/mysql3306” --define “_libdir /var/lib/mysql3306” --define “_datadir /var/lib/mysql3306/data” --define “mysqldatadir /var/lib/mysql3306/data” --define “_mandir /var/lib/mysql3306/” --define “_infodir /var/lib/mysql3306/” /home/sysadm/Percona-Server-55-5.5.21-rel25.1.234.rhel6.src. rpm "

RPM build errors:

kindly look on build-error.txt

File not found by glob: /root/rpmbuild/BUILDROOT/Percona-Server-55-5.5.21-rel25.1.23 4.rhel6.x86_64/var/lib/mysql3306/mysql.info*
File not found by glob: /root/rpmbuild/BUILDROOT/Percona-Server-55-5.5.21-rel25.1.23 4.rhel6.x86_64/var/lib/mysql3306/man1/innochecksum.1*
File not found by glob: /root/rpmbuild/BUILDROOT/Percona-Server-55-5.5.21-rel25.1.23 4.rhel6.x86_64/var/lib/mysql3306/man1/my_print_defaults.1*
File not found by glob: /root/rpmbuild/BUILDROOT/Percona-Server-55-5.5.21-rel25.1.23 4.rhel6.x86_64/var/lib/mysql3306/man1/myisam_ftdump.1*

kindly look on for build-error.txt for full error

Thank You
Anil Jalela