Maybe this shoul have been on the devel list, sorry if that is so. > -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of Rick Barnes > Sent: Wednesday, July 07, 2010 7:45 > To: CentOS mailing list > Subject: Re: [CentOS] Mock build php i386 from x86_64 issue > > 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: > I was just documenting an issue with a mock build. > Is net-snmp-devel installed like it asks for? That is the purpose of mock, and yes it was, but I was building an i386 not an x86_64. The configure script was confused and the rpm src / mock did not straiten it out. The bug is either in the php src / .src.rpm or in the mock process. > > $ 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> > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - 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.