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:
27406
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
carldoersch [...] comcast.net
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Compile bug
Date: Mon, 04 Jun 2007 12:59:52 +0000
To: bug-html-tidy@rt.cpan.org
From: carldoersch@comcast.net (Carl Doersch)
Hello, I'm running Red Hat 3.4.2-6.fc3, gcc version 3.4.2 (really old, I know...but I don't have a choice), and whenever I try to get the Tidy module the compilation fails like this: [root@server proc]# perl -MCPAN -e 'install HTML::Tidy' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 04 Jun 2007 06:08:30 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 /root/.cpan/sources/authors/id/P/PE/PETDANCE/HTML-Tidy-1.08.tar.gz ok Scanning cache /root/.cpan/build for sizes HTML-Tidy-1.08/ HTML-Tidy-1.08/lib/ HTML-Tidy-1.08/lib/HTML/ HTML-Tidy-1.08/lib/HTML/Tidy/ HTML-Tidy-1.08/lib/HTML/Tidy/Message.pm HTML-Tidy-1.08/lib/HTML/Tidy.pm HTML-Tidy-1.08/t/ HTML-Tidy-1.08/t/opt-00.t HTML-Tidy-1.08/t/cfg-for-parse.cfg HTML-Tidy-1.08/t/simple.t HTML-Tidy-1.08/t/segfault-form.t HTML-Tidy-1.08/t/wordwrap.cfg HTML-Tidy-1.08/t/roundtrip.t HTML-Tidy-1.08/t/too-many-titles.t HTML-Tidy-1.08/t/cfg-for-parse.t HTML-Tidy-1.08/t/wordwrap.t HTML-Tidy-1.08/t/venus.cfg HTML-Tidy-1.08/t/unicode.html HTML-Tidy-1.08/t/pod-coverage.t HTML-Tidy-1.08/t/00-load.t HTML-Tidy-1.08/t/levels.t HTML-Tidy-1.08/t/unicode.t HTML-Tidy-1.08/t/pod.t HTML-Tidy-1.08/t/extra-quote.t HTML-Tidy-1.08/t/ignore-text.t HTML-Tidy-1.08/t/ignore.t HTML-Tidy-1.08/t/venus.t HTML-Tidy-1.08/t/version.t HTML-Tidy-1.08/t/clean-crash.t HTML-Tidy-1.08/t/perfect.t HTML-Tidy-1.08/t/venus.html HTML-Tidy-1.08/t/message.t HTML-Tidy-1.08/Changes HTML-Tidy-1.08/Tidy.xs HTML-Tidy-1.08/MANIFEST HTML-Tidy-1.08/bin/ HTML-Tidy-1.08/bin/webtidy HTML-Tidy-1.08/perlcriticrc HTML-Tidy-1.08/ppport.h HTML-Tidy-1.08/README HTML-Tidy-1.08/Makefile.PL HTML-Tidy-1.08/META.yml Removing previously used /root/.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 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/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/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 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Tidy.c cc1: Invalid option `32' cc1: Invalid option `tune=pentium4' 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: `TidyBuffer' undeclared (first use in this function) Tidy.xs:53: (Each undeclared identifier is reported only once Tidy.xs:53: for each function it appears in.) Tidy.xs:53: parse error before `errbuf' Tidy.xs:54: `TidyDoc' undeclared (first use in this function) Tidy.xs:54: parse error before `tdoc' Tidy.c:71: `tidy_options' undeclared (first use in this function) Tidy.xs:58: `rc' undeclared (first use in this function) Tidy.xs:58: `tdoc' undeclared (first use in this function) Tidy.xs:58: `TidyCharEncoding' undeclared (first use in this function) Tidy.xs:60: `configfile' undeclared (first use in this function) Tidy.xs:65: `TidyOptionId' undeclared (first use in this function) Tidy.xs:65: parse error before `id' Tidy.xs:65: syntax error before `opt' Tidy.xs:65: `opt' undeclared (first use in this function) Tidy.xs:65: `id' undeclared (first use in this function) Tidy.xs:70: `errbuf' undeclared (first use in this function) Tidy.xs:75: `input' undeclared (first use in this function) Tidy.xs:82: `TidyNewline' undeclared (first use in this function) Tidy.xs:83: `TidyLF' undeclared (first use in this function) Tidy.xs:84: `newline' undeclared (first use in this function) Tidy.xs:86: `TidyCR' undeclared (first use in this function) Tidy.xs:85: warning: unreachable code at beginning of switch statement Tidy.c: At top level: Tidy.c:126: parse error before `}' Tidy.xs: In function `XS_HTML__Tidy__tidy_clean': Tidy.xs:114: `TidyBuffer' undeclared (first use in this function) Tidy.xs:114: parse error before `errbuf' Tidy.xs:115: parse error before `output' Tidy.xs:116: `TidyDoc' undeclared (first use in this function) Tidy.c:148: `tidy_options' undeclared (first use in this function) Tidy.xs:122: `rc' undeclared (first use in this function) Tidy.xs:122: `tdoc' undeclared (first use in this function) Tidy.xs:122: `TidyWrapLen' undeclared (first use in this function) Tidy.xs:124: `configfile' undeclared (first use in this function) Tidy.xs:131: `TidyCharEncoding' undeclared (first use in this function) Tidy.xs:135: `TidyOptionId' undeclared (first use in this function) Tidy.xs:135: parse error before `id' Tidy.xs:135: syntax error before `opt' Tidy.xs:135: `opt' undeclared (first use in this function) Tidy.xs:135: `id' undeclared (first use in this function) Tidy.xs:139: `errbuf' undeclared (first use in this function) Tidy.xs:143: `input' undeclared (first use in this function) Tidy.xs:151: `TidyForceOutput' undeclared (first use in this function) Tidy.xs:151: `yes' undeclared (first use in this function) Tidy.xs:155: `output' undeclared (first use in this function) Tidy.xs:167: `TidyNewline' undeclared (first use in this function) Tidy.xs:168: `TidyLF' undeclared (first use in this function) Tidy.xs:169: `newline' undeclared (first use in this function) Tidy.xs:171: `TidyCR' undeclared (first use in this function) Tidy.xs:170: warning: unreachable code at beginning of switch statement Tidy.c: At top level: Tidy.c:227: parse error before `}' Tidy.xs: In function `XS_HTML__Tidy__tidy_release_date': Tidy.xs:198: warning: assignment makes pointer from integer without a cast make: *** [Tidy.o] Error 1 /usr/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 should note that I have libtidy, but it's the latest verion that works on fedora 3: [root@server proc]# rpm -q libtidy libtidy-0.99.0-2.20041214 Any ideas on a solution? Thanks.
HTML::Tidy now uses libtidyp. Please try a newer version, 1.52 or higher.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.