我如何在Cygwin中构建dropbear? (或者我如何将我的OpenSSH密钥转换为dropbear)?

时间:2013-07-26 22:41:03

标签: openssh

我正在尝试在Cygwin中构建dropbear。 我已经下载了焦油并提取了它,但我不确定下一步该做什么,所以会很感激一些帮助。

或者,有什么办法可以将现有的OpenSSH密钥转换为dropbear格式吗?

由于

编辑: 这里有一些额外的信息:

 $ cd dropbear-2013.58
 $ ./configure
    make
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.exe
    checking for suffix of executables... .exe
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether make sets $(MAKE)... yes
    configure: No $CFLAGS set... using "-Os -W -Wall" for GCC
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking build system type... i686-pc-cygwin
    checking host system type... i686-pc-cygwin
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking for install... install
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking whether __UCLIBC__ is declared... no
    checking for crypt in -lcrypt... yes
    checking for deflate in -lz... no
    configure: error: *** zlib missing - install first or check config.log ***

mingw64-i686的-zlib.lst MinGW的-zlib的-devel.lst MinGW的-zlib1.lst zlib0.lst 都已安装,所以我不确定问题出在哪里?

1 个答案:

答案 0 :(得分:0)

您尚未安装zlib-devel。打开设置并搜索zlib-develmingw-zlib-devel仅用于为MinGW编写的代码。