Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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/Message.pm blib/lib/HTML/Tidy/Message.pm cp lib/HTML/Tidy.pm blib/lib/HTML/Tidy.pm /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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-06-04 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (35 votes). Check out past polls.

    Notices?