Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[REPATCH] Parrot::Embed Take Two

4 views
Skip to first unread message

Chromatic

unread,
Aug 17, 2006, 9:43:18 PM8/17/06
to parrot-...@perl.org
Hi there,

Here's a patch for Build.PL that should avoid most of the pkg_config troubles
on platforms that don't have it. I still don't quite know what to do on
Windows when installing from outside of the Parrot tree.

-- c

ape_two.patch

Leopold Toetsch

unread,
Aug 18, 2006, 6:22:28 AM8/18/06
to perl6-i...@perl.org, chromatic

You could always query parrot itself for it's configuration variables, see
e.g.: tools/dev/src-t.sh. That is: the user would have to specify the
location of the parrot executable.

2 further notes:
- parrot.pc seems not to have all necessary Cflags
- parrot-config should have some macro-ish queries that retrieve all necessary
compile / link setting with one --option [1]

I'd just ci and let it evolve.

leo

[1] http://rt.perl.org/rt3/Public/Bug/Display.html?id=32365
http://rt.perl.org/rt3/Public/Bug/Display.html?id=34356

Francois Perrad

unread,
Aug 21, 2006, 2:56:12 AM8/21/06
to chromatic, parrot-...@perl.org

1) in get_parrot_path_external(), the split of PATH is not portable,
File::Spec gives a solution :
for my $path ( File::Spec->path() )
2) consider the use of File::Which instead of get_parrot_path_external
use File::Which;
...
return which('parrot');

François.

>-- c


0 new messages