From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 20:19:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DF6A106564A for ; Mon, 4 Jul 2011 20:19:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F1A748FC0C for ; Mon, 4 Jul 2011 20:19:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id BD0E13CE8B; Mon, 4 Jul 2011 22:19:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p64KJ8WH006954; Mon, 4 Jul 2011 22:19:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Jul 2011 22:19:08 +0200 From: Polytropon To: ahmad javadi Message-Id: <20110704221908.0ba6a5e6.freebsd@edvax.de> In-Reply-To: References: <20110704203000.c5b9f30f.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: the alternative function for inet_aton X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 20:19:11 -0000 On Mon, 4 Jul 2011 23:57:34 +0430, ahmad javadi wrote: > the /usr/include/arpa is exit but i dont know how install it . > so how can i install this header file? If /usr/include/arpa exists and contains the following files, everything is okay (7-STABLE here, may have different content on 8): % ls /usr/include/arpa ftp.h nameser.h telnet.h inet.h nameser_compat.h tftp.h There is no need to install something. Just make sure you don't override cc's -I parameter (in cc call or Makefile). If you need to install the files - i. e. they are NOT present in /usr/include/arpa, get the sources matching your OS version (from the DVD, per FTP or via CVS - consult the FreeBSD Handbook for the respective procedures, e. g. installing the "src-all" install set from the CD if you're using RELEASE). Then do: # cd /usr/src/include/arpa # make install I've _not_ tested that, but it should install the files mentioned above to the correct location. Okay, basically you could simply cope the files if it fails... :-) PS. I've re-included the list, hope that's okay. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...