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 your modules are installed as
root, which is probably not a good idea. if you're running your program
as tony, you don't have write permission in /home/linuxutil/p6lib/ (as
seen in the directory), and that might result in the eventual error
you're seeing.
Just chown -R tony /home/linuxutil/p6lib and that should work.
JJ
I am so, so screwed if I don't get this working.
I have even tried prior versions:
rakudo-pkg-Fedora29-2018.11-01.x86_64.rpm
rakudo-pkg-Fedora29-2019.03.1-01.x86_64.rpm
rakudo-pkg-Fedora30-2019.03.1-03.x86_64.rpm
rakudo-pkg-Fedora30-2019.07.1-03.x86_64.rpm
and the one in the Fedora repo
it does the same thing for users tony, todd, root
I renamed p6lib/.precomp and it recreate one
as soon as I ran something (as root this time)
[root@rn6 p6lib]# mv .precomp .precomp.000
[root@rn6 p6lib]# ../GetPublicIP.pl6
===SORRY!=== Error while compiling /home/linuxutil/p6lib/../GetPublicIP.pl6
Undeclared names:
RunNoShell used at lines 19, 23
WriteSecondaryClipboard used at line 24
[root@rn6 p6lib]# ls -al .precomp*
.precomp:
total 12
drwxr-xr-x. 3 root root 4096 Nov 3 23:12 .
drwxrwxr-x. 4 tony users 4096 Nov 3 23:12 ..
drwxr-xr-x. 8 root root 4096 Nov 3 23:12
843FBB0CEFE0FB475EBFA7FEAEEADA648E562FF7
-rw-r--r--. 1 root root 0 Nov 3 23:12 .lock
.precomp.000:
total 32
drwxr-xr-x. 8 root root 4096 Nov 3 18:46 .
drwxrwxr-x. 4 tony users 4096 Nov 3 23:12 ..
drwxr-xr-x. 10 root root 4096 Nov 3 18:46
07375CA427616339BBFC24962204EEB83B2CEE6A
drwxr-xr-x. 8 root root 4096 Nov 3 14:32
4912B1FACD657C183C02A1B78AD3A2E03B1CC2D0
drwxr-xr-x. 12 root root 4096 Nov 3 18:27
843FBB0CEFE0FB475EBFA7FEAEEADA648E562FF7
drwxr-xr-x. 10 root root 4096 Nov 3 18:45
B584C5F1DFA3585D8CEABA17618A6737431E2D00
drwxr-xr-x. 43 root root 4096 Jun 11 15:46
B7E59BC9C829B78CEACC421073F5F16FDE0DA86F
drwxr-xr-x. 9 root root 4096 Apr 28 2019
D806D91A85A9EF22D75A1EBA54A6A27D1E3A7068
-rw-r--r--. 1 root root 0 Apr 28 2019 .lock
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~