Never mind, I just noticed the build_nacl script, I see how it works now.

$ netsniff-ng/src/curvetun# ./build_nacl.sh ~/test/
Building NaCl for arch amd64 on host nms (grab a coffee, this takes a while) ...

Thanks
Jon

On Mon, Sep 17, 2012 at 2: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?
>
> Thanks
> Jon

-- 


Reply via email to