W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

compiling perl XS interface to tidylib

From: alex fenton <alex.fenton@investis.com>
Date: Thu, 10 Jul 2003 14:24:00 +0100
Message-ID: <3F0D68F0.2040501@investis.com>
To: html-tidy@w3.org


I'd like to use htmltidy within a perl app that's serving web pages. I 
need to make several calls to tidy during a single page request, so a 
system call's not really acceptable. Therefore, I'm trying to use the 
Perl XS library from Charles Reitzel ( 
http://users.rcn.com/creitzel/tidy.html#tidyperl )

However, I couldn't even get this to compile (linux i686, gcc 3.2) when 
linking against the latest versions of tidylib. So I compiled an older 
version of the lib, from around the time that the XS wrapper was last 
released (Feb 03). However, though this compiles, the resulting .so file 
isn't loadable, failing with
tidyperl/blib/arch/auto/HTML/Tidy/Tidy.so: undefined symbol: 

Anyone had any success installing this (or another) Perl wrapper for tidy?


Alex Fenton
Received on Thursday, 10 July 2003 10:50:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC