| Author |
Download header files for running unix network programs
|
|
| jeniffer 2006-04-27, 7:56 am |
| I am new to socket programming and I want to download the entire header
file package (unp.h,unpifi.h,net.if_arp.h) used for making unix
network programs in C.Please tell me a good reliable source which has
steps to configure the libraries..Plz help me out
| |
| Nils O. Selåsdal 2006-04-27, 7:56 am |
| On Fri, 21 Apr 2006 02:21:25 -0700, jeniffer wrote:
> I am new to socket programming and I want to download the entire header
> file package (unp.h,unpifi.h,net.if_arp.h) used for making unix
> network programs in C.Please tell me a good reliable source which has
> steps to configure the libraries..Plz help me out
http://www.kohala.com/start/unpv12e.html
| |
| jeniffer 2006-04-27, 7:56 am |
|
Nils O. Sel=E5sdal wrote:
> On Fri, 21 Apr 2006 02:21:25 -0700, jeniffer wrote:
>
>
> http://www.kohala.com/start/unpv12e.html
I downloaded the source and performed steps as given in the readme
file.On running the configure script :-
$ ./configure
: bad interpreter: No such file or directory
]$ sh configure
: command not found
: command not found
: command not found
: command not found
: command not found
'onfigure: line 57: syntax error near unexpected token `do
'onfigure: line 57: `do
--------------------------------
Also i find tht the configure script has several unset variables.Plz
tell me wht to do?
| |
| Nils O. Selåsdal 2006-04-27, 7:56 am |
| jeniffer wrote:
> Nils O. Selåsdal wrote:
>
> I downloaded the source and performed steps as given in the readme
> file.On running the configure script :-
> $ ./configure
> : bad interpreter: No such file or directory
You get this error often because the text file is in
"dos" format. The 'file' command should tell you -
find some tool to convert the file(s)
| |
| Pascal Bourguignon 2006-04-27, 7:56 am |
| "Nils O. Selåsdal" <noselasd@asgaard.homelinux.org> writes:
> jeniffer wrote:
> You get this error often because the text file is in
> "dos" format. The 'file' command should tell you -
> find some tool to convert the file(s)
Converting from MS-DOS newlines to unix newlines can be done with:
tr -d '\015' < file.dos > file.unix
or:
mv file file.dos && tr -d '\015' < file.dos > file && rm file.dos
--
__Pascal Bourguignon__ http://www.informatimago.com/
READ THIS BEFORE OPENING PACKAGE: According to certain suggested
versions of the Grand Unified Theory, the primary particles
constituting this product may decay to nothingness within the next
four hundred million years.
|
|
|
|