tags:

views:

181

answers:

1

I'm trying to build OpenSSH 5.1 on Cygwin. I'm using the following configure command:

./configure --prefix=/usr --sysconfdir=/etc --libexecdir='${sbindir}' \
--localstatedir=/var --datadir='${prefix}/share' --mandir='${datadir}/man' \
--infodir='${datadir}/info'

The configure command runs OK, but when I try to make I get this error:

gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -fno-builtin-memset  -I. -I.. -I. -
..  -DHAVE_CONFIG_H -c bsd-arc4random.c
In file included from ../openbsd-compat/openbsd-compat.h:45,
                 from ../includes.h:169,
                 from bsd-arc4random.c:17:
../openbsd-compat/getrrsetbyname.h:57:26: arpa/nameser.h: No such file or directory
../openbsd-compat/getrrsetbyname.h:59:20: resolv.h: No such file or directory

I'm a bit stuck. Anyone got any ideas.

A: 

Openssh is available in Cygwin. Just use that.

Algorist
Thanks, but I wanted to change something in the source-code. Anyway, I gave up and found another solution, so I really should have removed this question. Sorry for the trouble.
HansA
what is the solution?
Algorist
Darn, I can't remember now. I think I was trying to emulate a bug in another SSH server by changing the source-code in OpenSSH to match the other server's behavior. I think I just took a step back and solved the problem without attempting the emulation.
HansA