Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: Hi All, Help! I just upgraded Fedora from 30 to 31. I upgraded to rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm from https://github.com/nxadm/rakudo-pkg/releases Now P6 can not find my subs inside my modules: # perl6

FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
Hi All, Help! I just upgraded Fedora from 30 to 31. I upgraded to rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm from https://github.com/nxadm/rakudo-pkg/releases Now P6 can not find my subs inside my modules: # perl6 -I/home/linuxutil/p6lib -MPrintColors -e 'PrintGreen( "Hi\n" );'

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: Hi All, Help! I just upgraded Fedora from 30 to 31. I upgraded to rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm from https://github.com/nxadm/rakudo-pkg/releases Now P6 can not find my subs inside my modules: # perl6

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 3:56 PM, ToddAndMargo via perl6-users wrote: ReadSecondaryClipboard ] that was a typo. original code has a ; at the end

env?

2019-11-03 Thread ToddAndMargo via perl6-users
Hi All, Fedora 13 (Linux) rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm At the top of all my Perl 6 programs, I place #!/usr/bin/env perl6 So I decided to run env by itself and see what I got: $ /usr/bin/env perl6 You may want to `zef install Readline` or `zef install

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 6:56 PM, ToddAndMargo via perl6-users wrote: On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: Hi All, Help! I just upgraded Fedora from 30 to 31. I upgraded to rakudo-pkg-Fedora31-2019.07.1-03.x86_64.rpm from https://github.com/nxadm/rakudo-pkg/releases Now P6 can not find

Re: FC31 can't find my module subs

2019-11-03 Thread JJ Merelo
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

Re: env?

2019-11-03 Thread William Michels via perl6-users
I've seen this message as well. I believe it's the default message you get when you start up the Perl6 (Raku) REPL, but don't have Readline or Linenoise installed (or your machine needs help knowing where to look). Maybe try 'echo $PATH' at a terminal prompt, and see if your new machine has the

Re: FC31 can't find my module subs

2019-11-03 Thread JJ Merelo
The only thing I can think of is not having permission to write in that directory or in the directory you're running your program. In that case, perl6 will not be able to create a .precomp hidden directory, and that might result in what you're seeing. I see your modules are installed as root,

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 10:58 PM, JJ Merelo wrote: The only thing I can think of is not having permission to write in that directory or in the directory you're running your program. In that case, perl6 will not be able to create a .precomp hidden directory, and that might result in what you're seeing. I

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
On 11/3/19 11:31 PM, JJ Merelo wrote: Again, running stuff and installing it as root is never a good idea Most of my programs are for system administration and I have no choice but to run them as root.

Re: FC31 can't find my module subs

2019-11-03 Thread JJ Merelo
What's the content of /home/linuxutil/p6lib? El lun., 4 nov. 2019 a las 6:48, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 11/3/19 6:56 PM, ToddAndMargo via perl6-users wrote: > > On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: > >> Hi All, > >> > >> Help! > >> >

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
El lun., 4 nov. 2019 a las 6:48, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: On 11/3/19 6:56 PM, ToddAndMargo via perl6-users wrote: > On 11/3/19 3:15 PM, ToddAndMargo via perl6-users wrote: >> Hi All, >> >> Help! >> >> I just

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
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

Re: FC31 can't find my module subs

2019-11-03 Thread ToddAndMargo via perl6-users
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