4 May 2012 09:12
AW: [openssl.org #2805] uplink-x86_64-pl-script error when running "ms\do_win64a" on windows 7-64bit command line
ITF-EDV Kick Tobias via RT <rt <at> openssl.org>
2012-05-04 07:12:44 GMT
2012-05-04 07:12:44 GMT
Thank you for your quick response.
> how come it's not required in all other perlasm modules?
errors do also occure in other perlasm modules, but i'am running this configure command without asm support
which avoids calling other perlasm modules?
perl Configure debug-VC-WIN64A no-asm --prefix=x64/debug
I have two perl.exe from msys and git in my path. I have already tried it only with strawberry perl, but the
same error occured.
My batch job does the following:
...
perl Configure debug-VC-WIN64A no-asm --prefix=x64/debug
call "C:\Programme\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64
call "ms\do_win64a"
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
...
Sources are always unpacked with "tar zvxf openssl-1.0.1b.tar.gz", no 7-zip was used.
There was also a patch done to mk1mf.pl in line 330
Before
($key,$val)=/^([^=]+)=(.*)/;
I added this one (problem description and workaround found in a forum)
s/\r$//; #remove carriage return too!
Because calling
call "ms\do_win64a"
also produces this error:
D:\Projects\build\src\openssl\_orig_≥perl util\mk1mf.pl dll VC-WIN64A 1>ms\ntdll.mak
no rule for crypto\md4 at util\mk1mf.pl line 967.
This is apparently a known problem on executing on windows platforms?
Regards
-----Ursprüngliche Nachricht-----
Von: Andy Polyakov via RT [mailto:rt <at> openssl.org]
Gesendet: Donnerstag, 3. Mai 2012 18:22
An: ITF-EDV Kick Tobias
Cc: openssl-dev <at> openssl.org
Betreff: Re: [openssl.org #2805] uplink-x86_64-pl-script error when running "ms\do_win64a" on
windows 7-64bit command line
Hi,
> my testing system is:
> Openssl 1.0.1b
> Windows 7 64-bit
> Nmake compiler-environment
>
> I'am trying to build OpenSSL with the following commands as described
> in
> INSTALL.W64
>
> Perl Configure debug-VC-WIN64A --prefix=x64/debug call
> "C:\Programme\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64 call
> "ms\do_win64a"
>
> The last command generates th following error:
>
> perl ms\uplink-x86_64.pl masm 1>ms\uptable.asm Can't open perl script
> "ms../crypto/perlasm/x86_64-xlate.pl": No such file or directory
>
> The problem is the missing "/" in uplink-x86_64.pl in line 5:
> open STDOUT,"| $^X ${dir}../crypto/perlasm/x86_64-xlate.pl $output";
>
> There should be a / before ../crypto
> Then ist does work.
I can't reproduce this, not with ActivePerl. I read "then is does work"
as "following compilation succeeds". But in such case, if the change is required in uplink-x86_64.pl, how
come it's not required in all other perlasm modules? Indeed, the pattern '$0 =~ m/(.*[\/\\])[^\/\\]+$/;
$dir=$1; open STDOUT "| $^X ${dir}../etc"' is found in *all* perlasm modules. Note that regular
expression is composed to leave last delimiting / or \, whichever is current, so that 'ms' shouldn't happen...
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev <at> openssl.org
Automated List Manager majordomo <at> openssl.org
RSS Feed