[CentOS] Compiling v6tun from KAME

Rob Townley rob.townley at gmail.com
Thu Sep 4 21:49:46 UTC 2008


On Thu, Sep 4, 2008 at 8:15 AM, Robert Moskowitz <rgm at htt-consult.com>wrote:

> I need vtun working over IPv6.  The version from rpmforge does not seem to
> support IPv6 (binds to 0.0.0.0:5000 if I specify binding to the interface,
> and won't let me put in an IPv6 address for address binding).
>
> So I was pointed to the KAME (which does not provide any FC/RHEL support.
>  The person who sent me there provided a makefile that he said works on
> Linux, but did not work for me:
>
> Makefile from KAME:
>
> install_dir = /usr/local/v6/bin
>
> v6tun: v6tun.o
>        cc -o $@ $>
>
> install: v6tun
>        -rm -f $(install_dir)/v6tun
>        install -c -o root -g wheel -m 04710 v6tun $(install_dir)
>
> clean:
>
>
>        -rm -f *.o v6tun
>
>
> Makefile from contact:
>
> v6tun: v6tun.o
>
>       gcc v6tun.c v6tun.h -o v6tun
>
> install: v6tun
>
>       -rm -f $(install_dir)/v6tun
>
>       install -c -o root -g wheel -m 04710 v6tun $(install_dir)
>
> clean: 6tun: v6tun.o    -rm -f *.o v6tun
>
>       gcc v6tun.c v6tun.h -o v6tun install: v6tun

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Looks like part of the file is repeated.  ^^^^^^ and further down

>
>
>       -rm -f $(install_dir)/v6tun
>
>       install -c -o root -g wheel -m 04710 v6tun $(install_dir) clean:

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
needs a line break

>
>
>       -rm -f *.o v6tun
>
> I changed the install_dir to /usr/local/bin
>
> I had put the makefile, v6tun.c, & v6tun.h in /root/v6tun and as root
> issued make install.  I got the following error:
>
> Makefile:10: *** target pattern contains no '%'. Stop.
>
>
> What is missing to get this compiled?
>
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080904/fc3ccc6c/attachment.html>


More information about the CentOS mailing list