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

杨岑 ssawgift at 163.com
Sun May 29 11:42:01 UTC 2016


I get it compiled using msys2. It seems I should retire the old msys.

在 2016/5/29 19:13, 杨岑 写道:
> 在 2016/5/29 18:55, Matt Caswell 写道:
>>
>>
>> On 29/05/16 11:39, 杨岑 wrote:
>>>
>>>
>>> 在 2016/5/29 18:10, Matt Caswell 写道:
>>>>
>>>>
>>>> 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
>>>>
>>> No, msys does not provide perl itself. I have been using Strawberry Perl
>>> for years and had been successfuly building openssl for last several
>>> releases. I think the new release changed configure script in a way that
>>> breaks in msys. I want add again that the script works under Linux.
>>>
>>
>> Yes it does. Here is my version:
>>
>> $ perl --version
>>
>> This is perl 5, version 22, subversion 1 (v5.22.1) built for
>> x86_64-msys-thread-multi
>>
>> Copyright 1987-2015, 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.
>>
>>
>> $ which perl
>> /usr/bin/perl
>>
>> As you can see this is the msys version: "x86_64-msys-thread-multi"
>>
>>> BTW, are you a developer of openssl? If yes, I think you should try this
>>> yourself. I'm basically a Windows developer, I know little about Shell
>>> script; otherwise I will locate the bug myself.
>>>
>>
>> Yes I am and I have tried it. It works perfectly for me. Please try
>> installing msys perl (I don't use msys a lot but I think the command is
>> "pacman -S perl")
>>
>> Matt
>>
>>
>>
> Ah, I'm using the old classic msys:
> $ uname -a
> MINGW32_NT-6.1 VM-WIN7 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 Msys
> 
> But I also have msys2 installed, I will have a try.
> Thanks for your conformation.
> 



More information about the openssl-users mailing list