Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-Tidy CPAN distribution.

Report information
The Basics
Id: 41262
Status: resolved
Priority: 0/
Queue: HTML-Tidy

People
Owner: Nobody in particular
Requestors: saurabh [...] adobe.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Cannot install HTML::Tidy
Date: Thu, 27 Nov 2008 17:01:59 +0530
To: "'bug-html-tidy [...] rt.cpan.org'" <bug-html-tidy [...] rt.cpan.org>
From: Saurabh Pendharker <saurabh [...] adobe.com>
Hello, I am not able to install HTML::Tidy on Solaris 10 and perl v5.8.4 and getting the following errors: bash-3.00# cpan -i HTML::Tidy CPAN: Storable loaded ok Going to read /.cpan/Metadata Database was generated on Wed, 26 Nov 2008 12:26:53 GMT Running install for module HTML::Tidy Running make for P/PE/PETDANCE/HTML-Tidy-1.08.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /.cpan/sources/authors/id/P/PE/PETDANCE/HTML-Tidy-1.08.tar.gz ok Scanning cache /.cpan/build for sizes x HTML-Tidy-1.08, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/lib, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/lib/HTML, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/lib/HTML/Tidy, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/lib/HTML/Tidy/Message.pm, 2937 bytes, 6 tape blocks x HTML-Tidy-1.08/lib/HTML/Tidy.pm, 11494 bytes, 23 tape blocks x HTML-Tidy-1.08/t, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/t/opt-00.t, 1339 bytes, 3 tape blocks x HTML-Tidy-1.08/t/cfg-for-parse.cfg, 17 bytes, 1 tape blocks x HTML-Tidy-1.08/t/simple.t, 564 bytes, 2 tape blocks x HTML-Tidy-1.08/t/segfault-form.t, 464 bytes, 1 tape blocks x HTML-Tidy-1.08/t/wordwrap.cfg, 37 bytes, 1 tape blocks x HTML-Tidy-1.08/t/roundtrip.t, 1034 bytes, 3 tape blocks x HTML-Tidy-1.08/t/too-many-titles.t, 758 bytes, 2 tape blocks x HTML-Tidy-1.08/t/cfg-for-parse.t, 758 bytes, 2 tape blocks x HTML-Tidy-1.08/t/wordwrap.t, 628 bytes, 2 tape blocks x HTML-Tidy-1.08/t/venus.cfg, 517 bytes, 2 tape blocks x HTML-Tidy-1.08/t/unicode.html, 172 bytes, 1 tape blocks x HTML-Tidy-1.08/t/pod-coverage.t, 199 bytes, 1 tape blocks x HTML-Tidy-1.08/t/00-load.t, 151 bytes, 1 tape blocks x HTML-Tidy-1.08/t/levels.t, 3291 bytes, 7 tape blocks x HTML-Tidy-1.08/t/unicode.t, 1366 bytes, 3 tape blocks x HTML-Tidy-1.08/t/pod.t, 167 bytes, 1 tape blocks x HTML-Tidy-1.08/t/extra-quote.t, 920 bytes, 2 tape blocks x HTML-Tidy-1.08/t/ignore-text.t, 3452 bytes, 7 tape blocks x HTML-Tidy-1.08/t/ignore.t, 4090 bytes, 8 tape blocks x HTML-Tidy-1.08/t/venus.t, 2741 bytes, 6 tape blocks x HTML-Tidy-1.08/t/version.t, 543 bytes, 2 tape blocks x HTML-Tidy-1.08/t/clean-crash.t, 774 bytes, 2 tape blocks x HTML-Tidy-1.08/t/perfect.t, 3337 bytes, 7 tape blocks x HTML-Tidy-1.08/t/venus.html, 2424 bytes, 5 tape blocks x HTML-Tidy-1.08/t/message.t, 1278 bytes, 3 tape blocks x HTML-Tidy-1.08/Changes, 2418 bytes, 5 tape blocks x HTML-Tidy-1.08/Tidy.xs, 6566 bytes, 13 tape blocks x HTML-Tidy-1.08/MANIFEST, 544 bytes, 2 tape blocks x HTML-Tidy-1.08/bin, 0 bytes, 0 tape blocks x HTML-Tidy-1.08/bin/webtidy, 1909 bytes, 4 tape blocks x HTML-Tidy-1.08/perlcriticrc, 516 bytes, 2 tape blocks x HTML-Tidy-1.08/ppport.h, 26438 bytes, 52 tape blocks x HTML-Tidy-1.08/README, 2105 bytes, 5 tape blocks x HTML-Tidy-1.08/Makefile.PL, 2011 bytes, 4 tape blocks x HTML-Tidy-1.08/META.yml, 524 bytes, 2 tape blocks Removing previously used /.cpan/build/HTML-Tidy-1.08 CPAN.pm: Going to build P/PE/PETDANCE/HTML-Tidy-1.08.tar.gz Note (probably harmless): No library found for -ltidy It seems that you don't have libtidy installed. HTML::Tidy does no real work on its own. See the section "INSTALLING LIBTIDY" in Tidy.pm for a step-by-step walkthrough of building the lib. You can also refer to http://tidy.sourceforge.net/. If you do have libtidy installed, and I just haven't detected it, go ahead and try building. If HTML::Tidy builds and tests correctly, then please let Andy Lester know at bug-html-tidy@rt.cpan.org<mailto:bug-html-tidy@rt.cpan.org> so that he can fix the library detection code. Checking if your kit is complete... Looks good Note (probably harmless): No library found for -ltidy Writing Makefile for HTML::Tidy 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 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Tidy.xs > Tidy.xsc && mv Tidy.xsc Tidy.c gcc -c -I. -I/usr/include/tidy -I/usr/local/include/tidy -I/sw/include/tidy -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/local/lib/perl5/5.8.8/sun4-solaris/CORE" Tidy.c Tidy.xs:5:18: tidy.h: No such file or directory Tidy.xs:6:20: buffio.h: No such file or directory Tidy.xs: In function `XS_HTML__Tidy__tidy_messages': Tidy.xs:53: error: `TidyBuffer' undeclared (first use in this function) Tidy.xs:53: error: (Each undeclared identifier is reported only once Tidy.xs:53: error: for each function it appears in.) Tidy.xs:53: error: syntax error before "errbuf" Tidy.xs:54: error: `TidyDoc' undeclared (first use in this function) Tidy.xs:54: error: syntax error before "tdoc" Tidy.c:72: error: `tidy_options' undeclared (first use in this function) Tidy.xs:58: error: `tdoc' undeclared (first use in this function) Tidy.xs:58: error: `TidyCharEncoding' undeclared (first use in this function) Tidy.xs:60: error: `configfile' undeclared (first use in this function) Tidy.xs:65: error: `TidyOptionId' undeclared (first use in this function) Tidy.xs:65: error: syntax error before "id" Tidy.xs:65: error: syntax error before "opt" Tidy.xs:65: error: `opt' undeclared (first use in this function) Tidy.xs:65: error: `id' undeclared (first use in this function) Tidy.xs:70: error: `errbuf' undeclared (first use in this function) Tidy.xs:75: error: `input' undeclared (first use in this function) Tidy.xs:82: error: `TidyNewline' undeclared (first use in this function) Tidy.xs:83: error: `TidyLF' undeclared (first use in this function) Tidy.xs:86: error: `TidyCR' undeclared (first use in this function) Tidy.c: At top level: Tidy.c:127: error: syntax error before '}' token Tidy.xs: In function `XS_HTML__Tidy__tidy_clean': Tidy.xs:114: error: `TidyBuffer' undeclared (first use in this function) Tidy.xs:114: error: syntax error before "errbuf" Tidy.xs:115: error: syntax error before "output" Tidy.xs: At top level: Tidy.xs:116: error: syntax error before "tdoc" Tidy.xs:116: error: initializer element is not constant Tidy.xs:116: warning: data definition has no type or storage class Tidy.c:149: error: syntax error before "if" Tidy.xs:122: error: redefinition of 'rc' Tidy.xs:118: error: previous definition of 'rc' was here Tidy.xs:122: error: `TidyWrapLen' undeclared here (not in a function) Tidy.xs:122: error: initializer element is not constant Tidy.xs:122: warning: data definition has no type or storage class Tidy.xs:124: error: syntax error before "if" Tidy.xs:135: warning: data definition has no type or storage class Tidy.xs:135: error: `entry' undeclared here (not in a function) Tidy.xs:135: error: `key_len' undeclared here (not in a function) Tidy.xs:135: error: initializer element is not constant Tidy.xs:135: error: syntax error before "opt" Tidy.xs:135: error: initializer element is not constant Tidy.xs:135: warning: data definition has no type or storage class Tidy.xs:135: error: syntax error before "if" Tidy.xs:135: error: initializer element is not constant Tidy.xs:135: warning: data definition has no type or storage class Tidy.xs:135: error: conflicting types for 'sv_data' Tidy.xs:135: error: previous declaration of 'sv_data' was here Tidy.xs:135: error: `tidy_options' undeclared here (not in a function) Tidy.xs:135: warning: initialization makes integer from pointer without a cast Tidy.xs:135: error: initializer element is not constant Tidy.xs:135: warning: data definition has no type or storage class Tidy.xs:135: error: conflicting types for 'data' Tidy.xs:135: error: previous declaration of 'data' was here Tidy.xs:135: error: invalid type argument of `->' Tidy.xs:135: error: invalid type argument of `->' Tidy.xs:135: error: invalid type argument of `->' Tidy.xs:135: warning: passing arg 1 of `Perl_sv_2pv_flags' makes pointer from integer without a cast Tidy.xs:135: warning: data definition has no type or storage class Tidy.xs:135: error: syntax error before "if" Tidy.xs:163: error: syntax error before '++' token Tidy.xs:164: error: syntax error before '++' token Tidy.xs:178: error: syntax error before '++' token Tidy.xs:184: error: syntax error before '&' token Tidy.xs:184: warning: data definition has no type or storage class Tidy.xs:185: error: syntax error before '&' token Tidy.xs:185: warning: data definition has no type or storage class Tidy.xs:186: warning: parameter names (without types) in function declaration Tidy.xs:186: warning: data definition has no type or storage class Tidy.xs:188: error: syntax error before "if" Tidy.xs:189: error: conflicting types for 'PL_stack_sp' /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/thrdvar.h:34: error: previous declaration of 'PL_stack_sp' was here Tidy.xs:189: error: conflicting types for 'PL_stack_sp' /usr/local/lib/perl5/5.8.8/sun4-solaris/CORE/thrdvar.h:34: error: previous declaration of 'PL_stack_sp' was here Tidy.xs:189: error: `ax' undeclared here (not in a function) Tidy.xs:189: error: `tmpXSoff' undeclared here (not in a function) Tidy.xs:189: warning: data definition has no type or storage class Tidy.xs:189: error: syntax error before "return" Tidy.c:226: error: redefinition of 'PL_stack_sp' Tidy.xs:189: error: previous definition of 'PL_stack_sp' was here Tidy.c:226: error: `sp' undeclared here (not in a function) Tidy.c:226: warning: data definition has no type or storage class Tidy.c:227: error: syntax error before "return" Tidy.c: In function `XS_HTML__Tidy__tidy_release_date': Tidy.c:235: warning: initialization makes pointer from integer without a cast Tidy.xs:198: warning: assignment makes pointer from integer without a cast Tidy.c:250: warning: assignment makes integer from pointer without a cast Tidy.c: In function `boot_HTML__Tidy': Tidy.c:259: warning: initialization makes pointer from integer without a cast Tidy.c:267: warning: assignment makes integer from pointer without a cast /usr/ccs/bin/as: "<stdin>", line 20: error: redefinition of symbol "rc" /usr/ccs/bin/as: "<stdin>", line 65: error: redefinition of symbol "PL_stack_sp" /usr/ccs/bin/as: "<stdin>", line 19: warning: size of "rc" redefined /usr/ccs/bin/as: "<stdin>", line 64: warning: size of "PL_stack_sp" redefined make: *** [Tidy.o] Error 1 /usr/local/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible ***************** I have tried installing LIBTIDY from http://tidy.sourceforge.net/src/tidy_src.tgz but this file seems to be corrupted and cannot install LIBTIDY. Can you please let me know how to make it work? Please let me know if you have any questions. Thanks, Saurabh

Message body is not shown because it is too large.

HTML::Tidy now uses libtidyp. Try 1.54 and see how much you like it.
HTML::Tidy now uses libtidyp. Please try a newer version, 1.52 or higher.