Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Install Perl6::Pugs with PREFIX?

by tall_man (Parson)
on Mar 17, 2005 at 00:06 UTC ( [id://440205] : perlquestion . print w/replies, xml ) Need Help??

tall_man has asked for the wisdom of the Perl Monks concerning the following question:

I would like to try out Perl6::Pugs on a system where I can only install under my home directory. It seems that the standard "PREFIX=" will not work with the Makefile.PL. I found the following code in PugsConfig.pm:
sub add_path { my ($name, $config) = @_; my $path = $Config{$name} || ''; $path =~ s/([\/\\])[^\/\\]*(perl)[^\/\\]*([\/\\]?)/$1${2}6$3/i or die <<"."; Can't generate the correct Perl6 equivalent for: + $path $config->{pugspath} = File::Spec->catfile($config->{bin}, "pugs$config->{exe_ext}"); + ($config->{file_sep}) = ($Config{sitelib} =~ /([\/\\])/) or die "Can't determine file_sep"; + return $config; }
This seems to imply that perl6 can only be installed in the same general area as perl5. If so, why was that done? Is there any work-around? Thanks.

Update: I moved my .cpan/build/Perl6-Pugs-6.0.11 to a new directory (to avoid getting clobbered by later CPAN installs). It appears that I can run pugs examples from here, so I am set for now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://440205]
Approved by Tanktalus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-02-06 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found