> Am 14.07.2023 um 21:11 schrieb francis.montag...@inria.fr: > > On Fri, 14 Jul 2023 20:56:21 +0200 Peter Boy wrote: > >> But linie 3 of the script produced the next error message: > >> Can't locate CGI/Carp.pm in @INC >> (you may need to install the CGI::Carp module) >> (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 >> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 >> /usr/share/perl5 > > >> The package perl-Carp is already installed (presumably as a dependency of >> mod_perl) and I found >> /usr/share/perl5/vendor_perl/Carp.pm >> which is in the search path > > The script wants CGI/Carp.pm > > rpm -qf /usr/share/perl5/vendor_perl/CGI/Carp.pm > perl-CGI-4.57-1.fc38.noarch > > Try to install perl-CGI >
Thanks!! That brought me past line 3 to the next error: Fri Jul 14 22:38:35.479031 2023] [cgid:error] [pid 1406:tid 1496] [client 192.168.122.158:50928] AH01215: stderr from /var/www/html/artikel/artikel.pl: artikel.pl: Can't locate artikel_ini.pl in @INC (@INC contains: /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /var/www/html/artikel/artikel.pl line 12. Line 12 is in this section: 05 use vars qw($artikelinhalt $artikelnummer $artikelnummer $artikelzeile $datum 06 $falscher_aufruf $file $grafik $job $lz $nr4stlg $oberrubrik $oberrubrikname $offline 07 $rubrik $rubrikfile $rubriknummer $schlagzeile $seitentitel 08 $t0 $template $templatefile $text $textandereartikel $textoberrubriken 09 $textunterrubriken $unterrubrik $verfasser $basedir $zuordnungsfile 10 @templ @zuordnungen 11 %unterrubriken %oberrubriken %verfasser); 12 require "artikel_ini.pl“; But the file artikel_ini.pl is in the same subdir: [root@forum-gp httpd]# ls -al /var/www/html/artikel/ total 128 drwxr-xr-x. 3 apache apache 116 Apr 6 2014 . drwxr-xr--. 15 apache apache 4096 Aug 23 2012 .. drwx--x---. 2 apache apache 45056 Jul 8 2021 artikel -rwxr-xr-x. 1 apache apache 10806 Nov 17 2008 artikel.pl -rwxr-----. 1 apache apache 165 Apr 6 2014 artikel_ini.pl -rwxr-----. 1 apache apache 4218 Nov 30 2008 template-artikel.txt -rwxr-----. 1 apache apache 3880 Nov 30 2008 template-rubrik.txt Maybe I have to fix @INC anyhow? A similarly excellent idea for this? Thanks Peter -- Peter Boy https://fedoraproject.org/wiki/User:Pboy p...@fedoraproject.org Timezone: CET (UTC+1) / CEST /UTC+2) Fedora Server Edition Working Group member Fedora Docs team contributor and board member Java developer and enthusiast _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue