Parrot packaging problems

Michael Schroeder mls at suse.de
Wed Apr 8 10:15:41 UTC 2009


Hi Parrot folks,

I'm trying to package both parrot and rakudo packages, where
rakudo should be built with an installed parrot.
While doing so I stumbled over a couple of problems:

1) rakudo needs the "devel" files plus pqp and pct for building,
   they currently don't get installed by parrot's "make install".
   I patched install_files.pl to include those files.

2) rakudo currently needs the deprecated dynoplibs.pl/dynpmc.pl.

3) pbc_to_exe needs parrot_config.o, so I marked 
   parrot_config.o/install_config.o/null_config.o with a
   [devel]lib tag.

4) pbc_to_exe searches for files in parrot's build_dir, this
   makes no sense if pbc_to_exe is installed.
   I patched it so that it compares "prefix" with "build_dir",
   if they differ, pbc_to_exe uses the "installed" locations.

5) I also strip perl's '-Wl,-rpath' from the ccldflags, as
   that rpath doesn't belong to parrot.

Comments?

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parrot.diff
Type: text/x-patch
Size: 5526 bytes
Desc: not available
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20090408/bb817695/attachment.bin>


More information about the parrot-dev mailing list