[CentOS] Mock build php i386 from x86_64 issue

Wed Jul 7 11:26:39 UTC 2010
Jason Pyeron <jpyeron at pdinc.us>

[mock at ten-186 ~]$ mock php-5.1.6-27.el5.src.rpm
init
clean
prep
This may take a while
setup
build
Installing /builddir/build/SRPMS/php-5.1.6-27.src.rpm
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.23317
+ umask 022
+ cd /builddir/build/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /builddir/build/BUILD
+ rm -rf php-5.1.6
+ /bin/gzip -dc /builddir/build/SOURCES/php-5.1.6.tar.gz

...

checking OpenSSL dir for SNMP... no
/usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
/usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
/usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
configure: error: Could not find the required paths. Please check your net-snmp
installation.
error: Bad exit status from /var/tmp/rpm-tmp.66050 (%build)

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.