in reply to Installing Pugs via CPAN shell (How to call specific ghc version)
The "bug"/undocumented feature/behaviour is in the Pugs distribution, in the subroutine assert_ghc:
sub assert_ghc { my $self = shift; my $ghc = $self->can_run($ENV{GHC} || ( 'ghc' . $Config{_exe} ) ); ...
It tries to find the ghc executable, or whatever you export in your environment as GHC. So in theory, the installation should work for you if you do:
GHC=`which ghc-6.4.1` export GHC cpan Pugs
|
|---|