[Swan] Compilation error: fatal error: prcpucfg.h: No such file or directory

Paul Wouters paul at nohats.ca
Wed Feb 20 16:15:35 EET 2013


On Wed, 20 Feb 2013, Muenz, Michael wrote:

> I was just testing the installation with Debian Wheezy running into the 
> following error:
>
> In file included from /root/libreswan-3.0/lib/libswan/alg_info.c:33:0:
> /root/libreswan-3.0/include/constants.h:62:22: fatal error: prcpucfg.h: No 
> such file or directory
> compilation terminated.
>
> Had to change #include <prcpucfg.h> to #include <nspr/prcpucfg.h>
>
> Don't know if this is a bug or just Debian relevant.

That should be caught now by us using:

Makefile.inc:NSSFLAGS?=$(shell pkg-config --cflags nss)
Makefile.inc:NSSLIBS?=$(shell pkg-config --libs nss)

Perhaps that was not yet in 3.0. It will be in 3.1.

Paul


More information about the Swan mailing list