On Wed, Feb 8, 2012 at 12:39 AM, i...@sdips.de <i...@sdips.de> wrote: > Am 06.02.12 22:00, schrieb Andrew Beekhof: >> On Tue, Feb 7, 2012 at 1:05 AM, i...@sdips.de <i...@sdips.de> wrote: >>> Am 29.01.12 23:03, schrieb Andrew Beekhof: >>>> On Thu, Jan 26, 2012 at 10:25 PM, i...@sdips.de <i...@sdips.de> wrote: >>>>> I've started all over with Macports. After some struggle with gettext, >>>>> the only working configure is working with --prefix=/opt/local. >>>>> But I stuck at the same issue to build pacemaker. >>>>> >>>>> ./configure --prefix=/opt/local --with-initdir=/private/etc/mach_init.d >>>>> --with-heartbeat >>>>> . >>>>> . >>>>> . >>>>> checking for struct lrm_ops.fail_rsc... yes >>>>> checking for ll_cluster_new in -lhbclient... no >>>>> configure: error: in `/Users/admin/1.1': >>>>> configure: error: Unable to support Heartbeat: client libraries not found >>>>> See `config.log' for more details >>>>> >>>>> >>>>> >>>>> The only error I've had during building was in glue that logd can't been >>>>> build. >>>>> Is this the missing part that prevents Pacemaker to build? >>>>> >>>>> cc1: warnings being treated as errors >>>>> ha_logd.c: In function ‘logd_make_daemon’: >>>>> ha_logd.c:527: warning: ‘daemon’ is deprecated (declared at >>>>> /usr/include/stdlib.h:292) >>>>> make[1]: *** [ha_logd.o] Error 1 >>>>> make: *** [all-recursive] Error 1 >>>> It might be necessary to configure with --disable-fatal-warnings (or >>>> something of that kind) >>> Sorry, doesn't work, either. >>> The build process finished without the previous error, but now >>> "shelfuncs" is now missing. >>> >>> /etc/mach_init.d/heartbeat start >>> /etc/mach_init.d/heartbeat: line 53: /opt/local/etc/ha.d/shellfuncs: >>> No such file or directory >>> >>> The file isn't present in the system, hence it wasn't build? >> There should be a similarly named file in the resource-agents package. >> Evidently they changed the name and forgot to update heartbeat. > > my fault, resource-agent haven't been installed yet. > and I'm running again in some new building errors ;( > > In file included from /opt/local/include/libnet.h:81, > from send_arp.libnet.c:44: > /opt/local/include/./libnet/libnet-functions.h:85: warning: function > declaration isn’t a prototype > In file included from send_arp.libnet.c:44: > /opt/local/include/libnet.h:87:2: error: #error "byte order has not > been specified, you'll need to #define either LIBNET_LIL_ENDIAN or > LIBNET_BIG_ENDIAN. See the documentation regarding the > libnet-config script." > send_arp.libnet.c: In function ‘main’: > send_arp.libnet.c:206: warning: comparison is always false due to > limited range of data type > make[3]: *** [send_arp-send_arp.libnet.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > libnet is installed via macports, the LIBNET_LIL_ENDIAN is defined in > /opt/local/bin/libnet-config. what's wrong now?
The error message seems reasonably helpful. Did you read the documentation it refers to? _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org