View previous topic :: View next topic |
Author |
Message |
whit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/d8fe4b3c3dc87fca22277.jpg)
Joined: 26 Oct 2002 Posts: 121 Location: VT
|
Posted: Mon Dec 30, 2002 6:51 pm Post subject: Can't get heartbeat (linux-ha) to compile |
|
|
What with Debian stable getting increasingly flakey for server use, I bit the bullet and am setting up a production server for a client with Gentoo. Impressively saner so far, but as a finishing touch I need to get heartbeat installed, to get failover to a backup machine working. There's no ebuild yet, so I'm trying to build from the tar, which leads me to a series of errors that don't say much to me, but may be suggesting that gcc isn't happy with the heartbeat code. (I'd post them here now, but need to fix the middle-mouse-button emulation first.) Anyway, has anyone got heartbeat running on Gentoo? Or a similarly capable fail-over system? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Naan Yaar Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Mon Dec 30, 2002 8:41 pm Post subject: |
|
|
Try emerging ucd-snmp before the compile. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
whit Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/d8fe4b3c3dc87fca22277.jpg)
Joined: 26 Oct 2002 Posts: 121 Location: VT
|
Posted: Thu Jan 02, 2003 10:54 pm Post subject: That worked |
|
|
Thanks much! ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
paul138 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/209022703940c31ebb1e9fe.jpg)
Joined: 09 Aug 2002 Posts: 370 Location: Ottawa, ON
|
Posted: Wed Jan 29, 2003 10:11 pm Post subject: |
|
|
Did you manage to get heartbeat running on your Gentoo box? If so, which version? _________________ Talk is cheap because supply always exceeds demand. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
semen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/TV Stars/dylan1.jpg)
Joined: 02 Jan 2005 Posts: 29
|
Posted: Mon Jan 03, 2005 12:03 pm Post subject: heartbeat compile error |
|
|
Hi,
can not emerge heartbeat
did
emerge ucd-snmp
got this error below.
someone the same complile error?
--------------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I/usr/include/libxml2 -O2 -mcpu=i686 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3 -O2 -mcpu=i686 -fomit-frame-pointer -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3 -MT pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c -fPIC -DPIC -o .libs/pils.o
pils.c:35:25: glib.h: No such file or directory
In file included from ../../include/pils/interface.h:25,
from pils.c:43:
../../include/pils/plugin.h:29:25: glib.h: No such file or directory
In file included from ../../include/pils/interface.h:25,
from pils.c:43:
../../include/pils/plugin.h:664: error: syntax error before "GHashTable"
.... ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Khan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/8396929954166ced9d62b7.jpg)
Joined: 19 Feb 2003 Posts: 96
|
Posted: Mon Jan 03, 2005 6:57 pm Post subject: Re: heartbeat compile error |
|
|
semen wrote: |
pils.c:35:25: glib.h: No such file or directory
In file included from ../../include/pils/interface.h:25,
from pils.c:43:
../../include/pils/plugin.h:29:25: glib.h: No such file or directory
In file included from ../../include/pils/interface.h:25,
from pils.c:43:
../../include/pils/plugin.h:664: error: syntax error before "GHashTable"
.... ![Cool 8)](images/smiles/icon_cool.gif) |
I get the same error when trying to compile Heartbeat 1.2.3 from portage or source. I've been activily posting to the HA email list to try and find a solution. I'll post here when or if I get a fix from them. Version 1.99.1 compiles fine but it is alpha code for version 2.00 and I'm not too interested in running it in production. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
semen n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/TV Stars/dylan1.jpg)
Joined: 02 Jan 2005 Posts: 29
|
Posted: Tue Jan 04, 2005 10:49 pm Post subject: |
|
|
Hi,
I compiled heart beat successfuly on pentium 3 CPUs but on Intel Itanium CPUs the compile failed.
Maybe the following entrys in /etc/make.conf are wrong?
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="acl bzlib gnutls posix apache2 mysql pcre xfs -qt -X -gtk -gtk2 -quicktime -xmms -xv xml xml2 pam ssl gd"
Someboy any idea?
![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
charlesnadeau Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14681005234539810b1c2d6.jpg)
Joined: 19 May 2003 Posts: 205 Location: Ottawa, Ontario, Canada
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|