no XSLT processer

Jon Leeman jleeman at cenpac.net.nr
Sun Mar 7 22:22:28 CET 2004


Hi,

All the Lire 1.4.1 installations have been via the tarball.

libxslt was initially installed via an RPM.  I then uninstalled the RPM and
installed via the tarball (libxslt-1.0.26).  Then unistalled / re-installed
Lire 1.4.1.  No joy getting 'named.html' output.

You hit the nail on the head below.

/usr/local/share/lire/defaults/lire.xml

had;

<param name="lr_xslt_processor">none</param>
<param name="xsltproc_path">no</param>

changed it to your defaults of;

<param name="lr_xslt_processor">xsltproc</param>
<param name="xsltproc_path">/usr/bin/xsltproc</param>

and it now works fine.

Many thanks.

If you think this is a bug and I can assist with any information regarding
how it's running here, please let me know what info/files you need and I'll
send them.

Rgds.,

Jon




----- Original Message ----- 
From: "Joost van Baal" <joostvb at logreport.org>
To: "Jon Leeman" <jleeman at cenpac.net.nr>
Cc: "LogReport Questions List" <questions at logreport.org>
Sent: Friday, March 05, 2004 7:24 AM
Subject: Re: no XSLT processer

Hi,

On Thu, Mar 04, 2004 at 01:30:41PM +1200, Jon Leeman wrote:
> I have lire 1.4.1 running on Mandrake 9.2 and it's successfully generating
> 'named_querylog' text reports.

Are you using an RPM, or did you install from our tarball?

> However, when I try for an html output by;
>
> lr_run lr_log2report -o html_page bind9_query<
> /home/jon/reports/named_querylog > /home/jon/reports/named.html
>
> I receive;
>
> dns bind9_query lr_tag-20040304132224-2398 lr_check_prereq err no XSLT
> processor available!
> dns bind9_query lr_tag-20040304132224-2398 lr_check_prereq err Please
> install the Gnome XSLT Library available at http://xmlsoft.org/XSLT/
> dns bind9_query lr_tag-20040304132224-2398 lr_check_prereq err Consult
Lire
> User's Manual for more information.
> dns bind9_query lr_tag-20040304132224-2398 lr_log2report err missing
> requirements for the selected output format
>
> even though I appear to have libxslt-proc installed;
>
> [root at isplaptop reports]# rpm -qa | grep libxslt
> libxslt1-1.0.33-1mdk
> libxslt1-devel-1.0.33-1mdk
> libxslt-proc-1.0.33-1mdk
>
> Any pointers to a solution would be appreciated.

Look in /usr/share/lire/defaults/lire.xml.  Mine has

    <param name="lr_xslt_processor">xsltproc</param>
    <param name="xsltproc_path">/usr/bin/xsltproc</param>

.  You can overwrite the Lire defaults using the lr_config(1) tool.

BTW: Lire should have found your xslt processor so you'll likely have
found a bug.  More information is welcome, so that we can fix this bug.

Bye,

Joost

-- 
.    .                                        http://logreport.com/
| '.|                        /^LogReport$/
| Lire                                        http://logreport.org/


-- 
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