develooper Front page | perl.perl6.users | Postings from November 2019

Re: FC31 can't find my module subs

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
November 4, 2019 07:35
Subject:
Re: FC31 can't find my module subs
Message ID:
cecde646-10ef-6961-43d9-229196f1b26b@zoho.com
On 11/3/19 11:31 PM, JJ Merelo wrote:
> Again, running stuff and installing it as root is never a good idea. 
> It's not a good idea either to dump your modules in a directory, the 
> proper way to do that is through zef install, running as a 
> non-privileged user. The privileges of the .precomp directory might be 
> one thing, but there might be other at work here.
> 
> El lun., 4 nov. 2019 a las 8:22, ToddAndMargo via perl6-users 
> (<perl6-users@perl.org <mailto:perl6-users@perl.org>>) escribió:
> 
>     Oh and it does find and read the modules.   If I
>     give it a bad module name, I get the finger wagged
>     at me:
> 
>     # perl6 -I/home/linuxutil/p6lib -e 'use BadName;  ModuleTest;
>     ModuleTst;'
>     ===SORRY!===
>     Could not find BadName at line 1 in:
>           file#/home/linuxutil/p6lib
>           inst#/root/.perl6
>           inst#/opt/rakudo-pkg/share/perl6/site
>           inst#/opt/rakudo-pkg/share/perl6/vendor
>           inst#/opt/rakudo-pkg/share/perl6/core
>           ap#
>           nqp#
>           perl5#
> 
> 
>     As opposed to something it can find:
> 
>     # perl6 -I/home/linuxutil/p6lib -e 'use ModuleTest;  ModuleTest;
>     ModuleTst;'
>     ===SORRY!=== Error while compiling /home/linuxutil/p6lib/ModuleTest.pm6
>     (ModuleTest)
>     Undeclared name:
>           ModuleTest used at line 4
> 
> 
> 
> -- 
> JJ


Problem still occurs with selinux disabled

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Previous | Thread Next


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