Sorry, seems the option should have been --without-snmp instead of --disable-snmp
On Tue, Apr 28, 2009 at 15:11, Cristina Bulfon <[email protected]> wrote: > Ciao, > > got the same error even if I 've disabled SNMP > > I've modify the pacemake.spec > > ./ConfigureMe configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} \ > --localstatedir=%{_var} --infodir=%{_infodir} \ > --mandir=%{_mandir} --libdir=%{_libdir} \ > --libexecdir=%{_libexecdir} \ > --with-ais-prefix=%{_prefix} \ > --disable-snmp > > I know that my O.S is too old but I am sort of obligee to use RHEL4.. > what can I do to sort it out ? > > thanks > cristina > > On Apr 28, 2009, at 11:39 AM, Junko IKEDA wrote: > >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Andrew Beekhof >>> Sent: Tuesday, April 28, 2009 5:42 PM >>> To: General Linux-HA mailing list >>> Subject: Re: [Linux-HA] crm CLI >>> >>> On Tue, Apr 28, 2009 at 09:39, Cristina Bulfon >>> <[email protected]> wrote: >>>> >>>> Ciao, >>>> >>>> not good news :-(( >>>> On Apr 24, 2009, at 3:52 PM, Dejan Muhamedagic wrote: >>>> >>>>> Ciao, >>>>> >>>>> On Fri, Apr 24, 2009 at 09:29:12AM +0200, Cristina Bulfon wrote: >>>>>> >>>>>> Ciao, >>>>>> >>>>>> I tried to build pacemaker rpm w/o success :-(( >>>>>> I will do another time and it will fail then I am going to compile the >>>>>> source. >>>>> >>>>> You can just grab the source rpm and comment out the offending >>>>> line in lib/ais/Makefile.am and do rpmbuild -bb. First install >>>>> all the build requirements (heartbeat/openais-dev). >>>>> >>>> I tried with >>>> - pacemaker-1.0.3-1.3.src.rpm >>>> - pacemaker-1.0.2-11.1.src.rpm >>>> >>>> got the same error from both rpm >>>> >>>> crm_mon.o(.text+0x3432): In function `crm_snmp_init': >>>> /usr/src/redhat/BUILD/pacemaker/tools/crm_mon.c:1141: undefined >> >> reference >>> >>> to >>>> >>>> `netsnmp_transport_open_client' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmdbClose' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to >>>> `rpmdbGetIteratorOffset' >>>> /usr/lib64/libnetsnmpagent.so: undefined reference to `hosts_ctl' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `sensors_get_label' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmdbOpen' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmdbInitIterator' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `sensors_init' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmdbNextIterator' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmGetPath' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to >>>> `sensors_get_detected_chips' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to >> >> `rpmReadConfigFiles' >>>> >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to >> >> `sensors_get_feature' >>>> >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to >>>> `sensors_get_all_features' >>>> /usr/lib64/libnetsnmpmibs.so: undefined reference to `rpmdbFreeIterator' >>>> collect2: ld returned 1 exit status >>>> gmake[1]: *** [crm_mon] Error 1 >>>> >>>> Following the build requirements >>>> >>>> heartbeat: >>>> >>>> libheartbeat2-2.99.2-8.1.x86_64 >>>> heartbeat-2.99.2-8.1.x86_64 >>>> heartbeat-devel-2.99.2-8.1.x86_64 >>>> heartbeat-resources-2.99.2-8.1.x86_64 >>>> libheartbeat-devel-2.99.2-8.1.x86_64 >>>> heartbeat-common-2.99.2-8.1.x86_64 >>>> >>>> openais: >>>> libopenais2-0.80.5-13.1.x86_64 >>>> openais-0.80.5-13.1.x86_64 >>>> libopenais-devel-0.80.5-13.1.x86_64 >>> >>> what about the rest of pacemaker's dependancies? >>> >>> either the snmp libraries aren't fully installed (no devel package?) >>> or are incompatible with what pacemaker needs (not surprising given >>> the age of RHEL4). >>> >>> try modifying pacemaker.spec to pass the --disable-snmp option to >>> configure (or possibly ConfigureMe) >> >> lm_sensors and lm_sensors-devel might be needed. >> RHEL5.3 includes net-snmp-5.3.2.2-5, but Pacemaker needs 5.4, >> so the RPMs from open suse build service are built with --disable-snmp >> option. >> By the way, net-snmp for RHEL4.5 is 5.1.2-11...it's too old. >> >> Thanks, >> Junko >> >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems >> > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
