bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Inetutils-1.9.1 building failure.


From: loytsos
Subject: Re: [bug-inetutils] Inetutils-1.9.1 building failure.
Date: Fri, 9 Mar 2012 19:39:32 +0200

I ran once more 'grep IPV6 config.h', in the correct directory this time:

root:/sources/inetutils-1.9.1# grep IPV6 config.h
#define HAVE_IPV6 1
#define HAVE_IPV6_V6ONLY 1
#define IPV6 1
/* Define to IPV6_2292HOPLIMIT if not available */
/* #undef IPV6_HOPLIMIT */
/* Define to IPV6_HOPLIMIT if not available */
/* #undef IPV6_RECVHOPLIMIT */




And 'ifconfig':

address@hidden:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:ec:e5:ac:90
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:216 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:21:5d:9e:7a:7e
          inet addr:192.168.2.5  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1842 errors:0 dropped:0 overruns:0 frame:0
          TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:561642 (548.4 KiB)  TX bytes:58061 (56.7 KiB)

wmaster0  Link encap:UNSPEC  HWaddr
00-21-5D-9E-7A-7E-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)




Also, I would like to mention that 'make' and 'make install' commands
while building the inetutils did not produce any failure messages. The
only problem I faced was while executing 'make check'.


On 09/03/2012, Simon Josefsson <address@hidden> wrote:
> loytsos <address@hidden> writes:
>
>> Slax is a portable Linux operating system I am using in order to build
>> LFS.
>> I entered 'grep IPV6 config.h' and I got 'grep: config.h: No such file
>> or directory'.
>
> You need to run the command in the top-level InetUtils build directory.
>
>> So, you are telling me that if the operating system I am using does
>> not support IPv6, the operating system I am trying to build also will
>> not support it?
>
> When InetUtils fail to detect support for IPv6 in the operating system,
> InetUtils will not build IPv6 tools.  For your system, I suspect it does
> support IPv6 (that is why ping6 was built) but that you haven't
> configured a loopback IPv6 interface, so the ping6 self-test failed.
>
> What does 'ifconfig' on your machine output?
>
> If my theory is correct, we could improve things by having the self-test
> fail a bit more gracefully.  However, we could also just document that
> you need a properly configured system to run the self-tests.
>
> /Simon
>
>> On 09/03/2012, Simon Josefsson <address@hidden> wrote:
>>> loytsos <address@hidden> writes:
>>>
>>>> Hello,
>>>>
>>>> First of all, thank you for the immediate response.
>>>> I am using slax in order to make my build and after searching a bit I
>>>> found out that slax does not support IPv6.
>>>> I assume that this will not affect my build, and IPv6 is going to work.
>>>> Right?
>>>
>>> I don't know what slax is.  InetUtils will enable and use IPv6 if it
>>> detects that it is present on your system.  Use 'grep IPV6 config.h' to
>>> find out if it detected IPv6, the output should contain this:
>>>
>>> #define HAVE_IPV6 1
>>> #define IPV6 1
>>>
>>> The self test requires that the IPv6 loopback interface is available.
>>>
>>> /Simon
>>>
>>>> On 09/03/2012, Simon Josefsson <address@hidden> wrote:
>>>>> loytsos <address@hidden> writes:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I am building LFS 7.1 and I am facing a problem in chapter 6.34.
>>>>>> This is the error I get after testing the compilation results:
>>>>> ...
>>>>>> PING 127.0.0.1 (127.0.0.1): 56 data bytes
>>>>>> 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.048 ms
>>>>>> --- 127.0.0.1 ping statistics ---
>>>>>> 1 packets transmitted, 1 packets received, 0% packet loss
>>>>>> round-trip min/avg/max/stddev = 0.048/0.048/0.048/0.000 ms
>>>>>> Failed at pinging ::1.
>>>>>> FAIL: ping-localhost.sh
>>>>>
>>>>> Hi!  Is IPv6 working?  The self-test tries to ping ::1.  If that
>>>>> doesn't
>>>>> work, for example if you haven't configured the interfaces correctly,
>>>>> the self-test will fail.  The rest of the build should be fine though.
>>>>>
>>>>> Probably the self-check should only test IPv6 if config.h defines
>>>>> IPV6.
>>>>>
>>>>> /Simon
>>>>>
>>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]