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