Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
chromatic, thank you for the guidance. Is this process expected to work on Windows XP? I know, I could have tried it myself.

However, being a Windows programmer, I thought that this was as good an occasion as any for me to venture into the Linux world and try perl6 there.

It worked as advertized!

Here are details (yes, brethern in Windows, it was easy):

* downloaded the Ubuntu 7.10 iso image file, made the CD and installed it on an otherwise unused laptop

* downloaded the parrot tarball and extracted it

* ran

$ perl
but this failed with
Determining what C compiler and linker to use...Compilation failed with 'cc'

* googled, and followed advice found on some forum, to

sudo apt-get install build-essential

* re-ran

$ perl
: success

* followed the remaining parrot and perl6 build steps

* sanity test succeeded

And at last, ran my first script

# myfirst.p6 by rudif 6 Jan 2008 say "Hello world from perl6"
rudi@rudi-laptop:~/parrot/parrot$ ./languages/perl6/perl6 myfirst.p6 Hello world from perl6


OK, I tried the build process on WinXP + VC8, 32 bit machine, and I got stuck.

First, I had trouble with the old nmake 1.5 which was serving me the error

 NMAKE Fatal Error U1095
 expanded command line 'commandline' too long 
After some googling I found the solution - use the nmake 8 which comes with VC8

Now the first nmake step worked

The second nmake step

 $ nmake -C languages\perl6\
was failing, but it worked when I did
 cd languages\perl6\
For now I am stuck on the third step,
 nmake pbc_to_exe 
- nmake does not know how to make pbc_to_exe.

It is getting late over here, I will need to dig into it tomorrow.

Update #2


I compared the parrot\makefile generated on Linux with the one on Windows. Well, the Windows makefile does not contain build targets pbc_to_exe and perl6, so that explains my failure to build pbc_to_exe on Windows.

It looks like the feverish activity of parrot porters just before the end of 2007 was limited to the Linux build of perl6, as I guessed, correctly, it turns out.


In reply to Re: Want a perl6 Binary? by Rudif
in thread Want a perl6 Binary? by chromatic

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (5)
    As of 2018-03-23 23:13 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (297 votes). Check out past polls.