Re: trouble with corosync build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark,
sadly INSTALL is extremely out of date (should be fixed soon). As Fabio
noted, NSS is now hard requirement.

Also I'm pretty sure qb is properly checked in configure script
(PKG_CHECK_MODULES([LIBQB], [libqb]) configure.ac:155), so I don't
really understand why build failed (or how it's possible that configure
passed).

Honza

Mark Potts napsal(a):
> 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.
> 
>    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
> 
> 
> 
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss
> 

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux