New RPMs for Lire 20011205
Francis J. Lacoste
francis.lacoste at Contre.COM
Thu Dec 27 21:24:15 CET 2001
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 ?
>
> 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?
>
> 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.
Thanks for your interest in LogReport, kind Regards,
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20011227/470bb4ba/attachment.bin
More information about the Questions
mailing list