I responded to Jay offline about some of this, but I think it's
valuable to mention some more details publicly. Kakapo, PLA, and
Matrixy are all a little under-loved recently, but I think they should
all be installable (if, you know the incantation). Here are some
steps, I'm doing baby-steps because this might be for a larger
audience:

1) Install Parrot 2.3.0

svn co https://svn.parrot.org/parrot/tags/RELEASE_2_3_0 parrot2.3.0
cd parrot2.3.0
perl Configure.pl && make && sudo make install

2) Install Kakapo

git clone git://gitorious.com:kakapo/kakapo.git kakapo
cd kakapo
parrot-nqp setup.nqp build
sudo parrot-nqp setup.nqp install

3) Get ATLAS

(I only know the incantation for ubuntu)
sudo apt-get install libatlas-base-dev

4) Get PLA

git clone git://github.com:Whiteknight/parrot-linear-algebra.git pla
cd pla
parrot setup.pir build
parrot setup.pir test
parrot setup.pir install

5) Get Matrixy

git clone git://github.com:Whiteknight/matrixy.git matrixy
cd matrixy
parrot-nqp Configure.nqp
make
make test

I just reformatted my computer and have walked through this procedure
end-to-end so I know it works. I'm sure documentation around these
projects leaves something to be desired. I'll see if I can make things
a little more accurate today.

--Andrew Whitworth



On Sat, May 22, 2010 at 9:19 AM, Jay Emerson <[email protected]> wrote:
> I'm trying to hack around and decided to move on from Squaak to
> matrixy, which of course requires PLA.  I'm running the new Parrot
> 2.4.0 in case that matters.  The following is somewhat out of
> sequence, but...
>
> 1.) When trying to build PLA, I got an error about pmc not being
> defined at line 284 of nummatrix2d.pmc; after staring at the code I
> took a chance and changed this to SELF.  This at least got rid of the
> error and PLA built and installed; I did not test (see below -- I did
> try), and this was likely not the right fix, but there it is (I sent
> this offlist to Whiteknight).
>
> 2.) Next, I got matrixy, but there was no setup.pir.  A message on
> github indicated that perhaps setup.pir was needed from a contributor
> (fperadd++?) to plumage (at least, this is my best guess).
>
> 3.) So, I got plumage, doing the following:
>
> j...@jay-beast:~/src/parrot-plumage-parrot-plumage$ parrot-nqp Configure.nqp
> Hello, I'm Configure. My job is to poke and prod
> your system to figure out how to build Plumage.
>
> compiler returned NULL ByteCode './src/lib/Plumage/NQPUtil.pir' - The
> opcode 'substr_s_i_i_s' (substr<4>) was not found. Check the type and
> number of the arguments
> current instr.: 'MAIN' pc 99 (EVAL_1:0)
>
>
> 4.) Finally, I thought I'd get kakopo: although that didn't seem to be
> a requirement for PLA, the README said it was needed for the testing
> (due diligence... I did try).  There were no instructions on building,
> but I went out on a limb:
>
> j...@jay-beast:~/src/kakapo-kakapo$ parrot-nqp setup.nqp
> <SNIP>
> /usr/local/bin/parrot-nqp --target=pir
> --output=src/Cuculinae/SigMatcher.pir  src/Cuculinae/SigMatcher.nqp
> Illegal pod directive at line 25, near ":= Opcode:"
> current instr.: 'parrot;HLL;Grammar;panic' pc 501
> (ext/nqp-rx/src/stage0/HLL-s0.pir:327)
> called from Sub 'parrot;NQP;Grammar;pod_comment' pc 3907
> (ext/nqp-rx/src/stage0/NQP-s0.pir:1192)
> <SNIP>
>
> ----
>
> At this point, I've maxed out my "best guesses", and I didn't see
> anything glaringly suspicious on that line 25.  I tend to think I've
> done something silly and apologize if I missed something obvious that
> was documented.  If more information is needed about my configuration,
> etc... please let me know.  Ubuntu Linux, Parrot 2.4.0 downloaded
> yesterday I think, with these other projects downloaded this AM.
>
> Advice welcome, with many thanks,
>
> Jay
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to