[openssl-users] Unable to run Configure for msys/mingw

Matt Caswell matt at openssl.org
Sun May 29 10:10:29 UTC 2016



On 29/05/16 10:51, 杨岑 wrote:
> 在 2016/5/29 17:44, Matt Caswell 写道:
>>
>>
>> On 29/05/16 06:56, 杨岑 wrote:
>>> I don't quite know what symblinks does, but it did not cause problems.
>>> With version 1.0.2h, I get:
>>>
>>> $ ./configure shared mingw
>>> Configuring for mingw
>>>     no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128
>>> (skip dir)
>>>     no-gmp          [default]  OPENSSL_NO_GMP (skip dir)
>>>     no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
>>>     no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
>>>     no-libunbound   [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
>>>     no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
>>>     no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
>>>     no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
>>>     no-sctp         [default]  OPENSSL_NO_SCTP (skip dir)
>>>     no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE (skip dir)
>>>     no-ssl2         [default]  OPENSSL_NO_SSL2 (skip dir)
>>>     no-store        [experimental] OPENSSL_NO_STORE (skip dir)
>>>     no-unit-test    [default]  OPENSSL_NO_UNIT_TEST (skip dir)
>>>     no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
>>>     no-zlib         [default]
>>>     no-zlib-dynamic [default]
>>> IsMK1MF=0
>>> CC            =gcc
>>> CFLAG         =-D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC
>>> -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN -DWIN32_LEAN_AND_MEAN
>>> -fomit-frame-pointer -O3 -march=i486 -Wall -DOPENSSL_BN_ASM_PART_WORDS
>>> -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
>>> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
>>> -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
>>> EX_LIBS       =-lws2_32 -lgdi32 -lcrypt32
>>> CPUID_OBJ     =x86cpuid.o uplink.o uplink-x86.o
>>> BN_ASM        =bn-586.o co-586.o x86-mont.o x86-gf2m.o
>>> EC_ASM        =
>>> DES_ENC       =des-586.o crypt586.o
>>> AES_ENC       =aes-586.o vpaes-x86.o aesni-x86.o
>>> BF_ENC        =bf-586.o
>>> CAST_ENC      =c_enc.o
>>> RC4_ENC       =rc4-586.o
>>> RC5_ENC       =rc5-586.o
>>> MD5_OBJ_ASM   =md5-586.o
>>> SHA1_OBJ_ASM  =sha1-586.o sha256-586.o sha512-586.o
>>> RMD160_OBJ_ASM=rmd-586.o
>>> CMLL_ENC      =cmll-x86.o
>>> MODES_OBJ     =ghash-x86.o
>>> ENGINES_OBJ   =
>>> PROCESSOR     =
>>> RANLIB        =true
>>> ARFLAGS       =
>>> PERL          =perl
>>> THIRTY_TWO_BIT mode
>>> DES_PTR used
>>> DES_RISC1 used
>>> DES_UNROLL used
>>> BN_LLONG mode
>>> RC4_INDEX mode
>>> RC4_CHUNK is undefined
>>> e_os2.h => include/openssl/e_os2.h
>>> making links in crypto...
>>> make[1]: Entering directory 'C:/Build/openssl-1.0.2h/crypto'
>>> make[1]: *** No rule to make target 'links'.  Stop.
>>> make[1]: Leaving directory 'C:/Build/openssl-1.0.2h/crypto'
>>> Makefile:434: recipe for target 'links' failed
>>> make: *** [links] Error 1
>>>
>>> Note again - the output is copied exactly as is without deliberate
>>> omission or truncation.
>>
>> What does "perl --version" report?
>>
>> Matt
>>
> I use Strawberry Perl:

Please try using msys perl instead. It is recommended to use the perl
that "matches" your environment - so if you use msys to build, then use
msys perl.

Matt


> $ perl -v
> 
> This is perl 5, version 24, subversion 0 (v5.24.0) built for
> MSWin32-x86-multi-thread-64int
> 
> Copyright 1987-2016, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License
> or the
> GNU General Public License, which may be found in the Perl 5 source kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
> 


More information about the openssl-users mailing list