On 9/6/2013 1:22 AM, Mark Potts wrote: > Hi, > Raw newbie with trouble getting corosync build to work... > > I downloaded corosync-2.3.1.tar.gz from build.clusterlabs.org to a > Ubuntu 12.04 workstation, opened the tarball, read through INSTALL, > and proceeded to the configure -- just like the start of any normal > build cycle. > > After many failed experiments with ./configure and then make, > I think that I have learned that: > > A dependency on building or using a "libqb" and its include > files, supposedly in /usr/include/qb/, prevents completion of > all attempts at "make". (See make output below.) > > "--disable-nss" is not understood by ./configure, despite > INSTALL > file documentation. I had to resort to setting environment > variables for nss_CFLAGS and nss_LIBS to bogus values, > to get around missing info in pkg_config for the nss option. > Note, I do not have nss installed and can not find nss_devel > or nspr_devel for debian/Ubuntu installation. But the > documentation states that, by default, I should not need > these anyway unless I want to use nss. nss is a hard dependency now for corosync build. you cannot build without nss. On debian it should be apt-get install libnss-dev libnspr-dev Fabio > > What am I missing, in either documentation or downloadable content. > > name@hpcTG[/home/potts/corosync-2.3.1] 204 => make > make all-recursive > make[1]: Entering directory `/home/potts/corosync-2.3.1' > Making all in include > make[2]: Entering directory `/home/potts/corosync-2.3.1/include' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/potts/corosync-2.3.1/include' > Making all in common_lib > make[2]: Entering directory `/home/potts/corosync-2.3.1/common_lib' > CC error_conversion.lo > CCLD libcorosync_common.la > make[2]: Leaving directory `/home/potts/corosync-2.3.1/common_lib' > Making all in lib > make[2]: Entering directory `/home/potts/corosync-2.3.1/lib' > CC cpg.lo > cpg.c:55:23: fatal error: qb/qbdefs.h: No such file or directory > <-------- N.B. ! > compilation terminated. > make[2]: *** [cpg.lo] Error 1 > make[2]: Leaving directory `/home/potts/corosync-2.3.1/lib' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/potts/corosync-2.3.1' > make: *** [all] Error 2 > > -- > *********************************** >>> Mark J. Potts, PhD >>> >>> HPC Applications Inc. >>> phone: 512-228-1721 Bus >>> 512-828-6153 Fax >>> email: potts@xxxxxxxxxxxxxxxxxxx >>> potts@xxxxxxxxxx > *********************************** > > > > _______________________________________________ > discuss mailing list > discuss@xxxxxxxxxxxx > http://lists.corosync.org/mailman/listinfo/discuss > _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss