New RPMs for Lire 20011205
Joe Patterson
jpatterson at asgardgroup.com
Thu Dec 27 22:26:04 CET 2001
> -----Original Message-----
> From: Francis J. Lacoste [mailto:francis.lacoste at Contre.COM]
> Sent: Thursday, December 27, 2001 3:24 PM
> To: Joe Patterson
> Cc: questions at logreport.org
> Subject: Re: New RPMs for Lire 20011205
>
>
> On Thu, Dec 27, 2001 at 02:42:17PM -0500, Joe Patterson wrote:
> > Well, I've just installed those RPM's on a RedHat 7.1 box, and
> am getting
> > mixed results...
> > I took a fairly vanilla RH7.1 install, and added the following
> RPM's (which
> > were what was needed to meet all the dependency requirements):
> >
> > dialog-0.9a-4.i386.rpm
> > jadetex-3.3-1.noarch.rpm
> > libxml2-2.4.12-1.i386.rpm
> > libxslt-1.0.9-1.i386.rpm
> > lire-20011205-2.noarch.rpm
> > lire-html-20011205-2.noarch.rpm
> > lire-pdf-20011205-2.noarch.rpm
> > perl-XML-Parser-2.30-7.i386.rpm
> > tetex-1.0.7-15.6.i386.rpm
> > tetex-fonts-1.0.7-15.6.i386.rpm
> > tetex-latex-1.0.7-15.6.i386.rpm
>
> You probably also installed jade or openjade which are needed for PDF
> output ?
The original install I did included openjade. (openjade-1.3-13)
>
> >
> > I also installed:
> > GD-1.37.tar.gz
> > GDGraph-1.33.tar.gz
> > GDTextUtil-0.80.tar.gz
>
> Interesting, I didn't find any RPMs for the required perl GD modules.
> Where did you find those? Are they part of RedHat 7.1 or did you find
> them on rpmfind.net?
>
Those are just tar.gz's from cpan.
> >
> > Everything works absolutely great, unless I try and output a PDF. (the
> > result is the same whether I have -i or not):
> >
> > [root at vpn eximlogs]# zcat mainlog.1.gz | lr_run lr_log2report -i -o pdf
> > /tmp/error email exim > report.pdf
> > bogus message: /usr/libexec/lire/lr_xml2pdf: line 140: 23339
> Segmentation
> > fault (core dumped) $PDFJADETEX $tmptex >
> > /dev/null 2>&1
> > email exim lr_tag-20011227140143-23223 lr_log2report err
> lr_xml2pdf failed
> > email exim lr_tag-20011227140143-23223 lr_log2report notice keeping
> > /root/tmp/lr_log2report.exim.lr_tag-20011227140143-2
> > 3223.report.xml for debugging.
> >
> > It seems to be barfing when executing a command something like
> `pdfjadetex
> > lr_xml2pdf.all.9900.tex`. The end of the output of that command is:
> >
> > Warning: pdfjadetex (file pdftex.map): cannot open font map file
> > Segmentation fault (core dumped)
> >
> > AHA! I have found the culprit. The pdftex.map file, which is
> needed by the
> > pdfjadetex command, is not part of either the jadetex nor the
> above-listed
> > tetex rpm's. Interesting...
> >
> > So, for anyone who has the same problems, you need to also install the
> > tetex-dvips rpm (I used tetex-dvips-1.0.7-15.6.i386.rpm)
>
> Thanks for reporting this, I'll add this our FAQ (which we should put up
> on our website).
>
> >
> > Now the only problem is that the text in my graphs is horribly
> mangled and
> > unreadable. Whee....
> >
>
> This is probably due to an incompatibility in the compilation settings
> of GD, GDTextUtil and libgd. Try to install GD.pm and GDTextUtil.pm from
> source to see if this fix your problem? If the GD, GDTextUtil
> and GDGraph
> RPMs weren't compiled under RedHat 7.1, it is probably the cause
> of the problem.
> There are various compilation settings for libgd which affect the way
> fonts are used. For one thing, GDTextUtil requires that libgd was
> compiled with True Type font support, to see if this is the case under
> RH 7.1, you can run rpm -qR libgd to see if it is linked with libttf2.
>
Hmmm... I don't seem to have libgd installed. GD seems to link to libttf2:
[root at vpn /root]# rpm -qR libgd
package libgd is not installed
[root at vpn /root]# rpm -qR gd
/sbin/ldconfig
/sbin/ldconfig
/sbin/ldconfig
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
ld-linux.so.2
libc.so.6
libjpeg.so.62
libm.so.6
libpng.so.2
libttf.so.2
libz.so.1
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
libm.so.6(GLIBC_2.0)
rpmlib(CompressedFileNames) <= 3.0.4-1
Hmmmm.... Well, after some mucking around and upgrading the gd RPM to
gd-1.8.4-4.i386.rpm, that command reports:
[root at vpn GD-1.37]# rpm -qR gd
/sbin/ldconfig
/sbin/ldconfig
/sbin/ldconfig
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
ld-linux.so.2
libc.so.6
libfreetype.so.6
libjpeg.so.62
libm.so.6
libpng.so.2
libz.so.1
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
libm.so.6(GLIBC_2.0)
rebuilt the GD.pm, which built cleanly with ttf support this time (it hadn't
before) and it's still mucked up. Dammit, I thought I might have had it
there. GD doesn't want to build on my system, at least not with freetype
support. That's the problem with RPM's. It's kinda like crack. Once you
start using it, you just can't stop, even if you really want to...
> Thanks for your interest in LogReport, kind Regards,
Thanks for LogReport. It's very cool. All I need now is modules for
firewall/iptables logs, and www(?)/squid, and I'll be quite happy. :)
>
> Francis J. Lacoste
>
> --
> Francis J. Lacoste . . http://www.logreport.org
> /^LogReport$/ . . flacoste at logreport.org
>
-Joe
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list