From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from femail27.sdc1.sfba.home.com ([24.254.60.17]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15qXbN-0000za-00 for gentoo-dev@cvs.gentoo.org; Mon, 08 Oct 2001 04:25:38 -0600 Received: from gentoo.org ([24.101.166.196]) by femail27.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20011008102612.TYOE10548.femail27.sdc1.sfba.home.com@gentoo.org> for ; Mon, 8 Oct 2001 03:26:12 -0700 Message-ID: <3BC17ECC.D6D0BDD3@gentoo.org> From: Donny Davies X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: gentoo-dev@cvs.gentoo.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] perl compile stuck on lib/io_sock (was: emerge aborting on linux-headers) Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Mon Oct 8 04:26:01 2001 X-Original-Date: Mon, 08 Oct 2001 06:24:12 -0400 X-Archives-Salt: c07053aa-6028-4f64-affd-26b280b8e4cd X-Archives-Hash: 0caf0539b627272c7dfab4ea1256ddf5 > > Chad Huneycutt wrote: [Sun Oct 07 2001, 06:46:30PM EST] > > > I have the entry > > > 127.0.0.1 localhost localhost.localdomain > > > > > > in my /etc/hosts files, and a 'ping localhost' fails. I am pretty sure > > > that syntax is correct. Anyone see the problem. > > > > Do you have the lo interface up? I think all you need to do is > > > > ifconfig lo up > > maybe your .localdomain is your problem ... do you have a nameserver > for localdomain ?!? and it is not common to define localhost.localdomain. > > cya > > Holger Note, it is *incorrect* to list localhost before localhost.localdomain. The FQDN needs to be first, followed by any aliases you want to use. Ie., this is wrong: 127.0.0.1 localhost localhost.localdomain It must be done thusly: 127.0.0.1 localhost.localdomain localhost Another common mistake is to list your real hostname in the 127.0.0.1 record. Ie, if your hostname is 'pluto', then dont do this!: 127.0.0.1 ..... pluto Theres nothing wrong with defining localhost.localdomain though. In fact its done a lot, mostly out of tradition, to serve as a placeholder. But the order issue is important. Cheers -- Donny