libsodium mess

Eric S. Raymond esr at thyrsus.com
Fri Jan 20 03:54:49 UTC 2017


Hal Murray <hmurray at megapathdsl.net>:
> 
> esr at thyrsus.com said:
> > The part that might be missing if you lost an update somewhere is
> > "includes=ctx.env.PLATFORM_INCLUDES". That needs to be there for sodium.h to
> > be found if it's not under /include or /include/sys. 
> 
> That's working now.  I assume one of us lost an update.
> 
> It now has similar problems checking for the library.
> 
> I fixed that, but now ...
> [25/97] Compiling libntp/ntp_random.c
> ../../libntp/ntp_random.c:10:10: fatal error: 'sodium.h' file not found
> #include <sodium.h>
> 
> so it looks like the include stuff isn't getting passed to the compiler.
> 
> 16:51:25 runner ['/usr/bin/clang', '-g', '-Wall', '-Wextra', 
> '-Wstrict-prototypes', '-std=gnu99', '-I../../libisc/include', 
> '-I../../libisc/unix/include', '-I../../libsodium/include', '-I..', 
> '-I../../include', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', 
> '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', 
> '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', 
> '../../libntp/ntp_worker.c', '-c', '-o/home/murray/ntpsec/play/ted2/main/libnt
> p/ntp_worker.c.1.o']
> ../../libntp/ntp_random.c:10:10: fatal error: 'sodium.h' file not found
> #include <sodium.h>
>          ^
> 1 error generated.

That's annoying.  Looks like that hack never actually got completed.

I've just pushed an attempted fix.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>


More information about the devel mailing list