On 12/21/06, Rasto Levrinc <[EMAIL PROTECTED]> wrote:
Am Mittwoch, 20. Dezember 2006 11:37 schrieb Andrew Beekhof:
> On 12/20/06, Lars Ellenberg <[EMAIL PROTECTED]> wrote:
> > / 2006-12-20 10:52:10 +0800
> >
> > \ Zhen Huang:
> > > And this causes failure in building the rpms from hg.linux-ha.org/dev.
> >
> > I'd love to fix the .spec ...
> > may I?
>
> yes please, while its there it should at least be buildable
>
> any word yet on why it cant build outside of the tree?
We would prefer, if it was in the tree.
I still dont get this. This code surely depends more on drbd versions
than it does heartbeat - you're just using our messaging layer - so
how does being in the heartbeat codebase help you?
(Assuming we can get it building outside of the heartbeat source tree).
Anyway, I've tried to compile dopd.c
on Debian Sarge with heartbeat-2-dev 2.0.7-0bpo1 package, on Fedora
Core 5 with heartbeat-devel-2.0.7-3.fc5 and I've got on both systems so far:
In file included from dopd.c:46:
/usr/include/heartbeat/crm.h:29:25: error: portability.h: No such file or
directory
generally speaking, you shouldn't need crm.h
you're not doing anything CRM-specific so you're creating an
unnecessary dependancy
i wold recommend looking at what my wrappers do and use the clplumbing
directly.
/usr/include/heartbeat/crm.h:36:20: error: config.h: No such file or directory
/usr/include/heartbeat/crm.h:65:29: error: crm/common/util.h: No such file or
directory
In file included from dopd.c:47:
/usr/include/heartbeat/ipc.h:25:28: error: crm/common/xml.h: No such file or
directory
/usr/include/heartbeat/ipc.h:26:28: error: crm/common/msg.h: No such file or
directory
dopd.c: In function 'send_message_to_the_peer':
...
dopd.c includes for example crm.h and ipm.h, but they include some other
headers that are not there. They are only in the heartbeat source. Could you
tell me, which headers I should include instead the ones I am using, or where
I can find this out?
so there appears to be 2 main problems (for us the heartbeat guys) to fix:
- headers are being installed into /usr/include/heartbeat without
their proper directory structure
- some headers are absent (i think it makes sense that portability.h
and config.h are installed)
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/