Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2011 22:19:08 +0200
From:      Polytropon <freebsd@edvax.de>
To:        ahmad javadi <seyyedahmad.javadi@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: the alternative function for inet_aton
Message-ID:  <20110704221908.0ba6a5e6.freebsd@edvax.de>
In-Reply-To: <CAARzWpV2-cQUAk%2BJPXypZ_0AKc=BTvE1Nzwk8Zs%2BhsQKt6nTbQ@mail.gmail.com>
References:  <CAARzWpWALGht=SCQmoA9=T_bW9Bz0BGOULV8fQ3jfB5AA2C7KA@mail.gmail.com> <20110704203000.c5b9f30f.freebsd@edvax.de> <CAARzWpV2-cQUAk%2BJPXypZ_0AKc=BTvE1Nzwk8Zs%2BhsQKt6nTbQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110704221908.0ba6a5e6.freebsd>