On Thu, 18 May 2017 01:14:11 -0700
ToddAndMargo <toddandma...@zoho.com> wrote:

> On 05/18/2017 12:50 AM, ToddAndMargo wrote:
> > On 05/18/2017 12:43 AM, Shlomi Fish wrote:  
> >> On Wed, 17 May 2017 22:52:46 -0700
> >> ToddAndMargo <toddandma...@zoho.com> wrote:
> >>  
> >>> Hi All,
> >>>
> >>> Fedora Code 25
> >>>
> >>> # rpm -qa rak\*
> >>> rakudo-0.2017.04.2-2.fc25.x86_64
> >>>
> >>> # perl6 --version
> >>> This is Rakudo version 2017.04.2 built on MoarVM version 2017.04
> >>> implementing Perl 6.c.
> >>>
> >>>
> >>> One of my programs suddenly stop working with the following
> >>> error message:
> >>>
> >>> Could not find Net::SMTP at line 58 in:
> >>>       /usr/share/perl6/site/bin
> >>>       /root/.perl6
> >>>       /usr/lib64/perl6/site
> >>>       /usr/lib64/perl6/vendor
> >>>       /usr/lib64/perl6
> >>>       CompUnit::Repository::AbsolutePath<94426248395872>
> >>>       CompUnit::Repository::NQP<94426248861720>
> >>>       CompUnit::Repository::Perl5<94426248861760>
> >>>
> >>> Odd because it has been working.
> >>>
> >>> And zef gives me:
> >>>
> >>> # zef install Net::SMTP
> >>> Required named parameter 'name' not passed
> >>>     in sub MAIN at /usr/share/perl6/site/bin/zef line 10
> >>>     in block <unit> at /usr/share/perl6/site/bin/zef line 2
> >>>  
> >>
> >> Hi Todd!
> >>
> >> How did you install zef there? It does not seem to be part of the 
> >> fedora's Perl
> >> 6 package.
> >>  
> > 
> > 
> > I download zef from git.  zef use to work too.
> > 
> > Maybe I should do it again?
> > 
> > 
> >   
> >>> # /usr/share/perl6/site/bin/zef --help
> >>> Required named parameter 'name' not passed
> >>>     in sub MAIN at /usr/share/perl6/site/bin/zef line 10
> >>>     in block <unit> at /usr/share/perl6/site/bin/zef line 2
> >>>
> >>> What happened to me and how do I fix it?
> >>>
> >>>
> >>> Many thanks,
> >>> -T  
> > 
> > 
> > I download zef from git.  zef use to work too.  
> 
> 
> Reinstalled zef from git.  still get:
> 
> # zef install Net::SMTP
> Required named parameter 'name' not passed
>    in sub MAIN at /usr/share/perl6/site/bin/zef line 10
>    in block <unit> at /usr/share/perl6/site/bin/zef line 2
> 
> 

Hi Todd!

zef is working fine here (Fedora 26 x86-64) after being installed from
https://github.com/ugexe/zef ):

<<<<<<<<<
shlomif@lap:~$ /home/shlomif/.perl6/bin/zef install Net::SMTP
===> Searching for: Net::SMTP
===> Searching for missing dependencies: Email::Simple, MIME::Base64,
Digest::HMAC, Digest, IO::Socket::SSL
===> Searching for missing dependencies: DateTime::Format, OpenSSL
===> Testing: DateTime::Format
===> Testing [OK] for DateTime::Format
===> Testing: Email::Simple:ver('2.0.0'):auth('github:retupmoca')
===> Testing [OK] for Email::Simple:ver('2.0.0'):auth('github:retupmoca')
===> Testing: MIME::Base64:ver('1.2'):auth('github:retupmoca')
===> Testing [OK] for MIME::Base64:ver('1.2'):auth('github:retupmoca')
===> Testing: Digest:ver('0.3.4'):auth('Lucien Grondin')
===> Testing [OK] for Digest:ver('0.3.4'):auth('Lucien Grondin')
===> Testing: Digest::HMAC:ver('1.0.0'):auth('github:retupmoca')
===> Testing [OK] for Digest::HMAC:ver('1.0.0'):auth('github:retupmoca')
===> Testing: OpenSSL:ver('0.1.13'):auth('github:sergot')
# Got a redirect, following...
===> Testing [OK] for OpenSSL:ver('0.1.13'):auth('github:sergot')
===> Testing: IO::Socket::SSL:auth('github:sergot')
===> Testing [OK] for IO::Socket::SSL:auth('github:sergot')
===> Testing: Net::SMTP:ver('1.1.0'):auth('github:retupmoca')
===> Testing [OK] for Net::SMTP:ver('1.1.0'):auth('github:retupmoca')
===> Installing: DateTime::Format
===> Installing: Email::Simple:ver('2.0.0'):auth('github:retupmoca')
===> Installing: MIME::Base64:ver('1.2'):auth('github:retupmoca')
===> Installing: Digest:ver('0.3.4'):auth('Lucien Grondin')
===> Installing: Digest::HMAC:ver('1.0.0'):auth('github:retupmoca')
===> Installing: OpenSSL:ver('0.1.13'):auth('github:sergot')
===> Installing: IO::Socket::SSL:auth('github:sergot')
===> Installing: Net::SMTP:ver('1.1.0'):auth('github:retupmoca')
shlomif@lap:~$ /home/shlomif/.perl6/bin/zef install Data::Dump
===> Searching for: Data::Dump
===> Testing: Data::Dump:ver('0.0.3'):auth('github:tony-o')
===> Testing [OK] for Data::Dump:ver('0.0.3'):auth('github:tony-o')
===> Installing: Data::Dump:ver('0.0.3'):auth('github:tony-o')
shlomif@lap:~$ 

>>>>>>>>>

some things you can try:

1. use strace to see where the new zef gets installed.

2. See if you need a newer release of perl 6

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
https://youtu.be/GoEn1YfYTBM - Tiffany Alvord - “Fall Together”

The American Lottery: all you need is a dollar and a dream. We will take the
dollar, but you can keep the dream.
    — http://www.shlomifish.org/humour.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Reply via email to