Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

HTML::Tidy and solaris woes

by InfiniteLoop (Hermit)
on Feb 23, 2007 at 20:37 UTC ( #601819=perlquestion: print w/replies, xml ) Need Help??

InfiniteLoop has asked for the wisdom of the Perl Monks concerning the following question:

Greetings Monks,
 I have been tasked with install HTML::Tidy on SunOS 5.8, running perl 5.6.1. I have the libtidy installed, when I try to compile HTML::Tidy, I get the following errors:
$ make cp lib/HTML/Tidy/ blib/lib/HTML/Tidy/ cp lib/HTML/ blib/lib/HTML/ /usr/local/bin/perl /opt/perl/5.6.1/lib/perl/ExtUtils/xsubpp -typemap + /opt/perl/5.6.1/lib/perl/ExtUtils/typemap Tidy.xs > Tidy.xsc && mv +Tidy.xsc Tidy.c Error: 'const char *' not in typemap in Tidy.xs, line 15 Error: 'const char *' not in typemap in Tidy.xs, line 50 Error: 'const char *' not in typemap in Tidy.xs, line 51 Please specify prototyping behavior for Tidy.xs (see perlxs manual) make: *** [Tidy.c] Error 1
 I checked the perlxs docs, but to no avail. If other monks have installed HTML::Tidy on Solaris 5.8, please help. Thanks.

Replies are listed 'Best First'.
Re: HTML::Tidy and solaris woes
by Joost (Canon) on Feb 23, 2007 at 21:39 UTC
      Thanks joost, modifying typemap worked! Meanwhile, we decided to move to shiny new Linux, just for HTML::Tidy. Thanks.
Re: HTML::Tidy and solaris woes
by Herkum (Parson) on Feb 23, 2007 at 21:23 UTC

    Can you upgrade your version of Perl? There might be problems with version 5.6.

    Note: I only suggest this as a last resort.

      I wish I could. Unfortunately this is a legacy system and upgrading perl would involve lot of overhead.
      I haven't really looked at other HTML::Tidy like modules. I could switch to those modules, if they are stable and work well on both Solaris & Linux.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://601819]
Approved by moklevat
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2023-12-06 17:59 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (31 votes). Check out past polls.