develooper Front page | perl.perl5.porters | Postings from November 2014

Re: Build failed in Jenkins: perl5-win32 #585

Thread Previous
From:
Karl Williamson
Date:
November 26, 2014 16:00
Subject:
Re: Build failed in Jenkins: perl5-win32 #585
Message ID:
5475F912.5090802@khwilliamson.com
On 11/25/2014 11:25 PM, Tony Cook wrote:
> On Wed, Nov 26, 2014 at 06:01:29AM -0000, Father Chrysostomos wrote:
>>
>> Jenkins wrote:
>>> ../ext/B/t/concise.t                                             (Wstat: 0 Tests: 163 Failed: 1)
>>>    Failed test:  152
>>
>> I can't see how this test could be failing:
>>
>> like($out, qr/\# 4\d\d: \s+ \$l->concise\(\$level\);/,
>>       "src-line rendering works");
>>
>> Nor can I get perl to build on Booking's Windows testing server.  I
>> found nmake and cl at C:\Program Files\Microsoft Visual Studio
>> 10.0\VC\bin, but it is not in the path, and running nmake with the
>> full path does not work because it needs cl in the path.
>>
>> After fifteen years or so, I cannot remember how to set env vars from
>> the command line in Windows.  Could someone enlighten me (or just send
>> me the output from ext/B/t/concise.t)?
>
> Before building perl run:
>
>    "c:\Program Files\Microsoft Visual Studio 10.0\vc\bin\vcvars32.bat"
>
> *including* the quotes.
>
> Clean the build with:
>
>    git clean -dxf
>
> if you need to (you usually need to if you modified headers).
>
> Then:
>
>    cd win32
>    nmake CCTYPE=MSVC100FREE test-prep
>
> or whatever target you want.
>
> Tony
>

You can copy and adapt the .bat file in the khw directory on dromedary's 
win32.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About