[MIP6D-NG Support] mip6d-ng installation

Attila Brájer attila.brajer at yahoo.com
Mon Dec 2 12:03:11 CET 2013


Hy,

(Please keep the track on mailing list too)

Ok, i see now. When I got the source code, earlier kernel version and patches were available. Currently I'm using Ubuntu 12.04 LTS with 3.4.2 kernel (of course self compiled version with mobility options).

For your question, the simplest (and slowest) workaround is that you can modifiy the source files with your hand. Just open the patch files and copy the modifications/additions to the destinations...

BR,
Attila
 



On Sunday, December 1, 2013 9:53 PM, Gábor Hegedüs <hgabor1989 at gmail.com> wrote:
 
Hi Attila!

I would like to set up a basic MIPv6 testbed.
So I started to install mip6d-ng.
I am working on this step:

"build-essential automake autoconf libtool
iptables-dev iproute-dev libnfnetlink-dev libconfuse-dev

To successfully build mip6d-ng you may need to apply
the patches in the patches/directory."

I would like to apply iproute2 and kernel patches and I follow
the README next to the patch files. It is include git clone, git tag.
But now git clone works with https://.

The patch commans give a strange output:
#patch -p1 -d iproute2 -i /home/mipv6/Downloads/mip6dng/patches/iproute2/3.8/*

patching file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch
Hunk #1 FAILED at 116.
1 out of 1 hunk FAILED -- saving rejects to file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch.rej
patching file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch
Hunk #1 FAILED at 94.
1 out of 1 hunk FAILED -- saving rejects to file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch.rej
patching file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch
Hunk #1 FAILED at 73.
Hunk #2 FAILED at 487.
2 out of 2 hunks FAILED -- saving rejects to file /home/mipv6/Downloads/wakoond-mip6d-ng-e1627981bdcf/patches/iproute2/3.8/Ubuntu.patch.rej

What could be the problem?

Thanks,
 Gábor



2013/12/1 Attila Brájer <attila.brajer at yahoo.com>

Hy,
>
>
>First of all, what kind of patches would you like to apply? I'm not sure that any git functions have relation to patching. What is the workflow you're working on it now?
>
>
>BR,
>Attila
>
>
>
>On Sunday, December 1, 2013 7:14 PM, Gábor Hegedüs <hgabor1989 at gmail.com> wrote:
> 
>Hello!
>
>I am tryint to apply the patches but the 'git clone ...' is not working.
>It stucks in 'Cloning into' state.
>What can be the solution?
>
>
>Thanks,
> Gábor
>
>
>
>2013/12/1 Gábor Hegedüs <hgabor1989 at gmail.com>
>
>Hello Attila!
>>
>>
>>Yes, I installed them. I use 3.8.2 kernel.
>>I am trying to apply the patches now.
>>It could be the problem, isn't it?
>>
>>
>>Thanks,
>> Gábor
>>
>>
>>
>>
>>
>>
>>
>>2013/12/1 Attila Brájer <attila.brajer at yahoo.com>
>>
>>Have you installed the prerequisites, listed on mip6d-ng HOWTO page? Especially the "automake", "autoconf" packages in the case of your error.
>>>
>>>
>>>All are simple apt-get commands:
>>>
>>>
>>>You may require the following packets for compiling mip6d-ng:
>>>
>>>build-essential automake autoconf libtool
>>>iptables-dev iproute-dev libnfnetlink-dev libconfuse-dev libltdl-dev
>>>
>>>
>>>BR,
>>>Attila
>>>
>>>
>>>
>>>
>>>
>>>On Sunday, December 1, 2013 4:05 PM, Gábor Hegedüs <hgabor1989 at gmail.com> wrote:
>>> 
>>>I solved! Sorry it was a stupid question.
>>>
>>>When I run make i get this output:
>>>/bin/bash ./config.status --recheck
>>>running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-ltdl-install --no-create --no-recursion
>>>checking for gcc... gcc
>>>checking whether the C compiler works... yes
>>>checking for C compiler default output file name... a.out
>>>checking for suffix of executables... 
>>>checking whether we are cross compiling... no
>>>checking for suffix of object files... o
>>>checking whether we are using the GNU C compiler... yes
>>>checking whether gcc accepts -g... yes
>>>checking for gcc option to accept ISO C89... none needed
>>>checking how to run the C preprocessor... gcc -E
>>>checking for grep that handles long lines and -e... /bin/grep
>>>checking for egrep... /bin/grep -E
>>>checking for ANSI C header files... yes
>>>checking for sys/types.h... yes
>>>checking for sys/stat.h... yes
>>>checking for stdlib.h... yes
>>>checking for string.h... yes
>>>checking for memory.h... yes
>>>checking for strings.h... yes
>>>checking for inttypes.h... yes
>>>checking for stdint.h... yes
>>>checking for unistd.h... yes
>>>checking minix/config.h usability... no
>>>checking minix/config.h presence... no
>>>checking for minix/config.h... no
>>>checking whether it is safe to define __EXTENSIONS__... yes
>>>./configure: line 3656: AM_INIT_AUTOMAKE: command not found
>>>./configure: line 3657: syntax error near unexpected token `2.2'
>>>./configure: line 3657: `LT_PREREQ(2.2)'
>>>make: *** [config.status] Error 2
>>>
>>>
>>>I have problems in the configure file.
>>>
>>>I installed all packages and load all modules.
>>>What could be the problem?
>>>
>>>
>>>Thanks,
>>> Gábor
>>>
>>>
>>>
>>>
>>>
>>>
>>>2013/12/1 Gábor Hegedüs <hgabor1989 at gmail.com>
>>>
>>>Oh, and the question: How could I install it?
>>>>I updated the repository. (apt-get update)
>>>>
>>>>
>>>>Thanks,
>>>> Gábor
>>>>
>>>>
>>>>
>>>>2013/12/1 Gábor Hegedüs <hgabor1989 at gmail.com>
>>>>
>>>>Hello!
>>>>>
>>>>>
>>>>>I started the installation but I can't install the iproute-dev packet.(Unable to locate package iproute-dev)
>>>>>The iproute and iproute2 are installed.
>>>>>
>>>>>
>>>>>Thanks,
>>>>> Gábor
>>>>>
>>>>>
>>>>>
>>>>>2013/11/30 Attila Brájer <attila.brajer at yahoo.com>
>>>>>
>>>>>Hy,
>>>>>>
>>>>>>
>>>>>>Installing and testing mip6d-ng is quite simple, try to follow those few steps that placed on mip6d-ng.net (http://www.mip6d-ng.net/documentation/howto/). Also a few README inside the source code can be useful too.
>>>>>>I'm using 3.4.2 kernel, 3.8.2 should be fine also, but it's just a guess.
>>>>>>
>>>>>>
>>>>>>BR,
>>>>>>Attila
>>>>>>
>>>>>>
>>>>>>
>>>>>>On Saturday, November 30, 2013 4:03 PM, Gábor Hegedüs <hgabor1989 at gmail.com> wrote:
>>>>>> 
>>>>>>Dear All!
>>>>>>
>>>>>>
>>>>>>I am a linux beginner. I get the program and I would like to
>>>>>>use and test it as soon as possible.
>>>>>>Can anybody help me to insall it on Ubuntu?
>>>>>>Whar are the steps to be followed?
>>>>>>
>>>>>>I have installed UMIP before so I have a 3.8.2 mobility-ready
>>>>>>kernel. Is mip6d-ng work with this kernel.
>>>>>>
>>>>>>
>>>>>>Thanks,
>>>>>> Gábor
>>>>>>
>>>>>>
>>>>>>
_______________________________________________
>>>>>>Support mailing list
>>>>>>Support at mip6d-ng.net
>>>>>>http://mcl.hu/mailman/listinfo/support
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Support mailing list
>>>>>>Support at mip6d-ng.net
>>>>>>http://mcl.hu/mailman/listinfo/support
>>>>>>
>>>>>
>>>>
>>>
>>>
>>>_______________________________________________
>>>Support mailing list
>>>Support at mip6d-ng.net
>>>http://mcl.hu/mailman/listinfo/support
>>>
>>>
>>
>
>
>
>_______________________________________________
>Support mailing list
>Support at mip6d-ng.net
>http://mcl.hu/mailman/listinfo/support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mcl.hu/pipermail/support/attachments/20131202/25fcd65a/attachment-0001.html>


More information about the Support mailing list