Parrot packaging problems
Reini Urban
rurban at x-ray.at
Wed Apr 8 18:26:45 UTC 2009
Michael Schroeder schrieb:
> 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?
You might want to check
https://trac.parrot.org/parrot/browser/trunk/ports/cygwin/parrot-1.0.0-1.src.patch
for the patches I needed (for cygwin). They are quite similar to yours,
sans rpath.
I've also tried to package pipp. I'm still testing both.
See http://code.google.com/p/cygwin-rurban/source/browse/release/parrot/
And I'm not finished yet with rakudo.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
More information about the parrot-dev
mailing list