Hi,

i've got the same error on debian jessie:

/home/antonio/libreswan-3.26/programs/pluto/keys.c:75:19: fatal error: blapi.h: No such file or directory
 #include <blapi.h>
                   ^

But i couldn't find a workaround... this headers are not present on debian libnss3-dev:

https://packages.debian.org/jessie/amd64/libnss3-dev/filelist

There is a discussion about the missing headers for the pkg nss-pem:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855879

Not sure if they will be included...Currently i couldn't find any pkg with those headers.


i try to copy the missing headers from the source pkg nss, but no luck.. i got a new error when compiling..

/usr/bin/ld: cannot find -lfreebl
collect2: error: ld returned 1 exit status


any idea how to compile it on debian jessie or is not supported?


I also had the issue:

libreswan-3.26/lib/libswan/ike_alg_dh.c:323:13: error: 'SEC_OID_CURVE25519' undeclared here (not in a function)

found the solution in: https://www.mail-archive.com/[email protected]/msg02454.html

echo "USE_DH31=false" >> Makefile.inc.local


Thanks.

On 16/09/2018 20:34, Paul Wouters wrote:

this might be an issue on debian/ubuntu ?

Paul

---------- Forwarded message ----------
Date: Sat, 15 Sep 2018 23:35:30
From: Reuben Farrelly <[email protected]>
To: Paul Wouters <[email protected]>
Subject: Re: Git Breakage - blapi.h

I've 'hacked' around this by now by symlinking:

lightning /usr/include/nss # ls -la blapi.h
lrwxrwxrwx 1 root root 15 Sep 16 13:19 blapi.h -> private/blapi.h
lightning /usr/include/nss # ls -la alghmac.h
lrwxrwxrwx 1 root root 17 Sep 16 13:21 alghmac.h -> private/alghmac.h
lightning /usr/include/nss #

It's not ideal but it allows me to build libreswan -git again. There are some suggestions that these could be private headers but other cases where distributions have moved them into more normal include paths regardless.

Reuben
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

--
Saludos / Regards / Cumprimentos
António Silva

_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to