You are not logged in.
Hi guys, I'm trying to install ha-heartbeat from the AUR but it just keeps giving me errors during make
Please help me.
Thanks!!!
Last edited by HenryJia (2013-12-14 18:44:13)
Computational scientist and machine learning engineer
Offline
please don't upload to rapidshare.
if the text isn't many hundreds of lines you can use code tags, it will scroll.
and while you're at it, please explain more.
what did you do to try and solve? different approaches? what kind of system do you have...
Offline
Moving to AUR issues
Edit: I have never encountered Rapidshare before. What a badly behaved site. What legitimate site tries to open pop up windows and then tries to capture the browser back function. I never did manage to see your post, so I cannot offer any advice.
Last edited by ewaller (2013-12-14 15:58:10)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Well I managed to get rid of that error by doing something but not sure what, now I get this error instead
ucast.c: In function 'HB_make_send_sock':
ucast.c:468:6: error: conflicting types for 'i'
int i = 1;
^
ucast.c:465:15: note: previous declaration of 'i' was here
struct ifreq i;
^
ucast.c:502:11: error: request for member 'ifr_ifrn' in something not a structure or union
strcpy(i.ifr_name, ei->interface);
^
ucast.c:508:7: error: request for member 'ifr_ifrn' in something not a structure or union
i.ifr_name, strerror(errno));
^
ucast.c:513:5: error: request for member 'ifr_ifrn' in something not a structure or union
i.ifr_name);
^
Makefile:761: recipe for target 'ucast.lo' failed
make[4]: *** [ucast.lo] Error 1
make[4]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
Makefile:780: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
Makefile:480: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins'
Makefile:490: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib'
Makefile:565: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
/home/henry/Downloads/ha-heartbeat/PKGBUILD: line 31: return: too many arguments
==> Finished making: ha-heartbeat 3.0.5-2 (Sat 14 Dec 17:52:56 GMT 2013)
==> Finished making: ha-heartbeat 3.0.5-2 (Sat 14 Dec 17:52:56 GMT 2013)
==> Cleaning up...I read somewhere that this may be a bug with GCC 4 so is there anyway I can downgrade GCC4 to 3 just for a little while?
Last edited by HenryJia (2013-12-14 17:54:13)
Computational scientist and machine learning engineer
Offline
Well I managed to get rid of that error by doing something but not sure what
that's bad. it might have provided insight into your problem.
I read somewhere that this may be a bug with GCC 4 so is there anyway I can downgrade GCC4 to 3 just for a little while?
where did you read that?
the program doesn't compile, so the compiler is buggy?
how come millions of people are compiling with gcc4 every day?
i see you posted to the aur page of that program, you should also post your second error.
are you sure all dependencies are met?
have you checked the PKGBUILD and applied the changes suggested in the comments?
have you searched the error messages on the web?
please do all this, and if the problem still occurs, post again, providing detailed documentation and terminal output.
ps: please can you remove the rapidshare link? thanks.
Last edited by ondoho (2013-12-14 23:22:22)
Offline
Well I read the bug about gcc4 here: http://lists.linux-ha.org/pipermail/lin … 14483.html
I'm pretty sure all dependencies are met
The changes to pkgbuild in the comments are already in the pkgbuild
Yes I have searched the web, found nothing useful
Here is the full output of makepkg -s -c -f
[henry@localhost ha-heartbeat]$ makepkg -s -c -f
==> Making package: ha-heartbeat 3.0.5-2 (Sat 14 Dec 18:48:33 GMT 2013)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found STABLE-3.0.5.tar.bz2
==> Validating source files with md5sums...
STABLE-3.0.5.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting STABLE-3.0.5.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
Autoconf package autoconf found.
Automake package automake found.
Libtool package libtool found.
aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoheader
libtoolize --ltdl --force --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `libltdl/config/compile'
libtoolize: copying file `libltdl/config/config.guess'
libtoolize: copying file `libltdl/config/config.sub'
libtoolize: copying file `libltdl/config/depcomp'
libtoolize: copying file `libltdl/config/install-sh'
libtoolize: copying file `libltdl/config/missing'
libtoolize: copying file `libltdl/config/ltmain.sh'
libtoolize: putting macros in `libltdl/m4'.
libtoolize: copying file `libltdl/m4/argz.m4'
libtoolize: copying file `libltdl/m4/libtool.m4'
libtoolize: copying file `libltdl/m4/ltdl.m4'
libtoolize: copying file `libltdl/m4/ltoptions.m4'
libtoolize: copying file `libltdl/m4/ltsugar.m4'
libtoolize: copying file `libltdl/m4/ltversion.m4'
libtoolize: copying file `libltdl/m4/lt~obsolete.m4'
libtoolize: putting libltdl files in `libltdl'.
libtoolize: copying file `libltdl/COPYING.LIB'
libtoolize: copying file `libltdl/README'
libtoolize: copying file `libltdl/Makefile.am'
libtoolize: copying file `libltdl/configure.ac'
libtoolize: copying file `libltdl/aclocal.m4'
libtoolize: copying file `libltdl/Makefile.in'
libtoolize: copying file `libltdl/config-h.in'
libtoolize: copying file `libltdl/configure'
libtoolize: copying file `libltdl/argz_.h'
libtoolize: copying file `libltdl/argz.c'
libtoolize: copying file `libltdl/loaders/dld_link.c'
libtoolize: copying file `libltdl/loaders/dlopen.c'
libtoolize: copying file `libltdl/loaders/dyld.c'
libtoolize: copying file `libltdl/loaders/load_add_on.c'
libtoolize: copying file `libltdl/loaders/loadlibrary.c'
libtoolize: copying file `libltdl/loaders/shl_load.c'
libtoolize: copying file `libltdl/lt__dirent.c'
libtoolize: copying file `libltdl/lt__strl.c'
libtoolize: copying file `libltdl/libltdl/lt__alloc.h'
libtoolize: copying file `libltdl/libltdl/lt__dirent.h'
libtoolize: copying file `libltdl/libltdl/lt__glibc.h'
libtoolize: copying file `libltdl/libltdl/lt__private.h'
libtoolize: copying file `libltdl/libltdl/lt__strl.h'
libtoolize: copying file `libltdl/libltdl/lt_dlloader.h'
libtoolize: copying file `libltdl/libltdl/lt_error.h'
libtoolize: copying file `libltdl/libltdl/lt_system.h'
libtoolize: copying file `libltdl/libltdl/slist.h'
libtoolize: copying file `libltdl/loaders/preopen.c'
libtoolize: copying file `libltdl/lt__alloc.c'
libtoolize: copying file `libltdl/lt_dlloader.c'
libtoolize: copying file `libltdl/lt_error.c'
libtoolize: copying file `libltdl/ltdl.c'
libtoolize: copying file `libltdl/ltdl.h'
libtoolize: copying file `libltdl/slist.c'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `libltdl/m4/argz.m4'
libtoolize: or else add `AC_CONFIG_MACRO_DIR([libltdl/m4])' to configure.in.
libtoolize: Remember to add `LTDL_INIT' to configure.in.
libtoolize: Remember to add `LT_CONFIG_LTDL_DIR([libltdl])' to `configure.in'.
libtoolize: Consider using `AC_CONFIG_AUX_DIR([libltdl/config])' in configure.in.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake --add-missing --include-deps --copy
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:44: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
configure.in:44: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
contrib/drbd-outdate-peer/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
contrib/ipfail/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
contrib/mlock/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
heartbeat/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/apphb/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/hbclient/Makefile.am:23: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/HBauth/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/HBcomm/Makefile.am:40: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/HBcompress/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/quorum/Makefile.am:25: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/quorumd/Makefile.am:25: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/plugins/tiebreaker/Makefile.am:25: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
membership/ccm/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
membership/quorumd/Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
replace/Makefile.am:20: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
telecom/apphbd/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tools/Makefile.am:22: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
autoconf
Now run ./configure.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
Our Host OS: linux-gnu/i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for proper library directory suffix... lib
configure: WARNING: Overriding libexecdir to: /usr/lib
configure: WARNING: docdir directory (/usr/share/doc/heartbeat) does not exist!
configure: WARNING: stdocdir directory () does not exist!
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking heartbeat/glue_config.h usability... yes
checking heartbeat/glue_config.h presence... yes
checking for heartbeat/glue_config.h... yes
checking glue_config.h usability... yes
checking glue_config.h presence... no
configure: WARNING: glue_config.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: glue_config.h: proceeding with the compiler's result
checking for glue_config.h... yes
checking for HA_LIBHBDIR in heartbeat/glue_config.h... /usr/lib/heartbeat
checking for HA_VARRUNDIR in heartbeat/glue_config.h... /var/run
checking for HA_VARLIBHBDIR in heartbeat/glue_config.h... /var/lib/heartbeat
checking for HA_COREDIR in heartbeat/glue_config.h... /var/lib/heartbeat/cores
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for python... /usr/bin/python
checking for python version... 3.3
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.3/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.3/site-packages
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for glibtool... $(SHELL) $(top_builddir)/libtool
checking for glibtool or libtool*... $(SHELL) $(top_builddir)/libtool has been found.
checking for gmake... no
checking for make... make
checking for gmake or make... make has been found.
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for lynx... /usr/bin/lynx
checking for pod2man... /usr/bin/core_perl/pod2man
checking for route... /usr/bin/route
checking for rpmbuild... no
checking for rpm... no
checking for netstat... /usr/bin/netstat
checking for ping... /usr/bin/ping
checking for ifconfig... /usr/bin/ifconfig
checking for ssh... /usr/bin/ssh
checking for scp... /usr/bin/scp
checking for python... (cached) /usr/bin/python
checking for mailx... /usr/bin/mailx
checking for getent... /usr/bin/getent
checking for ip... /usr/bin/ip
checking for reboot... /usr/bin/reboot
checking for poweroff... /usr/bin/poweroff
checking for whoami... /usr/bin/whoami
checking for swig... no
checking for egrep... (cached) /usr/bin/grep -E
checking for msgfmt... /usr/bin/msgfmt
checking for hg... no
checking for gzip... /usr/bin/gzip
checking for tar... /usr/bin/tar
checking for md5... no
checking for test... /usr/bin/test
checking for pkg-config... /usr/bin/pkg-config
checking for xsltproc... /usr/bin/xsltproc
checking if chown works for non-root... no
checking for sched_getscheduler in -lposix4... no
checking for dlopen in -lc... no
checking for dlopen in -ldl... (cached) yes
checking for sched_getscheduler in -lrt... yes
checking for getopt_long in -lgnugetopt... no
checking for uuid_parse in -luuid... yes
checking uuid implementation:... e2fsprogs
using /usr/bin/pkg-config glib-2.0
checking where is python installed... using /usr/bin/python
checking if netstat supports -f inet flag... yes
checking ping option for timeout - w or t... -w1
checking ifconfig option to list interfaces... -a
checking for locale directory... /usr/share/locale
checking for RPM directory... not found
checking for gettext in -lc... yes
checking for special glib includes: ... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking for glib library flags... -lglib-2.0
checking for ANSI C header files... (cached) yes
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking tcpd.h usability... no
checking tcpd.h presence... no
checking for tcpd.h... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/reboot.h usability... yes
checking sys/reboot.h presence... yes
checking for sys/reboot.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_var.h... no
checking for netinet/ip_compat.h... no
checking for netinet/ip_fw.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking for linux/watchdog.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking for getpeerucred... no
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for sys/ucred.h... no
checking sys/cred.h usability... no
checking sys/cred.h presence... no
checking for sys/cred.h... no
checking xti.h usability... no
checking xti.h presence... no
checking for xti.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking net/tipc/tipc.h usability... no
checking net/tipc/tipc.h presence... no
checking for net/tipc/tipc.h... no
checking for size_t... yes
checking for type nfds_t ... yes
checking for type struct ucred ... no
checking for type struct ucred ... (cached) no
checking for type struct cmsgcred ... no
checking for type struct fcred ... no
checking for type struct cred ... no
checking for type struct sockcred ... no
checking for c_line in termios... yes
checking for sin_len in sockaddr_in... no
checking for msg_control in msghdr... yes
checking for facilitynames in syslog.h... yes
checking number of arguments in reboot system call... 1
checking "for ALIGN in sys/param.h"... "No"
checking "for T_ALIGN in xti.h"... No
checking for preprocessor stringizing operator... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for type struct tm ... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of clock_t... 4
checking for lt_dlopen in -lltdl... yes
configure: Using installed ltdl
checking if clock_t is long enough... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking curses/curses.h usability... no
checking curses/curses.h presence... no
checking for curses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking for printw in -lncurses... yes
checking whether gcc -std=gnu99 supports "-Wcast-qual"... yes
checking whether gcc -std=gnu99 supports "-Werror"... yes
checking whether printw() requires argument of "const char *"... no
configure: WARNING: The printw() function of your ncurses or curses library is old, we will disable usage of the library. If you want to use this library anyway, please update to newer version of the library, ncurses 5.4 or later is recommended. You can get the library from http://www.gnu.org/software/ncurses/.
configure: Disabling curses
checking whether gcc -std=gnu99 supports "-Wall"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-prototypes"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-declarations"... yes
checking whether gcc -std=gnu99 supports "-Wstrict-prototypes"... yes
checking whether gcc -std=gnu99 supports "-Wdeclaration-after-statement"... yes
checking whether gcc -std=gnu99 supports "-Wpointer-arith"... yes
checking whether gcc -std=gnu99 supports "-Wwrite-strings"... yes
checking whether gcc -std=gnu99 supports "-Wcast-qual"... yes
checking whether gcc -std=gnu99 supports "-Wcast-align"... yes
checking whether gcc -std=gnu99 supports "-Wbad-function-cast"... yes
checking whether gcc -std=gnu99 supports "-Winline"... yes
checking whether gcc -std=gnu99 supports "-Wmissing-format-attribute"... yes
checking whether gcc -std=gnu99 supports "-Wformat=2"... yes
checking whether gcc -std=gnu99 supports "-Wformat-security"... yes
checking whether gcc -std=gnu99 supports "-Wformat-nonliteral"... yes
checking whether gcc -std=gnu99 supports "-Wno-long-long"... yes
checking whether gcc -std=gnu99 supports "-Wno-strict-aliasing"... yes
checking which init (rc) directory to use... /etc/rc.d
checking which init defaults directory to use... /etc/default
checking for HA_CCMUSER in heartbeat/glue_config.h... hacluster
checking for HA_APIGROUP in heartbeat/glue_config.h... haclient
checking for alphasort... yes
checking for inet_pton... yes
checking for NoSuchFunctionName... no
checking for scandir... yes
checking for setenv... yes
checking for strerror... yes
checking for unsetenv... yes
checking for strnlen... yes
checking for strndup... yes
checking for daemon... yes
checking for uuid_parse... yes
checking for strlcpy... no
checking for strlcat... no
checking for getopt... yes
checking for fcntl... yes
checking for flock... yes
checking for inet_aton... yes
checking for mallinfo... yes
checking for mallopt... yes
checking for __default_morecore... yes
checking for seteuid... yes
checking for setegid... yes
checking for getpeereid... no
checking for setproctitle... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
checking for time.h... (cached) yes
checking for hbaapi.h... no
checking for HBA_SendScsiInquiry in -lHBAAPI... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for compress in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzBuffToBuffCompress in -lbz2... yes
checking evs.h usability... no
checking evs.h presence... no
checking for evs.h... no
checking for evs_initialize in -levs... no
checking for getpid() consistency in multi-process/threads program... ok
checking for byteorder... little-endian
little-endian
checking for sigignore... yes
checking whether gcc -std=gnu99 supports "-funsigned-char"... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for libgnutls-config... no
checking for gnutls_init in -lgnutls... yes
configure: whether to enable the quorum server... no
checking for HA_PLUGIN_DIR in heartbeat/glue_config.h... /usr/lib/heartbeat/plugins
checking for HB_RA_DIR in heartbeat/glue_config.h... /etc/ha.d/resource.d/
checking for OCF_ROOT_DIR in heartbeat/glue_config.h... /usr/lib/ocf
checking for OCF_RA_DIR in heartbeat/glue_config.h... /usr/lib/ocf/resource.d/
checking for LSB_RA_DIR in heartbeat/glue_config.h... /etc/rc.d
configure: Set default Valgrind options to:
configure: Remember to start a receiver on localhost:1234
checking for valgrind... no
checking for gawk... /usr/bin/gawk
Supressing make details:
Pretty printing of compiler output:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating buildtools/Makefile
config.status: creating config/Makefile
config.status: creating cts/Makefile
config.status: creating cts/CM_fs.py
config.status: creating cts/CM_hb.py
config.status: creating cts/CTS.py
config.status: creating cts/CTSaudits.py
config.status: creating cts/CTSlab.py
config.status: creating cts/CTStests.py
config.status: creating cts/CM_LinuxHAv2.py
config.status: creating cts/CTSproxy.py
config.status: creating cts/extracttests.py
config.status: creating cts/getpeinputs.sh
config.status: creating cts/OCFIPraTest.py
config.status: creating cts/CIB.py
config.status: creating cts/LSBDummy
config.status: creating doc/Makefile
config.status: creating doc/startstop
config.status: creating doc/heartbeat.xml
config.status: creating doc/cl_status.xml
config.status: creating doc/apphbd.xml
config.status: creating doc/hb_addnode.xml
config.status: creating doc/hb_delnode.xml
config.status: creating doc/hb_takeover.xml
config.status: creating doc/hb_standby.xml
config.status: creating doc/ha.cf.xml
config.status: creating doc/authkeys.xml
config.status: creating contrib/Makefile
config.status: creating contrib/ipfail/Makefile
config.status: creating contrib/mlock/Makefile
config.status: creating contrib/drbd-outdate-peer/Makefile
config.status: creating include/Makefile
config.status: creating include/ocf/Makefile
config.status: creating include/saf/Makefile
config.status: creating replace/Makefile
config.status: creating lib/Makefile
config.status: creating lib/apphb/Makefile
config.status: creating lib/hbclient/Makefile
config.status: creating lib/plugins/Makefile
config.status: creating lib/plugins/HBauth/Makefile
config.status: creating lib/plugins/HBcomm/Makefile
config.status: creating lib/plugins/HBcompress/Makefile
config.status: creating lib/plugins/quorum/Makefile
config.status: creating lib/plugins/quorumd/Makefile
config.status: creating lib/plugins/tiebreaker/Makefile
config.status: creating heartbeat/Makefile
config.status: creating heartbeat/rc.d/Makefile
config.status: creating heartbeat/rc.d/ask_resources
config.status: creating heartbeat/rc.d/hb_takeover
config.status: creating heartbeat/init.d/Makefile
config.status: creating heartbeat/init.d/heartbeat
config.status: creating heartbeat/lib/Makefile
config.status: creating heartbeat/lib/BasicSanityCheck
config.status: creating heartbeat/lib/ha_config
config.status: creating heartbeat/lib/ha_propagate
config.status: creating heartbeat/lib/hb_standby
config.status: creating heartbeat/lib/mach_down
config.status: creating heartbeat/lib/req_resource
config.status: creating heartbeat/lib/ResourceManager
config.status: creating heartbeat/lib/TestHeartbeatComm
config.status: creating heartbeat/lib/hb_takeover
config.status: creating heartbeat/lib/hb_addnode
config.status: creating heartbeat/lib/hb_delnode
config.status: creating heartbeat/lib/hb_setweight
config.status: creating heartbeat/lib/hb_setsite
config.status: creating heartbeat/logrotate.d/Makefile
config.status: creating membership/Makefile
config.status: creating membership/ccm/Makefile
config.status: creating membership/quorumd/Makefile
config.status: creating pkg/Makefile
config.status: creating pkg/InfoFiles/pkginfo
config.status: creating pkg/InfoFiles/preinstall
config.status: creating pkg/InfoFiles/postinstall
config.status: creating port/Makefile
config.status: creating port/portMakefile
config.status: creating port/heartbeat/pkg-deinstall
config.status: creating port/heartbeat/pkg-descr
config.status: creating port/heartbeat/pkg-install
config.status: creating port/heartbeat/pkg-plist
config.status: creating telecom/Makefile
config.status: creating telecom/apphbd/Makefile
config.status: creating tools/Makefile
config.status: creating resources/Makefile
config.status: creating resources/heartbeat/Makefile
config.status: creating resources/heartbeat/apache
config.status: creating resources/heartbeat/AudibleAlarm
config.status: creating resources/heartbeat/Delay
config.status: creating resources/heartbeat/db2
config.status: creating resources/heartbeat/Filesystem
config.status: creating resources/heartbeat/hto-mapfuncs
config.status: creating resources/heartbeat/ICP
config.status: creating resources/heartbeat/ids
config.status: creating resources/heartbeat/IPaddr
config.status: creating resources/heartbeat/IPaddr2
config.status: creating resources/heartbeat/IPsrcaddr
config.status: creating resources/heartbeat/IPv6addr
config.status: creating resources/heartbeat/LinuxSCSI
config.status: creating resources/heartbeat/LVM
config.status: creating resources/heartbeat/MailTo
config.status: creating resources/heartbeat/OCF
config.status: creating resources/heartbeat/portblock
config.status: creating resources/heartbeat/Raid1
config.status: creating resources/heartbeat/ServeRAID
config.status: creating resources/heartbeat/SendArp
config.status: creating resources/heartbeat/WAS
config.status: creating resources/heartbeat/WinPopup
config.status: creating resources/heartbeat/Xinetd
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/hb_config.h
config.status: include/hb_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
heartbeat configuration:
Version = "3.0.5"
Executables = "/usr/sbin"
Man pages = "/usr/share/man"
Libraries = "/usr/lib"
Header files = "/usr/include"
Arch-independent files = "/usr/share"
Documentation files = "/usr/share/doc/heartbeat"
State information = "/var"
System configuration = "/etc"
Init (rc) scripts = "/etc/rc.d"
Init (rc) defaults = "/etc/default"
Use system LTDL = "yes"
HA group name = "haclient"
HA group id = "666"
HA user name = "hacluster"
HA user user id = "666"
Build dopd plugin = "yes"
Enable times kludge = "yes"
CC_WARNINGS = " -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing "
Mangled CFLAGS = "-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char"
Libraries = "-lgnutls -lbz2 -lz -lc -luuid -lrt -ldl -lltdl"
RPATH enabled = ""
Distro-style RPMs = "no"
Note: If you use the 'make install' method for installation you
also need to adjust '/etc/passwd' and '/etc/group' manually.
GNUmakefile:44: warning: overriding recipe for target 'rpm'
Makefile:979: warning: ignoring old recipe for target 'rpm'
Making all in buildtools
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/buildtools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/buildtools'
Making all in pkg
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/pkg'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/pkg'
Making all in port
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/port'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/port'
Making all in replace
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/replace'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/replace'
Making all in include
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
make all-recursive
make[2]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
Making all in ocf
make[3]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include/ocf'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include/ocf'
Making all in saf
make[3]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include/saf'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include/saf'
make[3]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
if [ -r ha_version.h -a ! -w ha_version.h ]; then \
hgv=""; \
echo "Saved Version"; \
elif [ -f "../.hg_archival.txt" ]; then \
hgv="`/usr/bin/grep -E node: ""../.hg_archival.txt""`"; \
echo "Hg Archived Version: ${hgv}"; \
elif [ -x /usr/local/hg -a -d ../.hg ]; then \
hgv="`/usr/local/hg -R ".." id`"; \
echo "Hg Live Version: ${hgv}"; \
elif [ -r ha_version.h ]; then \
hgv=""; \
echo "Hg Saved Live Version"; \
cat ha_version.h; \
else \
hgv="Unknown"; \
echo "Unknown Hg Version"; \
fi ; \
if [ X"${hgv}" != "X" ]; then \
echo "/* ${hgv} */" > ha_version.h; \
echo "#define HA_HG_VERSION \"${hgv}\"" >> ha_version.h; \
fi
Hg Archived Version: node: 545554f6fc0adef98cb289c1779daa5b63ea08e1
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
make[2]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/include'
Making all in lib
make[1]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib'
Making all in hbclient
make[2]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/hbclient'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/hbclient'
Making all in apphb
make[2]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/apphb'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/apphb'
Making all in plugins
make[2]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins'
Making all in HBauth
make[3]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBauth'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBauth'
Making all in HBcomm
make[3]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
make[4]: Entering directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
/bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -MT ucast.lo -MD -MP -MF .deps/ucast.Tpo -c -o ucast.lo ucast.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I../../../lib/upmls -I../../../lib/upmls -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/include/heartbeat -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -ggdb3 -funsigned-char -MT ucast.lo -MD -MP -MF .deps/ucast.Tpo -c ucast.c -fPIC -DPIC -o .libs/ucast.o
ucast.c: In function 'HB_make_send_sock':
ucast.c:468:6: error: conflicting types for 'i'
int i = 1;
^
ucast.c:465:15: note: previous declaration of 'i' was here
struct ifreq i;
^
ucast.c:502:11: error: request for member 'ifr_ifrn' in something not a structure or union
strcpy(i.ifr_name, ei->interface);
^
ucast.c:508:7: error: request for member 'ifr_ifrn' in something not a structure or union
i.ifr_name, strerror(errno));
^
ucast.c:513:5: error: request for member 'ifr_ifrn' in something not a structure or union
i.ifr_name);
^
Makefile:761: recipe for target 'ucast.lo' failed
make[4]: *** [ucast.lo] Error 1
make[4]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
Makefile:780: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins/HBcomm'
Makefile:480: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib/plugins'
Makefile:490: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/henry/Downloads/ha-heartbeat/src/Heartbeat-3-0-STABLE-3.0.5/lib'
Makefile:565: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...Computational scientist and machine learning engineer
Offline
Well I read the bug about gcc4 here: http://lists.linux-ha.org/pipermail/lin … 14483.html
the word "bug" is not mentioned in that thread.
also the post is from 2005 and talks about gcc 4.0.0 - i have 4.8.2 installed.
maybe you should join that mailing list and ask there, if you really already searched all other possibilities on the web.
2 things from the output you posted:
...
checking dependency style of gcc... gcc3
...
recipe for target 'ucast.lo' failed
...good luck.
thanks for removing the rapidshare link. appreciated.
Last edited by ondoho (2013-12-15 23:41:30)
Offline
Ahh, that might be why, it's trying to compile with gcc 3 not the latest gcc4.8.2
Is there any way to force it to compile using gcc 4.8.2 ?
Computational scientist and machine learning engineer
Offline
Ahh, that might be why, it's trying to compile with gcc 3 not the latest gcc4.8.2
i don't think this interpretation is right.
i just posted that because it caught my eye in conjunction with your problem.
i don't know how to get your problem solved but since this program is maintained in the aur, it seems that people get it working.
i already gave you the advice to post another, more informed comment on that packages aur page, and maybe repeat your web searches since you learned sth about the problem now. there's also some ha-heartbeat web page or wiki, and a mailing list... lots of stuff to do for you.
Last edited by ondoho (2013-12-15 23:46:34)
Offline
Well, I asked around in the linux-ha IRC and found out that ha-heart was not developed in some time and they recommendme to use corosync + pacmaker
But thanks a lot anyway.
Computational scientist and machine learning engineer
Offline
so it took us 10 posts to find that out.
Offline
for this error
" ucast.c:468:6: error: conflicting types for 'i'"
I fell into it recently, and found it was caused (in rhel 6.5) by include file "/usr/include/asm-generic/socket.h" having both
#define SO_BINDTODEVICE 25
#define SO_REUSEPORT 15
defined, whereas on earlier release the file had a comment here:
/* To add :#define SO_REUSEPORT 15 */
=> just comment the define for SO_REUSEPORT and attempt your build again. This worked for me.
Offline