Re: Build problems on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/01/17 18:34, jeff saremi wrote:
> D:\repos\openssl2\openssl-1.1.0c>perl -v
> 
> This is perl 5, version 22, subversion 1 (v5.22.1) built for
> x86_64-msys-thread-multi
> Copyright 1987-2015, Larry Wall

You are using msys perl but doing a VC build.

See this extract from NOTES.PERL in the distribution:

 Notes on Perl on Windows
 ------------------------

 There are a number of build targets that can be viewed as "Windows".
 Indeed, there are VC-* configs targeting VisualStudio C, as well as
 MinGW and Cygwin. The key recommendation is to use "matching" Perl,
 one that matches build environment. For example, if you will build
 on Cygwin be sure to use the Cygwin package manager to install Perl.
 For MSYS builds use the MSYS provided Perl. For VC-* builds we
 recommend ActiveState Perl, available from
 http://www.activestate.com/ActivePerl.


Matt


> 
> 
> 
> ------------------------------------------------------------------------
> *From:* openssl-users <openssl-users-bounces@xxxxxxxxxxx> on behalf of
> Jakob Bohm <jb-openssl@xxxxxxxxxx>
> *Sent:* Monday, January 9, 2017 9:46 PM
> *To:* openssl-users@xxxxxxxxxxx
> *Subject:* Re:  Build problems on Windows
>  
> On 10/01/2017 05:04, jeff saremi wrote:
>>
>> Hello
>>
>> I downloaded openssl-1.1.0c and i'm trying to build this on Windows 10 
>> using Visual Studio 2015. I'm following the INSTALL and NOTES.WIN 
>> instructions however I get stopped rather quickly with file not found 
>> issues..
>>
>> I have also installed nasm. The build fails for 32 or 64 with slightly 
>> different paths in the error. Here's the sequence of commands:
>> 1.perl Configure VC-WIN32
>> 2.nmake
>>
>>
>> output:
>>
>> D:\repos\openssl-1.1.0c>perl Configure VC-WIN64A
>> Configuring OpenSSL version 1.1.0c (0x1010003fL)
>>     no-asan         [default]  OPENSSL_NO_ASAN
>>     no-crypto-mdebug [default]  OPENSSL_NO_CRYPTO_MDEBUG
>>     no-crypto-mdebug-backtrace [default] 
>> OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
>>     no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
>>     no-egd          [default]  OPENSSL_NO_EGD
>>     no-fuzz-afl     [default]  OPENSSL_NO_FUZZ_AFL
>>     no-fuzz-libfuzzer [default]  OPENSSL_NO_FUZZ_LIBFUZZER
>>     no-heartbeats   [default]  OPENSSL_NO_HEARTBEATS
>>     no-md2          [default]  OPENSSL_NO_MD2 (skip dir)
>>     no-msan         [default]  OPENSSL_NO_MSAN
>>     no-rc5          [default]  OPENSSL_NO_RC5 (skip dir)
>>     no-sctp         [default]  OPENSSL_NO_SCTP
>>     no-ssl-trace    [default]  OPENSSL_NO_SSL_TRACE
>>     no-ssl3         [default]  OPENSSL_NO_SSL3
>>     no-ssl3-method  [default]  OPENSSL_NO_SSL3_METHOD
>>     no-ubsan        [default]  OPENSSL_NO_UBSAN
>>     no-unit-test    [default]  OPENSSL_NO_UNIT_TEST
>>     no-weak-ssl-ciphers [default]  OPENSSL_NO_WEAK_SSL_CIPHERS
>>     no-zlib         [default]
>>     no-zlib-dynamic [default]
>> Configuring for VC-WIN64A
>> CC            =cl
>> CFLAG         =-W3 -wd4090 -Gs0 -GF -Gy -nologo -DOPENSSL_SYS_WIN32 
>> -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE -DUNICODE 
>> -D_UNICODE /MD /O2
>> SHARED_CFLAG  =
>> DEFINES       =OPENSSL_USE_APPLINK DSO_WIN32 NDEBUG OPENSSL_THREADS 
>> OPENSSL_NO_STATIC_ENGINE OPENSSL_PIC OPENSSL_IA32_SSE2 
>> OPENSSL_BN_ASM_MONT OPENSSL_BN_ASM_MONT5 OPENSSL_BN_ASM_GF2m SHA1_ASM 
>> SHA256_ASM SHA512_ASM RC4_ASM MD5_ASM AES_ASM VPAES_ASM BSAES_ASM 
>> GHASH_ASM ECP_NISTZ256_ASM POLY1305_ASM
>> LFLAG         =/nologo /debug
>> PLIB_LFLAG    =
>> EX_LIBS       =ws2_32.lib gdi32.lib advapi32.lib crypt32.lib user32.lib
>> APPS_OBJ      =win32_init.o ../ms/applink.o
>> CPUID_OBJ     =x86_64cpuid.o
>> UPLINK_OBJ    =../ms/uplink.o uplink-x86_64.o
>> BN_ASM        =bn_asm.o x86_64-mont.o x86_64-mont5.o x86_64-gf2m.o 
>> rsaz_exp.o rsaz-x86_64.o rsaz-avx2.o
>> EC_ASM        =ecp_nistz256.o ecp_nistz256-x86_64.o
>> DES_ENC       =des_enc.o fcrypt_b.o
>> AES_ENC       =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o 
>> aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha256-x86_64.o aesni-mb-x86_64.o
>> BF_ENC        =bf_enc.o
>> CAST_ENC      =c_enc.o
>> RC4_ENC       =rc4-x86_64.o rc4-md5-x86_64.o
>> RC5_ENC       =rc5_enc.o
>> MD5_OBJ_ASM   =md5-x86_64.o
>> SHA1_OBJ_ASM  =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o 
>> sha1-mb-x86_64.o sha256-mb-x86_64.o
>> RMD160_OBJ_ASM=
>> CMLL_ENC      =cmll-x86_64.o cmll_misc.o
>> MODES_OBJ     =ghash-x86_64.o aesni-gcm-x86_64.o
>> PADLOCK_OBJ   =e_padlock-x86_64.o
>> CHACHA_ENC    =chacha-x86_64.o
>> POLY1305_OBJ  =poly1305-x86_64.o
>> BLAKE2_OBJ    =
>> PROCESSOR     =
>> RANLIB        =true
>> ARFLAGS       =/nologo
>> PERL          =perl
>>
>> SIXTY_FOUR_BIT mode
>>
>> Configured for VC-WIN64A.
>>
>> D:\repos\openssl-1.1.0c>nmake
>>
>> Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>>         "perl" "-I." -Mconfigdata "util/dofile.pl" "-omakefile" 
>> "crypto/include/internal/bn_conf.h.in" > crypto/include/internal/bn_conf.h
>>         "perl" "-I." -Mconfigdata "util/dofile.pl" "-omakefile" 
>> "crypto/include/internal/dso_conf.h.in" > 
>> crypto/include/internal/dso_conf.h
>>         "perl" "-I." -Mconfigdata "util/dofile.pl" "-omakefile" 
>> "include/openssl/opensslconf.h.in" > include/openssl/opensslconf.h
>>         set ASM=nasm
>>         "perl" "crypto/aes/asm/aes-x86_64.pl" "auto" 
>> crypto/aes/aes-x86_64.asm
>>
>>         nasm -f win64 -DNEAR -Ox -g -ocrypto/aes/aes-x86_64.obj 
>> "crypto/aes/aes-x86_64.asm"
>> nasm: fatal: unable to open input file `crypto/aes/aes-x86_64.asm'
>> NMAKE : fatal error U1077: 'C:\nasm-2.12.02\nasm.EXE' : return code '0x1'
>> Stop.
>>
>>
> Check your perl version, with the command perl -V
> 
> 
> Enjoy
> 
> Jakob
> -- 
> Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
> <https://www.wisemo.com/>
> 	
> WiseMo A/S · Remote desktop control of Smartphones ...
> <https://www.wisemo.com/>
> www.wisemo.com
> WiseMo provides remote desktop access from anywhere. Secure, fast and
> stable remote control software for Tablet, Smartphone and PC
> 
> 
> Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
> This public discussion message is non-binding and may contain errors.
> WiseMo - Remote Service Management for PCs, Phones and Embedded
> 
> -- 
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
> openssl-users Info Page
> <https://mta.openssl.org/mailman/listinfo/openssl-users>
> mta.openssl.org
> This mailing list is for discussion among those using the OpenSSL
> software. To see the collection of prior postings to the list, visit the
> openssl-users Archives
> 
> 
> 
> 
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux