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

People
Owner:
Nobody in particular
Requestors:
GMate [...] flr.follett.com
Cc:
AdminCc:

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



Subject: Problem installing HTML::Tidy in 64-bit environment
Date: Tue, 7 Nov 2006 09:47:21 -0600
To: bug-html-tidy@rt.cpan.org
From: GMate@flr.follett.com

We are trying to install HTML::Tidy on x86_64 distribution of RHEL.  Here is the output from running make from source.

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.2/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5.8.2/ExtUtils/typemap  Tidy.xs > Tidy.xsc && mv Tidy.xsc Tidy.c

Please specify prototyping behavior for Tidy.xs (see perlxs manual)

cc -c  -I. -I/usr/include/tidy -I/usr/local/include/tidy -I/sw/include/tidy -DPERL_POLLUTE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2   -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fpic "-I/usr/local/lib/perl5/5.8.2/x86_64-linux/CORE"   Tidy.c

Running Mkbootstrap for HTML::Tidy ()

chmod 644 Tidy.bs

rm -f blib/arch/auto/HTML/Tidy/Tidy.so

LD_RUN_PATH="" cc  -shared -L/usr/lib64 Tidy.o  -o blib/arch/auto/HTML/Tidy/Tidy.so   -ltidy

/usr/bin/ld: /usr/local/lib/libtidy.a(buffio.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC

/usr/local/lib/libtidy.a: could not read symbols: Bad value

collect2: ld returned 1 exit status

make: *** [blib/arch/auto/HTML/Tidy/Tidy.so] Error 1
Subject: Re: [rt.cpan.org #22884] AutoReply: Problem installing HTML::Tidy in 64-bit environment
Date: Tue, 7 Nov 2006 11:32:40 -0600
To: bug-HTML-Tidy@rt.cpan.org
From: GMate@flr.follett.com

The following line was modified in the makefile for the tidy source:

CC= gcc -fPIC

After building and installing the tidy source, the build of HTML::Tidy was successful.
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.