The attached git patch updates Rakudo's Configure.pl and Makefile.in to
configure and build on an installed Parrot. It also adds two makefile
templates for building Rakudo's dynops and dynpmcs. Notes:
- This patch will only work for Parrot r36904 or later. (Parrot needed
changes to the install process and tools libraries to allow running a
language build from an installed Parrot. Also added a script for full
makefile template processing, including conditional lines #IF, #ELSIF,
#ELSE, #UNLESS.)
- It requires a 'dynext/' directory in the Rakudo build directory.
('dynext/', 'library/', and 'includes/' are the standard Parrot search
paths, and will work in the language build directory or installed in
'languages/langname/' or '/install/path/languages/langname/')
- The change *only* uses an installed Parrot (no longer uses Parrot
build directory paths), but it can be installed anywhere (even within
the Rakudo build directory, if desired).
- There's still a problem with the installed test libraries. I'll look
into it and provide an additional patch.
Allison

Attached an updated patch. pmichaud has stated that he will not accept
multiple make files, which this contains. He's planning on updating the
makefiles himself. In the meantime, this patch is something which
works, but which I will update when pmichaud has updated the makefile.

pmichaud has done some work on getting this all to work with a single
makefile. He's done it in this branch:
http://github.com/rakudo/rakudo/tree/ins
Last thing I heard, he implied that it works for him, but needs some
testing, especially on win32. I don't have a win32 box, so if someone
with a win32 box could help with this, that would be great!

Ok, I've gotten a diff of pmichaud's changes on the ins branch, and
attached it to this comment. I have no idea why he got rid of the EXE
variable, though; that's probably guaranteed to make it fail on win32.

> Ok, I've gotten a diff of pmichaud's changes on the ins branch, and
> attached it to this comment. I have no idea why he got rid of the EXE
> variable, though; that's probably guaranteed to make it fail on win32.

Pmichaud create a new ins2 branch that was to be an improvement on the
ins branch. I applied these diffs to head, and then made some
modifications of my own. The attached patch is all the mods in ins2 +
the mods needed to make Rakudo work as an RPM.
The patch contains a MANIFEST.generated which pmichaud has specifically
said that he does not like. To eliminate this, it would be necessary
only to rewrite "make install" so that it's different. This would also
eliminate the "install_files.pl" script.
The changes to Makefile.in should probably all be applied regardless,
except the "install" target. The rakudo.spec file should need no
changes; it just calls "make install".
I don't have a clear enough picture of what pmichaud wants in his "make
install" section, which is why I've left it to him.
HTH some.

Ok, here's a new patch against the updated ins2 branch. pmichaud has
done some "make install" stuff, and I've added to it as required for
building RPMs. Other than adding a few useful files to the installation
image (ie. the setting *.pm files could come in handy), it should have
no effect on non-RPM installs.