Regarding building corosync 2.4.3 on FreeBSD 8.4-RELEASE

Jaspal Kaur Jaspal.Kaur at citrix.com
Tue Nov 7 06:25:49 UTC 2017


Hi All,

I am trying to build corosync 2.4.3 on FreeBSD 8.4-RELEASE. I am able to build its below dependencies:

nss => 3.20           (nss-3.20-with-nspr-4.10.8.tar.gz)
nspr => 4.10.8     (nss-3.20-with-nspr-4.10.8.tar.gz)
libqb => 1.0.2     (libqb-1.0.2.tar.gz)

After building dependencies, when I am building corosync, I am getting below errors:
--------------------------------------------------------------------------------------------------------
Making all in exec
gmake[2]: Entering directory `/var/mps64/main/rs_120/usr.src/contrib/corosync/corosync-2.4.3/exec'
  CC     libtotem_pg_la-totemudp.lo
totemudp.c:75:21: error: pk11pub.h: No such file or directory
totemudp.c:76:20: error: pkcs11.h: No such file or directory
totemudp.c:77:21: error: prerror.h: No such file or directory
gmake[2]: *** [libtotem_pg_la-totemudp.lo] Error 1
gmake[2]: Leaving directory `/var/mps64/main/rs_120/usr.src/contrib/corosync/corosync-2.4.3/exec'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/mps64/main/rs_120/usr.src/contrib/corosync/corosync-2.4.3'
gmake: *** [all] Error 2

--------------------------------------------------------------------------------------------------------
I understand that the above missing .h files are part of nss package. But I have set env variables nss_CFLAGS and nss_LIBS which are pointing to include and lib directory of nss respectively.
Then why its still complaining “no such file or directory”.

This is the first time I am building something on freebsd. Please help!

Thanks in advance!

-Jaspal


More information about the freebsd-ports mailing list