Hello,
I am building heatbeat (3.0.4) from source and I am running into this problem:
< above output deleted >
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... yes
checking for glue_config.h... yes
checking for HA_LIBHBDIR in heartbeat/glue_config.h..
/tmp/extract_define.HA_LIBHBDIR.28909.c:2:35: error: heartbeat/glue_config.h:
No such file or directory
/tmp/extract_define.HA_LIBHBDIR.28909.c: In function 'main':
/tmp/extract_define.HA_LIBHBDIR.28909.c:3: error: 'HA_LIBHBDIR' undeclared
(first use in this function)
/tmp/extract_defineHA_LIBHBDIR.28909.c:3: error: (Each undeclared identifier is
reported only once
/tmp/extract_define.HA_LIBHBDIR.28909.c:3: error: for each function it appears
in.)
./configure: line 2833: /tmp/extract_define.HA_LIBHBDIR.28909: No such file or
directory
printf: usage: printf [-v var] format [arguments]
checking for HA_VARRUNDIR in heartbeat/glue_config.h...
/tmp/extract_define.HA_VARRUNDIR.28909.c:2:35: error: heartbeat/glue_config.h:
No such file or directory
/tmp/extract_define.HA_VARRUNDIR.28909.c: In function 'main':
/tmp/extract_define.HA_VARRUNDIR.28909.c:3: error: 'HA_VARRUNDIR' undeclared
(first use in this function)
/tmp/extract_define.HA_VARRUNDIR.28909.c:3: error: (Each undeclared identifier
is reported only once
/tmp/extract_define.HA_VARRUNDIR.28909.c:3: error: for each function it appears
in.)
./configure: line 2833: /tmp/extract_define.HA_VARRUNDIR.28909: No such file or
directory
printf: usage: printf [-v var] format [arguments]
checking for HA_VARLIBHBDIR in heartbeat/glue_config.h...
/tmp/extract_define.HA_VARLIBHBDIR.28909.c:2:35: error:
heartbeat/glue_config.h: No such file or directory
/tmp/extract_define.HA_VARLIBHBDIR.28909.c: In function 'main':
/tmp/extract_define.HA_VARLIBHBDIR.28909.c:3: error: 'HA_VARLIBHBDIR'
undeclared (first use in this function)
/tmp/extract_define.HA_VARLIBHBDIR.28909.c:3: error: (Each undeclared
identifier is reported only once
/tmp/extract_define.HA_VARLIBHBDIR.28909.c:3: error: for each function it
appears in.)
./configure: line 2833: /tmp/extract_define.HA_VARLIBHBDIR.28909: No such file
or directory
printf: usage: printf [-v var] format [arguments]
checking for HA_COREDIR in heartbeat/glue_config.h...
/tmp/extract_define.HA_COREDIR.28909.c:2:35: error: heartbeat/glue_config.h: No
such file or directory
/tmp/extract_define.HA_COREDIR.28909.c: In function 'main':
/tmp/extract_define.HA_COREDIR.28909.c:3: error: 'HA_COREDIR' undeclared (first
use in this function)
/tmp/extract_define.HA_COREDIR.28909.c:3: error: (Each undeclared identifier is
reported only once
/tmp/extract_define.HA_COREDIR.28909.c:3: error: for each function it appears
in.)
./configure: line 2833: /tmp/extract_define.HA_COREDIR.28909: No such file or
directory
printf: usage: printf [-v var] format [arguments]
My configure parameters are:
LDFLAGS="-L${INSTALL_DIR}/lib -L${INSTALL_DIR}/lib64"
CPPFLAGS="-I${INSTALL_DIR}/include -I${INSTALL_DIR}/include/heartbeat" \
./bootstrap --prefix=${INSTALL_DIR} --exec-prefix=${INSTALL_DIR}
--mandir=${MAN_DIR} \
--disable-ansi \
--with-group-id=${GROUP_ID_NUMBER} \
--with-ccmuser-id=${USER_ID_NUMBER} \
--with-start-init-priority=${PROG_START_INIT_NUMBER} \
--with-stop-init-priority=${PROG_STOP_INIT_NUMBER} \
--with-logd-stop-init-priority=${LOGD_STOP_INIT_NUMBER}
It seems if I change to PREFIX I get this strange problem. It is like the
configure script can't read the HA_* #defines in the gluc_config.h header file.
The build is putting data into /heartbeat instead of $INSTALL_DIR
Does anyone know who to fix this issue?
Please help!
Michael
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems