I am not familiar with the C compiling mechanism but I am sure the problem lies on the two Makefile.im and .am files.
For the release (heartbeat-2.1.3.tar.gz) where the snmp subagent does get compiled those two files say something like: SUBDIRS = ... $(SNMP_SUBAGENT_DIR) ... DIST_SUBDIRS = ... $(SNMP_SUBAGENT_DIR) ... while for the latest release (Heartbeat-Dev-e0ee7d4cec7b.tar.bz2) the snmp subfolder does not get listed there. Now I manually added snmp_subagent to those variable, but I am really not sure what I am doing there. But the hbagent did get compiled and copied to the right place. If this is the solution could you maybe fix that in the latest release? Thanks -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Ehlers, Kolja Gesendet: Montag, 28. Juli 2008 15:54 An: General Linux-HA mailing list Betreff: AW: [Linux-HA] Heartbeat compilation error using the command "./ConfigureMe bootstrap --enable-snmp-subagent" on file heartbeat-2.1.3.tar.gz the snmp agent is build properly. On the latest version if I do "./ConfigureMe bootstrap --enable-snmp-subagent" the files in the snmp_subagent subfolder do not even get compiled. I guess there must be a bug somewhere. I will try different versions now -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Ehlers, Kolja Gesendet: Montag, 28. Juli 2008 15:13 An: General Linux-HA mailing list Betreff: AW: [Linux-HA] Heartbeat compilation error next problem, I am trying to compile with "--enable-snmp-subagent" but the snmp subagent is not being compiled and its not at /usr/lib/heartbeat and not anywhere else. Eventhough I get these messages during instalation: Build snmp subagent = "yes" SNMP MIB directory = "/usr/share/snmp/mibs" SNMP agent libraries = "-L/usr/lib -lnetsnmpmibs -lnetsnmpagent -lnetsnmphelpers -lnetsnmp -ldl -lr pm -lrpmio -lpopt -lz -lcrypto -lm -lsensors -L/usr/lib -lwrap" SNMP libraries = "-L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap" ucd_snmp_devel name = "" I also tryed with --enable-snmp-subagent --enable-snmp -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Andrew Beekhof Gesendet: Montag, 28. Juli 2008 13:45 An: General Linux-HA mailing list Betreff: Re: [Linux-HA] Heartbeat compilation error On Mon, Jul 28, 2008 at 13:14, Ehlers, Kolja <[EMAIL PROTECTED]> wrote: > I cannot find it but if I set a prefix it will get overridden to /usr by > some script: ConfigureMe does this in ConfigureLinux() FLAGS="--prefix=/usr --sysconfdir=/etc --localstatedir=/var $DFLAGS --disable-rpath" > > www1test:/opt/src/Heartbeat-Dev-e0ee7d4cec7b # ./ConfigureMe > bootstrap --prefix=/opt/heartbeat --disable-crm --enable-snmp-subagent > > Configure flags for SuSE > Linux: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-group-id= > 90 --with-ccmuser-id=90 --disable-rpath > Running > ./bootstrap --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-grou > p-id=90 --with-ccmuser-id=90 --disable-rpath --prefix=/opt/heartbeat --disab > le-crm --enable-snmp-subagent > > > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag von Andrew > Beekhof > Gesendet: Montag, 28. Juli 2008 13:01 > An: General Linux-HA mailing list > Betreff: Re: [Linux-HA] Heartbeat compilation error > > > On Mon, Jul 28, 2008 at 12:29, Ehlers, Kolja <[EMAIL PROTECTED]> > wrote: >> this is odd, it still does not work. I am compiling with: >> >> ./ConfigureMe >> > bootstrap --prefix=/opt/heartbeat --without-ais-support --with-heartbeat-sup >> port > > if you look in the logs you sent, you'll see > > Configured with: ../configure --enable-threads=posix --prefix=/usr . Geschäftsführung: Dr. Michael Fischer, Reinhard Eisebitt Amtsgericht Köln HRB 32356 Steuer-Nr.: 217/5717/0536 Ust.Id.-Nr.: DE 204051920 -- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems Geschäftsführung: Dr. Michael Fischer, Reinhard Eisebitt Amtsgericht Köln HRB 32356 Steuer-Nr.: 217/5717/0536 Ust.Id.-Nr.: DE 204051920 -- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems Geschäftsführung: Dr. Michael Fischer, Reinhard Eisebitt Amtsgericht Köln HRB 32356 Steuer-Nr.: 217/5717/0536 Ust.Id.-Nr.: DE 204051920 -- This email transmission and any documents, files or previous email messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient or a person responsible for delivering this transmission to the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution or use of this transmission is strictly prohibited. If you have received this transmission in error, please immediately notify the sender by telephone or return email and delete the original transmission and its attachments without reading or saving in any manner. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
