Unable to run Configure for msys/mingw

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to run Configure for msys/mingw

杨春雷
I had been always successful with Configure for last several releases. But with 1.0.2h, I am not able to run Configure correctly. Note that I am on Windows msys.

Here is what I get :

$ ./configure no-symlinks 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-symlinks     [option]
    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


Configured for mingw.


*** Because of configuration changes, you MUST do the following before
*** building:


        make depend

The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.

I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

Matt Caswell-2


On 28/05/16 05:13, 杨春雷 wrote:

> DES_UNROLL used
> BN_LLONG mode
> RC4_INDEX mode
> RC4_CHUNK is undefined
>
>
> Configured for mingw.
>
>
> *** Because of configuration changes, you MUST do the following before
> *** building:
>
>
>         make depend
>
> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>
> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>

This looks like normal output to me (what makes you think it isn't?).

Just run "make depend" and "make" as normal.

Matt
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
No, it's not normal.

I copied the exact output, no truncation. There should be a huge amount
of lines before "Configured for mingw".

在 2016/5/28 16:51, Matt Caswell 写道:

>
>
> On 28/05/16 05:13, 杨春雷 wrote:
>> DES_UNROLL used
>> BN_LLONG mode
>> RC4_INDEX mode
>> RC4_CHUNK is undefined
>>
>>
>> Configured for mingw.
>>
>>
>> *** Because of configuration changes, you MUST do the following before
>> *** building:
>>
>>
>>         make depend
>>
>> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>>
>> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>>
>
> This looks like normal output to me (what makes you think it isn't?).
>
> Just run "make depend" and "make" as normal.
>
> Matt
>

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

J. J. Farrell-2
What do you expect that huge amount of lines to say?

In what ways did the subsequent make depend, build, and test stages fail?

On 28/05/2016 10:45, 杨岑 wrote:
No, it's not normal.

I copied the exact output, no truncation. There should be a huge amount
of lines before "Configured for mingw".

在 2016/5/28 16:51, Matt Caswell 写道:

On 28/05/16 05:13, 杨春雷 wrote:
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined


Configured for mingw.


*** Because of configuration changes, you MUST do the following before
*** building:


        make depend

The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.

I'm not a familiar with Shell script so I am not able to locate the bug. Need help.

This looks like normal output to me (what makes you think it isn't?).

Just run "make depend" and "make" as normal.

Matt

-- 
J. J. Farrell
Not speaking for Oracle

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

Matt Caswell-2
In reply to this post by 杨春雷


On 28/05/16 10:45, 杨岑 wrote:
> No, it's not normal.
>
> I copied the exact output, no truncation. There should be a huge amount
> of lines before "Configured for mingw".

Well, you explicitly suppressed the symlink creation (using no-symlinks)
which does normally generate a lot of output during Configure. That
option should generally not be used unless you know what it does. If the
symlinks are already present that you can get away with using the option
and you will get the shorter Configure output that you are seeing.

Matt


>
> 在 2016/5/28 16:51, Matt Caswell 写道:
>>
>>
>> On 28/05/16 05:13, 杨春雷 wrote:
>>> DES_UNROLL used
>>> BN_LLONG mode
>>> RC4_INDEX mode
>>> RC4_CHUNK is undefined
>>>
>>>
>>> Configured for mingw.
>>>
>>>
>>> *** Because of configuration changes, you MUST do the following before
>>> *** building:
>>>
>>>
>>>         make depend
>>>
>>> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>>>
>>> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>>>
>>
>> This looks like normal output to me (what makes you think it isn't?).
>>
>> Just run "make depend" and "make" as normal.
>>
>> Matt
>>
>
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
In reply to this post by J. J. Farrell-2
Please note I'm on msys/Windows. Under Linux, the configure script runs
correctly without any problems. If you have doubt I strongly recommend
you try this yourself using msys.

If everything is normal, the output is too short. It should contain many
many lines configure tests like what I got in Linux and msys and earlier
versions of openssl.

Output of make:
$ make
making all in crypto...
make[1]: Entering directory 'C:/Build/openssl-1.0.2h/crypto'
make[1]: *** No rule to make target 'all'.  Stop.
make[1]: Leaving directory 'C:/Build/openssl-1.0.2h/crypto'
Makefile:284: recipe for target 'build_crypto' failed
make: *** [build_crypto] Error 1

So I guess the generated makefile is not complete.

在 2016/5/29 0:22, Jeremy Farrell 写道:

> What do you expect that huge amount of lines to say?
>
> In what ways did the subsequent make depend, build, and test stages fail?
>
> On 28/05/2016 10:45, 杨岑 wrote:
>> No, it's not normal.
>>
>> I copied the exact output, no truncation. There should be a huge amount
>> of lines before "Configured for mingw".
>>
>> 在 2016/5/28 16:51, Matt Caswell 写道:
>>>
>>> On 28/05/16 05:13, 杨春雷 wrote:
>>>> DES_UNROLL used
>>>> BN_LLONG mode
>>>> RC4_INDEX mode
>>>> RC4_CHUNK is undefined
>>>>
>>>>
>>>> Configured for mingw.
>>>>
>>>>
>>>> *** Because of configuration changes, you MUST do the following before
>>>> *** building:
>>>>
>>>>
>>>>         make depend
>>>>
>>>> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>>>>
>>>> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>>>>
>>> This looks like normal output to me (what makes you think it isn't?).
>>>
>>> Just run "make depend" and "make" as normal.
>>>
>>> Matt
>
> --
> J. J. Farrell
> Not speaking for Oracle
>
>
>

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
In reply to this post by Matt Caswell-2
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.

在 2016/5/29 2:17, Matt Caswell 写道:

>
>
> On 28/05/16 10:45, 杨岑 wrote:
>> No, it's not normal.
>>
>> I copied the exact output, no truncation. There should be a huge amount
>> of lines before "Configured for mingw".
>
> Well, you explicitly suppressed the symlink creation (using no-symlinks)
> which does normally generate a lot of output during Configure. That
> option should generally not be used unless you know what it does. If the
> symlinks are already present that you can get away with using the option
> and you will get the shorter Configure output that you are seeing.
>
> Matt
>
>
>>
>> 在 2016/5/28 16:51, Matt Caswell 写道:
>>>
>>>
>>> On 28/05/16 05:13, 杨春雷 wrote:
>>>> DES_UNROLL used
>>>> BN_LLONG mode
>>>> RC4_INDEX mode
>>>> RC4_CHUNK is undefined
>>>>
>>>>
>>>> Configured for mingw.
>>>>
>>>>
>>>> *** Because of configuration changes, you MUST do the following before
>>>> *** building:
>>>>
>>>>
>>>>         make depend
>>>>
>>>> The configure script abruptly stops at "RC4_CHUNK is undefined", and no other error messages are given.
>>>>
>>>> I'm not a familiar with Shell script so I am not able to locate the bug. Need help.
>>>>
>>>
>>> This looks like normal output to me (what makes you think it isn't?).
>>>
>>> Just run "make depend" and "make" as normal.
>>>
>>> Matt
>>>
>>

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

Matt Caswell-2


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

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
在 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:
$ 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.

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

Matt Caswell-2


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.
>
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷


在 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.

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.

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

Matt Caswell-2


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



--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
在 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.

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to run Configure for msys/mingw

杨春雷
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.
>

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users