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" );' ===SORRY!

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 -I/home/linuxutil/p6l

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

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 -I/home/linuxutil/p6l

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
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 upgraded

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, which

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 see

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 inst#/opt

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 o

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 director

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-04 Thread JJ Merelo
El lun., 4 nov. 2019 a las 8:52, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > 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 ru

Re: FC31 can't find my module subs

2019-11-04 Thread JJ Merelo
El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > > Problem still occurs with selinux disabled > > selinux operates at a higher level. This is plain and simple not having the write bit set for your particular user. Anyway, try this (as a regular u

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 02:25 JJ Merelo wrote: > > > El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users (< > perl6-users@perl.org>) escribió: > >> >> Problem still occurs with selinux disabled > > One thing I noticed, you are missing a line at the top of your modules that should read so

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 12:24 AM, JJ Merelo wrote: El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: Problem still occurs with selinux disabled selinux operates at a higher level. This is plain and simple not having the write bit set for your

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 2:28 AM, Tom Browder wrote: On Mon, Nov 4, 2019 at 02:25 JJ Merelo > wrote: El lun., 4 nov. 2019 a las 8:35, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: Problem still occurs with selinux disabled One thing I n

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 04:44 ToddAndMargo via perl6-users wrote: ... Todd, please don't be so careless in what you show us. It's difficult to zero in on your problem. Do me a favor and go to a clean, empty directory somewhere named 'mytest', and create EXACTLY what I describe here: + create a s

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 3:42 AM, Tom Browder wrote: On Mon, Nov 4, 2019 at 04:44 ToddAndMargo via perl6-users wrote: ... Todd, please don't be so careless in what you show us. It's difficult to zero in on your problem. Do me a favor and go to a clean, empty directory somewhere named 'mytest', and create EX

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 06:25 ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: ... Okay, now we're getting somewhere! That's just a warning, but it runs. I am running an older version of Perl 6 (Raku) than you, so I don't get the warning. For the next step, try two things: 1. Run almos

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 4:47 AM, Tom Browder wrote: On Mon, Nov 4, 2019 at 06:25 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: ... Okay, now we're getting somewhere! That's just a warning, but it runs. I am running an older version of Perl 6 (Raku) than you, so I don't get the warning.

Re: FC31 can't find my module subs

2019-11-04 Thread Timo Paulssen
Todd, can you please double-check if putting a comma in between the :import-tags in the "use" statement makes a difference? Like this: # perl6 -I./p6lib -e 'use ModuleTest :ModuleTest, :ModuleTst; ModuleTest; ModuleTst; # correct' # perl6 -I./p6lib -e 'use ModuleTest :ModuleTest :ModuleTst; Modul

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 06:52 ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: ... Okay, that's sounding more like an FC/package interface issue. I'm going to check my latest build of Rakudo against our little test sandbox and see what happens. In the meantime, why don't you try putting

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 04/11/2019 03:56, 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-04 Thread ToddAndMargo via perl6-users
On 11/4/19 4:59 AM, Tom Browder wrote: On Mon, Nov 4, 2019 at 06:52 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: ... Okay, that's sounding more like an FC/package interface issue. I'm going to check my latest build of Rakudo against our little test sandbox and see what ha

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 6:59 AM Tom Browder wrote: I'm using almost latest master: $ ./perl6-m -v This is Rakudo version 2019.07-447-gc745d6b10 built on MoarVM version 2019.07.1-309-g48491b896 implementing Perl 6.d. And I can run our test sandbox with no problems--weird! Back to my system-wide

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 5:19 AM, Tom Browder wrote: On Mon, Nov 4, 2019 at 6:59 AM Tom Browder wrote: I'm using almost latest master: $ ./perl6-m -v This is Rakudo version 2019.07-447-gc745d6b10 built on MoarVM version 2019.07.1-309-g48491b896 implementing Perl 6.d. And I can run our test sandbox with no

Re: FC31 can't find my module subs

2019-11-04 Thread Tom Browder
On Mon, Nov 4, 2019 at 7:40 AM ToddAndMargo via perl6-users wrote: ... > I really think this is a Fedora 31 issue and not a Perl issue. > And really want to keep my rpm database intact. Ok, then please deal with @nxdm on the issue you filed. Using the git interface is best I believe. If you hav

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 6:45 AM, Tom Browder wrote: In the future, with paying customers, I would some careful testing before upgrading the OS. It has sure bitten me in the past! Hi Tom, I never do. This computer is a mock up of their configuration. It does to get released to then until it works here. I

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 6:45 AM, Tom Browder wrote: If you have much more trouble, I would file a bug with the FC folks. That is in the works. I am wait from some good ammunition from the git folks.

Re: FC31 can't find my module subs

2019-11-04 Thread ToddAndMargo via perl6-users
On 11/4/19 2:28 AM, Tom Browder wrote: One thing I noticed, you are missing a line at the top of your modules that should read something like "unit module MyModule;", and the export(:some-key) is okay. Hi Tom, I had thought all my moduels used "unit module MyModule;", but into everyone life a

Re: FC31 can't find my module subs

2019-11-04 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 -I/home/linuxutil/p6l

Re: FC31 can't find my module subs

2019-11-10 Thread ToddAndMargo via perl6-users
On 11/4/19 11:39 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