On Mon, 2 Aug 2010, Parrot wrote:
> #344: Can't create working installed parrot for macports
> Comment(by tommyd):
>
> To further explain what I think is the root issue: While the install name
> target is fixed on the actual parrot binaries, `parrot_config`, which is
> used by 3rd party tools like rakudo, still contains the wrong paths and
> this can unfortunately not easily be fixed e.g. in a rakudo port without a
> lot of hacks to query the currently active parrot installation. The
> following variables from parrot_config are affected:
>
> {{{
> $ parrot_config --dump | grep MacPorts
> libparrot_linkflags =>
>
> '-L/opt/local/var/macports/build/_Users_tommyd_Entwicklung_MacPorts_dports_lang_parrot/work/parrot-2.6.0/blib/lib
> -lparrot'
That one is irrelevant, since it's only supposed to be used within the
parrot build directory. The correct version to use with an installed
parrot is inst_libparrot_linkflags.
> rpath_blib =>
>
> '-L/opt/local/var/macports/build/_Users_tommyd_Entwicklung_MacPorts_dports_lang_parrot/work/parrot-2.6.0/blib/lib'
That one is also irrelevant, since it's only supposed to be used within the
parrot build directory. The correct version to use with an installed
parrot is rpath_lib.
> ldflags => '-L/opt/local/lib -L/usr/local/lib
>
> -L/opt/local/var/macports/build/_Users_tommyd_Entwicklung_MacPorts_dports_lang_parrot/work/parrot-2.6.0/blib/lib'
That one indeed looks wrong, but it probably doesn't matter, since I
don't think it should end up getting used in any important way.
> libparrot_soname => '-install_name
>
> /opt/local/var/macports/build/_Users_tommyd_Entwicklung_MacPorts_dports_lang_parrot/work/parrot-2.6.0/blib/lib/libparrot.dylib'
I don't what this is actually used for, so I don't know if it's a
problem or not.
> build_dir =>
>
> '/opt/local/var/macports/build/_Users_tommyd_Entwicklung_MacPorts_dports_lang_parrot/work/parrot-2.6.0'
This one is not a problem. It simply records the build directory.
It shouldn't be used.
In short, there may well be problems, but it would be helpful if you
could be more specific about exactly what variable or variables are
causing a problem, so that we can help determine if the variable is
supplying the wrong information, or if rakudo is using the wrong
variables.
--
Andy Dougherty [email protected]
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets