Re: [openssl-dev] Make under windows

2016-05-06 Thread dcruette

Hello

I am not expert of those tool configurations / installations.
Is it possible to update the INSTALL file for windows + mingw ?

Thanks for your help.

Didier

Le 05.05.2016 09:54, Andy Polyakov a écrit :

If you configure for mingw, you need to do so from inside a MSYS/MingW
shell.  If you want to build inside a cmd shell, you have to configure
natively,


In addition a "matching perl" is likely to be required. I mean one can
start MSYS shell and have ActiveState Perl first on the $PATH and that
is not directly supported combination. It might work, but if it 
doesn't,
we don't want to figure out why exactly. So one also better ensures 
that

MSYS shell calls MSYS perl. But one should keep in mind that "matching"
applies to build environment rather than configuration target. For
example one can compile for mingw not only from MSYS shell, but even
from within Cygwin and Linux. Probably most correct definition of
"matching" is "one that matches make utility".

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


Re: [openssl-dev] Make under windows

2016-05-05 Thread Andy Polyakov
> If you configure for mingw, you need to do so from inside a MSYS/MingW
> shell.  If you want to build inside a cmd shell, you have to configure
> natively,

In addition a "matching perl" is likely to be required. I mean one can
start MSYS shell and have ActiveState Perl first on the $PATH and that
is not directly supported combination. It might work, but if it doesn't,
we don't want to figure out why exactly. So one also better ensures that
MSYS shell calls MSYS perl. But one should keep in mind that "matching"
applies to build environment rather than configuration target. For
example one can compile for mingw not only from MSYS shell, but even
from within Cygwin and Linux. Probably most correct definition of
"matching" is "one that matches make utility".

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


Re: [openssl-dev] Make under windows

2016-05-04 Thread Richard Levitte
If you configure for mingw, you need to do so from inside a MSYS/MingW
shell.  If you want to build inside a cmd shell, you have to configure
natively, i.e. for one of the VC-* configuration targets.

Cheers,
Richard

In message <37d47403029a56ad3095af56b7323...@qualitesys.com> on Wed, 04 May 
2016 22:32:38 +0200, dcrue...@qualitesys.com said:

dcruette> Hi
dcruette> 
dcruette> I used to compile and test the daily tarball under jenkins CI
dcruette> successfully, under windows, perl, mingw.
dcruette> I am facing a new issue.
dcruette> The make depend command runs fine.
dcruette> The make command fails, the \ character seams to be removed.
dcruette> 
dcruette> Could you help me ?
dcruette> 
dcruette> Thanks
dcruette> Didier
dcruette> 
dcruette> 
dcruette> 
D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>perl
dcruette> ./Configure mingw
dcruette> 
dcruette> Configuring OpenSSL version 1.1.0-pre6-dev (0x0x1016L)
dcruette> no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
dcruette> no-crypto-mdebug-backtrace [forced] 
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
dcruette> (skip dir)
dcruette> no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 
(skip
dcruette> dir)
dcruette> no-egd  [default]  OPENSSL_NO_EGD (skip dir)
dcruette> no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
dcruette> no-md2  [default]  OPENSSL_NO_MD2 (skip dir)
dcruette> no-rc5  [default]  OPENSSL_NO_RC5 (skip dir)
dcruette> no-sctp [default]  OPENSSL_NO_SCTP (skip dir)
dcruette> no-ssl-trace[default]  OPENSSL_NO_SSL_TRACE (skip dir)
dcruette> no-ssl3 [default]  OPENSSL_NO_SSL3 (skip dir)
dcruette> no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD (skip dir)
dcruette> no-unit-test[default]  OPENSSL_NO_UNIT_TEST (skip dir)
dcruette> no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS (skip 
dir)
dcruette> no-zlib [default]
dcruette> no-zlib-dynamic [default]
dcruette> Configuring for mingw
dcruette> 
dcruette> CC=gcc
dcruette> CFLAG =-DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -m32
dcruette> -Wall -O3 -fomit-frame-pointer -D_MT
dcruette> SHARED_CFLAG  =-D_WINDLL
dcruette> DEFINES =OPENSSL_USE_APPLINK DSO_WIN32 NDEBUG OPENSSL_THREADS
dcruette> OPENSSL_NO_STATIC_ENGINE OPENSSL_PIC OPENSSL_BN_ASM_PART_WORDS
dcruette> OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_GF2m SHA1_ASM
dcruette> SHA256_ASM SHA512_ASM MD5_ASM RMD160_ASM AES_ASM VPAES_ASM
dcruette> WHIRLPOOL_ASM GHASH_ASM ECP_NISTZ256_ASM POLY1305_ASM
dcruette> LFLAG =
dcruette> PLIB_LFLAG=
dcruette> EX_LIBS   =-lws2_32 -lgdi32 -lcrypt32
dcruette> APPS_OBJ  =../ms/applink.o
dcruette> CPUID_OBJ =x86cpuid.o
dcruette> UPLINK_OBJ=../ms/uplink.o uplink-x86.o
dcruette> BN_ASM=bn-586.o co-586.o x86-mont.o x86-gf2m.o
dcruette> EC_ASM=ecp_nistz256.o ecp_nistz256-x86.o
dcruette> DES_ENC   =des-586.o crypt586.o
dcruette> AES_ENC   =aes-586.o vpaes-x86.o aesni-x86.o
dcruette> BF_ENC=bf-586.o
dcruette> CAST_ENC  =c_enc.o
dcruette> RC4_ENC   =rc4-586.o
dcruette> RC5_ENC   =rc5-586.o
dcruette> MD5_OBJ_ASM   =md5-586.o
dcruette> SHA1_OBJ_ASM  =sha1-586.o sha256-586.o sha512-586.o
dcruette> RMD160_OBJ_ASM=rmd-586.o
dcruette> CMLL_ENC  =cmll-x86.o
dcruette> MODES_OBJ =ghash-x86.o
dcruette> PADLOCK_OBJ   =e_padlock-x86.o
dcruette> CHACHA_ENC=chacha-x86.o
dcruette> POLY1305_OBJ  =poly1305-x86.o
dcruette> BLAKE2_OBJ=
dcruette> PROCESSOR =
dcruette> RANLIB=true
dcruette> ARFLAGS   =
dcruette> PERL  =D:\LogicielDeBaseQcr\Perl\bin\perl.exe
dcruette> 
dcruette> THIRTY_TWO_BIT mode
dcruette> BN_LLONG mode
dcruette> 
dcruette> Configured for mingw.
dcruette> 
dcruette> 
dcruette> 
D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>make
dcruette> depend
dcruette> 
dcruette> 
D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>make
dcruette> 
dcruette> CC="gcc" D:\LogicielDeBaseQcr\Perl\bin\perl.exe 
crypto\aes\asm\aes-586.pl coff -DOPENSSL_USE_APPLINK -DDSO_WIN32 -DNDEBUG 
-DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC 
-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 
-DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"\usr\local\ssl\"" 
-DENGINESDIR="\"\usr\local\lib\engines\"" -DL_ENDIAN -DWIN32_LEAN_AND_MEAN 
-DUNICODE -D_UNICODE -m32 -Wall -O3 -fomit-frame-pointer -D_MT  -D_WINDLL  
crypto\aes\aes-586.s
dcruette> /bin/sh: D:LogicielDeBaseQcrPerlbinperl.exe: command not found
dcruette> make: *** [crypto

[openssl-dev] Make under windows

2016-05-04 Thread dcruette

Hi

I used to compile and test the daily tarball under jenkins CI 
successfully, under windows, perl, mingw.

I am facing a new issue.
The make depend command runs fine.
The make command fails, the \ character seams to be removed.

Could you help me ?

Thanks
Didier


D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>perl 
./Configure mingw


Configuring OpenSSL version 1.1.0-pre6-dev (0x0x1016L)
no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG (skip dir)
no-crypto-mdebug-backtrace [forced]   
OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE (skip dir)
no-ec_nistp_64_gcc_128 [default]  OPENSSL_NO_EC_NISTP_64_GCC_128 
(skip dir)

no-egd  [default]  OPENSSL_NO_EGD (skip dir)
no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS (skip dir)
no-md2  [default]  OPENSSL_NO_MD2 (skip dir)
no-rc5  [default]  OPENSSL_NO_RC5 (skip dir)
no-sctp [default]  OPENSSL_NO_SCTP (skip dir)
no-ssl-trace[default]  OPENSSL_NO_SSL_TRACE (skip dir)
no-ssl3 [default]  OPENSSL_NO_SSL3 (skip dir)
no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD (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]
Configuring for mingw

CC=gcc
CFLAG =-DL_ENDIAN -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE 
-m32 -Wall -O3 -fomit-frame-pointer -D_MT

SHARED_CFLAG  =-D_WINDLL
DEFINES   =OPENSSL_USE_APPLINK DSO_WIN32 NDEBUG OPENSSL_THREADS 
OPENSSL_NO_STATIC_ENGINE OPENSSL_PIC OPENSSL_BN_ASM_PART_WORDS 
OPENSSL_IA32_SSE2 OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_GF2m SHA1_ASM 
SHA256_ASM SHA512_ASM MD5_ASM RMD160_ASM AES_ASM VPAES_ASM WHIRLPOOL_ASM 
GHASH_ASM ECP_NISTZ256_ASM POLY1305_ASM

LFLAG =
PLIB_LFLAG=
EX_LIBS   =-lws2_32 -lgdi32 -lcrypt32
APPS_OBJ  =../ms/applink.o
CPUID_OBJ =x86cpuid.o
UPLINK_OBJ=../ms/uplink.o uplink-x86.o
BN_ASM=bn-586.o co-586.o x86-mont.o x86-gf2m.o
EC_ASM=ecp_nistz256.o ecp_nistz256-x86.o
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
PADLOCK_OBJ   =e_padlock-x86.o
CHACHA_ENC=chacha-x86.o
POLY1305_OBJ  =poly1305-x86.o
BLAKE2_OBJ=
PROCESSOR =
RANLIB=true
ARFLAGS   =
PERL  =D:\LogicielDeBaseQcr\Perl\bin\perl.exe

THIRTY_TWO_BIT mode
BN_LLONG mode

Configured for mingw.


D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>make 
depend


D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>make

CC="gcc" D:\LogicielDeBaseQcr\Perl\bin\perl.exe 
crypto\aes\asm\aes-586.pl coff -DOPENSSL_USE_APPLINK -DDSO_WIN32 
-DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC 
-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 
-DECP_NISTZ256_ASM -DPOLY1305_ASM -DOPENSSLDIR="\"\usr\local\ssl\"" 
-DENGINESDIR="\"\usr\local\lib\engines\"" -DL_ENDIAN 
-DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -m32 -Wall -O3 
-fomit-frame-pointer -D_MT  -D_WINDLL  crypto\aes\aes-586.s

/bin/sh: D:LogicielDeBaseQcrPerlbinperl.exe: command not found
make: *** [crypto\aes\aes-586.s] Error 127

D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>make 
test


gcc -DOPENSSL_USE_APPLINK -DDSO_WIN32 -DNDEBUG -DOPENSSL_THREADS 
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -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 -DECP_NISTZ256_ASM 
-DPOLY1305_ASM -DOPENSSLDIR="\"\usr\local\ssl\"" 
-DENGINESDIR="\"\usr\local\lib\engines\"" -DL_ENDIAN 
-DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE -m32 -Wall -O3 
-fomit-frame-pointer -D_MT   -Iinclude -I. -MMD -MF apps\app_rand.d.tmp 
-MT apps\app_rand.o -c -o apps\app_rand.o apps\app_rand.c

gcc.exe: error: appsapp_rand.c: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
make: *** [apps\app_rand.o] Error 1

D:\LogicielDeBaseQcr\Jenkins\jobs\qcr-maven-plugin-testsunitaires-qcr4cpp-openssl-daily-de-base-windows\workspace\openssl-SNAP-20160504>exit 
2
Build step 'Exécuter une ligne de commande batch Windows' marked build 
as failure

--
openssl-dev ma