Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Rakudo build problems

by Anonymous Monk
on Aug 09, 2010 at 05:56 UTC ( #853727=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to build rakudo on a linux machine, the machine configuration isn't too great with just 512 MB of RAM and 2 Ghz processor. The problem is the build is simply too slow. And on reaching the following point, the system hangs.

../bin/parrot src/gen/perl6.pbc --target=pir src/gen/core.pm > src/gen/core.pir

I checked the src/gen/core.pm file its basically quite huge with and nearly 6000 lines long. Before this another command is run and core.pm gets generated using a large set of files.

I understand the system configuration isn't too great, but I build a lot of other open source software on it and they work. Please suggest a workaround for this problem, if its because the size of of core.pm then can't each file be processed individually and then aggregated into a pir. Else may be perl6.pbc is unable to handle large files, And thats not in a readable format ,And looks to be generated using another bunch of files. Has any body faced this issue before? What is the solution?

Comment on Rakudo build problems
Re: Rakudo build problems
by moritz (Cardinal) on Aug 09, 2010 at 06:36 UTC
    We are well aware of this issue, and last Tuesday at YAPC::EU pmichaud consented to work on splitting the compilation of the core files.

    Just as a side note, it's not easy as simply compiling each file separately. The "core" is meant to be an outer lexical scope of the user program, so assembling things into an outer scope is non-trivial.

    Perl 6 - links to (nearly) everything that is Perl 6.
Re: Rakudo build problems
by arkturuz (Curate) on Aug 09, 2010 at 10:24 UTC
    I had same problem at home: 512MB RAM, 512MB swap, 3GHz CPU. I left the computer on (it slurped a lot of swap) for a few hours, and the build succeded without problems. I'm happy Rakudo* user now.
      Well thats OK if you want to just compile and use, but if you are exploring the internals the change-build-test cycle takes a lot of time and test of patience.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://853727]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-12-23 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (134 votes), past polls