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: Simon Josefsson
Subject: Re: [bug-inetutils] Inetutils-1.9.1 building failure.
Date: Fri, 09 Mar 2012 14:40:59 +0100
User-agent: Gnus/5.130003 (Ma Gnus v0.3) Emacs/24.0.94 (gnu/linux)

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]