Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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/ > src/gen/core.pir

I checked the src/gen/ file its basically quite huge with and nearly 6000 lines long. Before this another command is run and 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 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?

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2018-10-15 22:18 GMT
Find Nodes?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...

    Results (82 votes). Check out past polls.