[Pacemaker] libqb installed in non-standard dir causes configure failures
Matthew O'Connor
matt at ecsorl.com
Thu Jul 18 18:37:04 UTC 2013
Hi! I'm trying to build a full pacemaker/corosync/libqb tree into a
directory other than /usr. Unfortunately the Pacemaker configure script
fails to properly validate the existence of libqb:
checking pkg-config is at least version 0.9.0... yes
checking for libqb... yes
checking qb/qbipc_common.h usability... yes
checking qb/qbipc_common.h presence... no
configure: WARNING: qb/qbipc_common.h: accepted by the compiler,
rejected by the preprocessor!
configure: WARNING: qb/qbipc_common.h: proceeding with the compiler's result
checking for qb/qbipc_common.h... yes
checking for qb_ipcc_is_connected in -lqb... no
checking for qb_ipcc_is_connected... no
configure: error: in `/home/matt/doit/latest/pacemaker':
configure: error: Version of IPC in libqb is not new enough
When libqb is installed into /usr/lib and /usr/include, everything works
fine. My command-line to configure is as follows:
PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig \
libqb_CFLAGS="-I${PREFIX}/include" \
libqb_LIBS="-L${PREFIX}/lib" \
./configure \
--prefix=${PREFIX} \
--sysconfdir=${PREFIX}/etc \
--localstatedir=${PREFIX}/var \
--enable-glib-malloc \
--libdir=${PREFIX}/lib \
--with-ais \
--with-corosync \
--with-heartbeat \
--with-cs-quorum
The PREFIX in this case is /opt/cluster (I'm testing out combinations of
things, and wanted to build into a place I can easily rm -rf later).
I've added the PKG_CONFIG_PATH and the two libqb_ lines in an attempt to
make things work, as recommended by the configure help. So far, no
dice. Is this something that needs to be fixed in the autoconf/autogen
stuff? Something I can submit a patch for? (sadly, not versed at all
in autoconf/autogen, but willing to learn!)
--
Thank you!
Matthew O'Connor
(GPG Key ID: 55F981C4)
CONFIDENTIAL NOTICE: The information contained in this electronic message is legally privileged, confidential and exempt from disclosure under applicable law. It is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete the original message and any copies of it from your computer system. Thank you.
EXPORT CONTROL WARNING: This document may contain technical data that is subject to the International Traffic in Arms Regulations (ITAR) controls and may not be exported or otherwise disclosed to any foreign person or firm, whether in the US or abroad, without first complying with all requirements of the ITAR, 22 CFR 120-130, including the requirement for obtaining an export license if applicable. In addition, this document may contain technology that is subject to the Export Administration Regulations (EAR) and may not be exported or otherwise disclosed to any non-U.S. person, whether in the US or abroad, without first complying with all requirements of the EAR, 15 CFR 730-774, including the requirement for obtaining an export license if applicable. Violation of these export laws is subject to severe criminal penalties.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5029 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130718/e9d4db57/attachment-0003.p7s>
More information about the Pacemaker
mailing list