develooper Front page | perl.perl6.users | Postings from June 2018

Re: -c error to fix

Thread Previous
From:
Todd Chester
Date:
June 14, 2018 06:35
Subject:
Re: -c error to fix
Message ID:
0c14dcb9-cce0-1c56-8718-59ae04b91412@zoho.com


On 06/13/2018 11:28 PM, Todd Chester wrote:
> Hi All,
> 
> $ perl6 -v
> This is Rakudo version 2018.04 built on MoarVM version 2018.04.1
> implementing Perl 6.c.
> 
> I have another `perl6 -c` bug to fix
> 
> $ perl6 -c GetUpdates.pl6
> ===SORRY!===
> Could not find Term::termios at line 15 in:
>      /home/linuxutil
>      /home/todd/.perl6
>      /usr/lib64/perl6/site
>      /usr/lib64/perl6/vendor
>      /usr/lib64/perl6
>      CompUnit::Repository::AbsolutePath<94788577628288>
>      CompUnit::Repository::NQP<94788577651792>
>      CompUnit::Repository::Perl5<94788577651832>
> 
> 
> Since Line 15 has nothing whatsoever to do with Term::termios
>      15: my %MaxTime = ( '%MaxTime<MaxTime1>' =>   20,   # Seconds
> 
> Bug: `perl6 -c` needs to properly identify which module threw
> the error.
> 
> -T


I just upgraded Perl 6:

$ perl6 -v
This is Rakudo version 2018.04.1 built on MoarVM version 2018.04.1
implementing Perl 6.c.


$ perl6 -c GetUpdates.pl6
===SORRY!===
Could not find Net::SMTP at line 16 in:
     /home/linuxutil
     /home/todd/.perl6
     /opt/rakudo-pkg/share/perl6/site
     /opt/rakudo-pkg/share/perl6/vendor
     /opt/rakudo-pkg/share/perl6
     CompUnit::Repository::AbsolutePath<60270480>
     CompUnit::Repository::NQP<33984016>
     CompUnit::Repository::Perl5<33984056>

Again, line 16 has nothing to do with this error:
    16:  '%MaxTime<MaxTime2>' =>  720,   # Seconds

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About