[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.
On 07/07/2010 07:26 AM, Jason Pyeron wrote:> 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)Since you didn't really ask a question nor provide any further information, I will ask you the obvious question: Is net-snmp-devel installed like it asks for? $ yum whatprovides /usr/bin/net-snmp-config Loaded plugins: fastestmirror, priorities Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included packages only Finished Excluding Packages from CentOS-5 - Extras Finished 0 packages excluded due to repository priority protections 1:net-snmp-devel-5.3.2.2-9.el5.i386 : The development environment for the NET-SNMP project. Repo : base Matched from: Filename : /usr/bin/net-snmp-config 1:net-snmp-devel-5.3.2.2-9.el5.x86_64 : The development environment for the NET-SNMP project. Repo : base Matched from: Filename : /usr/bin/net-snmp-config <snip>
Seemingly Similar Threads
- Mock on 5.5 x86_64 failing with Could not find useradd in chroot, maybe the install failed?
- what requires lm_sensors?
- [OT] building src rpm on RHEL5 using mock https://bugzilla.redhat.com/show_bug.cgi?id=680144
- mock
- Yum provider using version-release as version?