rebuild source rpm

"Mahdi Hajimoradi" <[email protected]> Sat, 25 Jan 2003 18:33:42 +0000 (UTC)
Newsgroups gmane.network.samba.binaries
Message-ID <[email protected]>
Hi,
I want to build samba rpm with 'ldapsam' support in redhat 8 but have the following error:
====
[root@localhost]# rpmbuild --rebuild /home/hajim/samba-2.2.7-1.src.rpm
...
checking whether to use included popt... ./popt
checking configure summary... configure: error: summary failure. Aborting config
error: Bad exit status from /var/tmp/rpm-tmp.72775 (%build)
RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.72775 (%build)
=======
 Dose anybody can help me?

--TNX in Advance