On Mon, Sep 17, 2012 at 8:50 PM, Jon Schipp <[email protected]> wrote: > I'm writing an article covering the netsniff-ng installation procedure. > I always get caught up on Libnacl after installing it like this: > http://petio.org/tools/nacl.html > > $ uname -a > Linux nms 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 > x86_64 x86_64 x86_64 GNU/Linux > > $ find / -type d -name nacl > /usr/include/nacl > /usr/lib/nacl > > /usr/include/nacl $ ls -1 > amd64 > crypto_box_curve25519xsalsa20poly1305.h > crypto_core_salsa20.h > crypto_hash_sha256.h > crypto_int8.h > ... > > /usr/lib/nacl $ ls -1 > amd64 > cpucycles.o > libnacl.a > randombytes.o > > src/curvetun $ grep nacl.*path\= nacl_path.sh > nacl_include_path="/usr/include/nacl" > nacl_lib_path="/usr/lib/nacl" > > $ cmake .. > -- System has SO_ATTACH_FILTER/SO_DETACH_FILTER support > -- System has PF_PACKET sockets > -- System architecture is NOT strictly aligned > -- System has TX_RING support > -- Could NOT find NaCl (missing: NACL_LIBRARY NACL_INCLUDE_DIR) > NaCl was not found. Check if NACL_INCLUDE_DIR and NACL_LIB_DIR are > properly set in nacl_path.cmake. Skipping curvetun build > -- Configuring done > -- Generating done > -- Build files have been written to: /root/netsniff-ng-0.5.7/src/build > > Am I missing something?
Yes, the INSTALL document. ;) Either you build nacl via curvetun (curvetun/build_nacl.sh) and it will do every needed export automatically, or you can use the curvetun/nacl_path.sh script to set the exports in case it is somewhere on your system already, e.g. ./nacl_path.sh ~/nacl/build/include/x86 ~/nacl/build/lib/x86 . Then, it will also be found through cmake. --
