Thread View: news.software.nntp
4 messages
4 total messages
Started by imp
Sun, 05 Apr 2009 14:43
innreport (Bareword)
Author: imp
Date: Sun, 05 Apr 2009 14:43
Date: Sun, 05 Apr 2009 14:43
21 lines
1417 bytes
1417 bytes
I keep getting these errors in Daily Usenet report: Bareword "gdSmallFont" not allowed while "strict subs" in use at /usr/local/news/bin/innreport line 1316. Bareword "gdMediumBoldFont" not allowed while "strict subs" in use at /usr/local/news/bin/innreport line 1344. Several lines like that. On another system with the same configuration I don't get these errors. I'm scratching my head trying to figure out what I missed. This version installed/compiled with zero errors on both systems and I haven't noticed any other errors or notices. -- INN 2.5.0 (rc1 version) osname=linux, osvers=2.6.18-92.1.18.el5 perl, v5.10.0 built for i386-linux-thread-multi MIME::Parser is up to date (5.427)
Re: innreport (Bareword)
Author: Alexander Bartolich
Date: Sun, 05 Apr 2009 14:51
Date: Sun, 05 Apr 2009 14:51
15 lines
1681 bytes
1681 bytes
imp schrieb: > I keep getting these errors in Daily Usenet report: > > Bareword "gdSmallFont" not allowed while "strict subs" in use at > /usr/local/news/bin/innreport line 1316. > Bareword "gdMediumBoldFont" not allowed while "strict subs" in use > at /usr/local/news/bin/innreport line 1344. These functions are defined by GD.pm. # dpkg -S /usr/lib/perl5/GD.pm libgd-gd2-noxpm-perl: /usr/lib/perl5/GD.pm -- seq 100 | sed 's/.*/Romani Ite Domum./'
Re: innreport (Bareword)
Author: imp
Date: Sun, 05 Apr 2009 15:33
Date: Sun, 05 Apr 2009 15:33
18 lines
1435 bytes
1435 bytes
Alexander Bartolich wrote: > imp schrieb: >> I keep getting these errors in Daily Usenet report: >> >> Bareword "gdSmallFont" not allowed while "strict subs" in use at >> /usr/local/news/bin/innreport line 1316. >> Bareword "gdMediumBoldFont" not allowed while "strict subs" in use >> at /usr/local/news/bin/innreport line 1344. > > These functions are defined by GD.pm. > > # dpkg -S /usr/lib/perl5/GD.pm > libgd-gd2-noxpm-perl: /usr/lib/perl5/GD.pm That fixed it, thanks. The system that wasn't getting the errors had perl-GD installed. And "yum install perl-GDGraph3d.noarch" added that as a dependency. All is well and the reports look fine now.
Re: innreport (Bareword)
Author: Julien ÉLIE
Date: Sun, 19 Apr 2009 20:25
Date: Sun, 19 Apr 2009 20:25
32 lines
2368 bytes
2368 bytes
Hi,
>>> Bareword "gdSmallFont" not allowed while "strict subs" in use at
>>> /usr/local/news/bin/innreport line 1316.
>>> Bareword "gdMediumBoldFont" not allowed while "strict subs" in use
>>> at /usr/local/news/bin/innreport line 1344.
>>
>> These functions are defined by GD.pm.
>>
>> # dpkg -S /usr/lib/perl5/GD.pm
>> libgd-gd2-noxpm-perl: /usr/lib/perl5/GD.pm
>
> That fixed it, thanks. The system that wasn't getting the errors had
> perl-GD installed. And "yum install perl-GDGraph3d.noarch" added
> that as a dependency. All is well and the reports look fine now.
Yet, it was mentioned as a warning when you ran configure:
Missing Perl modules: GD for innreport's HTML output.
You should install them for these programs to work fine.
Note that Alexander wrote a patch just for you:
http://inn.eyrie.org/trac/changeset/8424/trunk/scripts/innreport.in
--
Julien ÉLIE
« -- Ils s'arrêtaient tous les jours à 5 heures,
pour boire de l'eau chaude...
-- Je prendrai un nuage de lait, je vous prie. » (Astérix)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads