Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rakudo moar does not compile on Windows using latest git #4357

Open
p6rt opened this issue Jun 28, 2015 · 6 comments
Open

rakudo moar does not compile on Windows using latest git #4357

p6rt opened this issue Jun 28, 2015 · 6 comments
Labels
docs Anything documentation-related

Comments

@p6rt
Copy link

p6rt commented Jun 28, 2015

Migrated from rt.perl.org#125501 (status was 'open')

Searchable as RT125501$

@p6rt
Copy link
Author

p6rt commented Jun 28, 2015

From anteusz@freemail.hu

Hi,,

Using latest git. The rakudo does not compile.

L​:\rakudo>C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
'"L​:\rakudo\install/bin/nqp-m.bat"' is not recognized as an internal or
external command,
operable program or batch file.
M Configure.pl
HEAD is now at a5d6dda... bump moar for nqp​::shell/nqp​::spawn improvements
Building NQP ...
C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
Found L​:\rakudo\install/bin/moar.exe version 2015.06-44-g2c96984, which
is new enough.
Cleaning up ...

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

  C​:\strawberry16_2\perl\bin\perl.exe -MExtUtils​::Command -e
mkpath gen\moar\stage1\gen
  C​:\strawberry16_2\perl\bin\perl.exe tools\build\gen-cat.pl moar
src\how\Archetypes.nqp src\how\RoleToRoleApplier.nqp
src\how\NQPConcreteRoleHOW.nqp src\how\RoleToClassApplier.nqp
src\how\NQPCurr
RoleHOW.nqp src\how\NQPClassHOW.nqp src\how\NQPNativeHOW.nqp
src\how\NQPAttribute.nqp src\how\NQPModuleHOW.nqp src\how\EXPORTHOW.nqp

gen\moar\stage1\nqpmo.nqp
  L​:\rakudo\install\bin\moar --libpath=src\vm\moar\stage0
src\vm\moar\stage0\nqp.moarvm --bootstrap --setting=NULL --no-regex-lib
--target=mbc --output=gen\moar\stage1\nqpmo.moarvm gen\moar\stage1\
NMAKE : fatal error U1077​: 'L​:\rakudo\install\bin\moar.EXE' : return
code '0xc0000005'
Stop.
Command failed (status 512)​: nmake
Command failed (status 512)​: C​:\strawberry16_2\perl\bin\perl.exe
Configure.pl --prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar

Jaffa4

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @coke

Normally when I find an old ticket that says "doesn't build", I'm able to close it out, but not today!

I installed the latest Strawberry Perl 5.24.0.1 (64bit), and used the git bash shell to checkout a copy of rakudo (using the https protocol and setting my http/https proxy env vars).

The configure failed for me in about the same place, because the "install" directory was not created. After manually creating the folder, I reran the original Configure.pl script, which now got to building moar, which then died with​:

"unknown OS 'msys'"

So, two different issues using Strawberry/git bash

I know that jnthn (core developer) works on windows all the time, but uses the MS compiler to build.

On Sun Jun 28 02​:51​:11 2015, equinox wrote​:

Hi,,

Using latest git. The rakudo does not compile.

L​:\rakudo>C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
'"L​:\rakudo\install/bin/nqp-m.bat"' is not recognized as an internal or
external command,
operable program or batch file.
M Configure.pl
HEAD is now at a5d6dda... bump moar for nqp​::shell/nqp​::spawn improvements
Building NQP ...
C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
Found L​:\rakudo\install/bin/moar.exe version 2015.06-44-g2c96984, which
is new enough.
Cleaning up ...

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

     C​:\\strawberry16\_2\\perl\\bin\\perl\.exe \-MExtUtils​::Command \-e 

mkpath gen\moar\stage1\gen
C​:\strawberry16_2\perl\bin\perl.exe tools\build\gen-cat.pl moar
src\how\Archetypes.nqp src\how\RoleToRoleApplier.nqp
src\how\NQPConcreteRoleHOW.nqp src\how\RoleToClassApplier.nqp
src\how\NQPCurr
RoleHOW.nqp src\how\NQPClassHOW.nqp src\how\NQPNativeHOW.nqp
src\how\NQPAttribute.nqp src\how\NQPModuleHOW.nqp src\how\EXPORTHOW.nqp

gen\moar\stage1\nqpmo.nqp
L​:\rakudo\install\bin\moar --libpath=src\vm\moar\stage0
src\vm\moar\stage0\nqp.moarvm --bootstrap --setting=NULL --no-regex-lib
--target=mbc --output=gen\moar\stage1\nqpmo.moarvm gen\moar\stage1\
NMAKE : fatal error U1077​: 'L​:\rakudo\install\bin\moar.EXE' : return
code '0xc0000005'
Stop.
Command failed (status 512)​: nmake
Command failed (status 512)​: C​:\strawberry16_2\perl\bin\perl.exe
Configure.pl --prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar

Jaffa4

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 27, 2016

From @coke

On Wed Jul 27 06​:06​:00 2016, coke wrote​:

Normally when I find an old ticket that says "doesn't build", I'm able
to close it out, but not today!

I installed the latest Strawberry Perl 5.24.0.1 (64bit), and used the
git bash shell to checkout a copy of rakudo (using the https protocol
and setting my http/https proxy env vars).

The configure failed for me in about the same place, because the
"install" directory was not created. After manually creating the
folder, I reran the original Configure.pl script, which now got to
building moar, which then died with​:

"unknown OS 'msys'"

So, two different issues using Strawberry/git bash

I know that jnthn (core developer) works on windows all the time, but
uses the MS compiler to build.

On Sun Jun 28 02​:51​:11 2015, equinox wrote​:

Hi,,

Using latest git. The rakudo does not compile.

L​:\rakudo>C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
'"L​:\rakudo\install/bin/nqp-m.bat"' is not recognized as an internal
or
external command,
operable program or batch file.
M Configure.pl
HEAD is now at a5d6dda... bump moar for nqp​::shell/nqp​::spawn
improvements
Building NQP ...
C​:\strawberry16_2\perl\bin\perl.exe Configure.pl
--prefix=L​:\rakudo\install --backends=moar --make-install
--git-protocol=https --gen-moar
Found L​:\rakudo\install/bin/moar.exe version 2015.06-44-g2c96984,
which
is new enough.
Cleaning up ...

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

C​:\strawberry16_2\perl\bin\perl.exe -MExtUtils​::Command -e
mkpath gen\moar\stage1\gen
C​:\strawberry16_2\perl\bin\perl.exe tools\build\gen-cat.pl moar
src\how\Archetypes.nqp src\how\RoleToRoleApplier.nqp
src\how\NQPConcreteRoleHOW.nqp src\how\RoleToClassApplier.nqp
src\how\NQPCurr
RoleHOW.nqp src\how\NQPClassHOW.nqp src\how\NQPNativeHOW.nqp
src\how\NQPAttribute.nqp src\how\NQPModuleHOW.nqp
src\how\EXPORTHOW.nqp

gen\moar\stage1\nqpmo.nqp
L​:\rakudo\install\bin\moar --libpath=src\vm\moar\stage0
src\vm\moar\stage0\nqp.moarvm --bootstrap --setting=NULL --no-regex-
lib
--target=mbc --output=gen\moar\stage1\nqpmo.moarvm gen\moar\stage1\
NMAKE : fatal error U1077​: 'L​:\rakudo\install\bin\moar.EXE' : return
code '0xc0000005'
Stop.
Command failed (status 512)​: nmake
Command failed (status 512)​: C​:\strawberry16_2\perl\bin\perl.exe
Configure.pl --prefix=L​:\rakudo\install --backends=moar --make-
install
--git-protocol=https --gen-moar

Jaffa4

So, maybe we can close this out with some documentation updates on our recommend toolchain on windows with strawberry on one side, and the MS tools on the other.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 28, 2016

From @stmuk

I used the gcc from Strawberry Perl (SP) successfully to build Rakudo
Star 2016.07 a week or two ago.

I think the first error (equinox) is due to using nmake (Microsoft)
rather the gmake which ships with SP -- you may need to remove nmake
from the PATH.

The second error (Will's) is due to using the bash shell rather than cmd.exe.

S

@p6rt p6rt added the docs Anything documentation-related label Jan 5, 2020
@JJ
Copy link

JJ commented Jan 7, 2020

This one can probably be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Anything documentation-related
Projects
None yet
Development

No branches or pull requests

2 participants