On 02/26/2013 12:35 PM, M.Rashid Zamani wrote:
source ~/.bashrc did it... make finished with no error

you are awesome! thank you for everything!

I'm glad to help.

You are also welcome to contribute patches to improve our project, i.e.
curvetun a bit. ;-) For curvetun there's an howto in Documentation/ about
how to setup and run the tunnel.

Thanks!

Daniel

On Tue, Feb 26, 2013 at 3:03 PM, Daniel Borkmann <[email protected]>wrote:

If you do 'make Q= curvetun', you'll see compiler args. The thing is that
make cannot find the path of nacl. If you want, just edit it by hand into
the Makefile as a workaround, since I saw you're not using bash.


On 02/26/2013 12:30 PM, M.Rashid Zamani wrote:

Sorry I've been bugging you alot today, but I tried two times once with
proxy, and the other time without it, but still getting this error: what
am
I doin wrong?

Building nacl:
--2013-02-26 19:13:26--  http://hyperelliptic.org/nacl/**
nacl-20110221.tar.bz2<http://hyperelliptic.org/nacl/nacl-20110221.tar.bz2>
Connecting to 127.0.0.1:8080... *connected.*
Proxy request sent, awaiting response... *200 OK*

Length: 163415 (160K) [application/x-bzip2]
Saving to: `/tmp/nacl-20110221.tar.bz2'

*100%*[=======================**============================>] 163,415

83.7K/s   in 1.9s

2013-02-26 19:13:29 (83.7 KB/s) - `/tmp/nacl-20110221.tar.bz2' saved
[163415/163415]

Building NaCl for arch amd64 on host mehran2 (grab a coffee, this takes a
while) ...
NaCl lib path /root/nacl/nacl-20110221/**build/mehran2/lib/amd64
NaCl include path /root/nacl/nacl-20110221/**build/mehran2/include/amd64
*Done!*

Building curvetun:
Makefile:229: warning: undefined variable `NACL_INC_DIR'
    CC    xmalloc.c
*gcc: error: curvetun/xmalloc.o: No such file or directory
make: *** [curvetun/xmalloc.o] Error 1*




I really want to use the tunneling feature, so I have no other way around
rather than install curvetun ...


On Tue, Feb 26, 2013 at 2:53 PM, M.Rashid Zamani <
[email protected]**> wrote:

  Yes, I don't know what was wrong with the proxy, so configured my
libproxy
to not use it...turned the proxy off... and now I am in "grabbing a
coffee"
mode  while NaCl does its thing :) hopefully it will go smooth after
this.

Cheers


On Tue, Feb 26, 2013 at 2:47 PM, Daniel Borkmann <[email protected]
wrote:

  On 02/26/2013 11:04 AM, M.Rashid Zamani wrote:

  Yes, you're right, I fixed my problems by following the INSTALL (that's
why
its written in CAPS).


Great.


   However, I cannot overcome this one:

I did the following after installation of all dependencies:

# make mrproper
# cd curvetun/
# ./build_nacl.sh ~/nacl
--2013-02-26 17:55:17--  
http://hyperelliptic.org/nacl/****<http://hyperelliptic.org/nacl/**>
nacl-20110221.tar.bz2<http://**hyperelliptic.org/nacl/nacl-**
20110221.tar.bz2 <http://hyperelliptic.org/nacl/nacl-20110221.tar.bz2>


Connecting to 127.0.0.1:8080... failed: Connection refused.

bzip2: Compressed file ends unexpectedly;
           perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
           Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.


Ohh, wow. Very interesting.

The download actually works on my side. Did you try multiple times and
the same error occured?

I assume you are using a proxy, which is why it tries to connect via
8080
on your localhost.

If *this* was the case, than it looks to me that [assuming on your local
network everything is configured and working properly,] your provider or
proxy could be corrupting the download on purpose.

You now have two options:

    1. Trying to download it from our mirror if you need curvetun:

        
http://pub.netsniff-ng.org/****misc/nacl-20110221.tar.bz2<http://pub.netsniff-ng.org/**misc/nacl-20110221.tar.bz2>
<htt**p://pub.netsniff-ng.org/misc/**nacl-20110221.tar.bz2<http://pub.netsniff-ng.org/misc/nacl-20110221.tar.bz2>



    2. If you don't need curvetun, build the toolkit without it:

        make allbutcurvetun
        make install

       At the point where curvetun is trying to be installed, it will
give
       you an error, but don't worry about that. We should make a ``make
       allbutcurvetun_install''.








--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to