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

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
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.

In reply to HTML::Tidy and solaris woes by InfiniteLoop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.