Date: | Mon, 21 Jun 2004 16:48:53 -0400 |
From: | jimhall1 [...] optonline.net |
Subject: | Error in compiling on solaris 10 |
To: | bug-html-tidy [...] rt.cpan.org |
Hi,
Have successfullycompiled/ installed htmltidy on solaris 10 x86, but I am having trouble building the HTML::Tidy ver1.04.
I get the following error message:
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ltidy
but it there in /usr/local/lib:
$ ls /usr/local/lib
libtidy.a
$ echo $LD_LIBRARY_PATH
/usr/sfw/lib:/opt/sfw/lib:/usr/openwin/lib:/usr/dt/lib:/opt/csw/lib:/opt/sfw/gcc-3/lib:/opt/RealPlayer8/uw7lib:/export/local/lib:/usr/local/lib
I tried playing with the Makefile.PL and made the following change:
added a print statement to the file
print "\$libs is: $libs\n";
print "\@vars is: @vars\n";
This returns:
$ perl Makefile.PL
Note (probably harmless): No library found for -ltidy
$libs is:
@vars is: ARRAY(0x815d804)
Here is detailed output. Any help would be appreciated.
JIM
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/perl5/5.8.3/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.3/lib/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 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.04\" -DXS_VERSION=\"1.04\" -KPIC "-I/usr/perl5/5.8.3/lib/i86pc-solaris-64int/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 -G Tidy.o -o blib/arch/auto/HTML/Tidy/Tidy.so
chmod 755 blib/arch/auto/HTML/Tidy/Tidy.so
cp Tidy.bs blib/arch/auto/HTML/Tidy/Tidy.bs
chmod 644 blib/arch/auto/HTML/Tidy/Tidy.bs
cp bin/webtidy blib/script/webtidy
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/webtidy
Manifying blib/man3/HTML::Tidy::Message.3
Manifying blib/man3/HTML::Tidy.3
/usr/xpg4/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load............# Failed test (t/00.load.t at line 5)
# Tried to use 'HTML::Tidy'.
# Error: Can't load '/export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so' for module HTML::Tidy: ld.so.1: /usr/bin/perl: fatal: relocation error: file /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so: symbol tidyCreate: referenced symbol not found at /usr/perl5/5.8.3/lib/i86pc-solaris-64int/DynaLoader.pm line 229.
# at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
# Looks like you failed 1 tests of 2.
t/00.load............dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/2 tests, 50.00% okay
t/extra-quote........# Failed test (t/extra-quote.t at line 9)
# Tried to use 'HTML::Tidy'.
# Error: Can't load '/export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so' for module HTML::Tidy: ld.so.1: /usr/bin/perl: fatal: relocation error: file /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so: symbol tidyCreate: referenced symbol not found at /usr/perl5/5.8.3/lib/i86pc-solaris-64int/DynaLoader.pm line 229.
# at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
Use of inherited AUTOLOAD for non-method HTML::Tidy::_tidy_messages() is deprecated at /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib/HTML/Tidy.pm line 173, <DATA> line 1.
Can't locate auto/HTML/Tidy/_tidy_messa.al in @INC (@INC contains: /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3 /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3 /export/local/jhall/lib/perl5/lib/site_perl /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl
5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl5/vendor_perl . /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl5/vendor_perl .) at /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib/HTML/Tidy.pm line 173
# Looks like you planned 4 tests but only ran 2.
# Looks like your test died just after 2.
t/extra-quote........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3-4
Failed 3/4 tests, 25.00% okay
t/ignore-text........# Failed test (t/ignore-text.t at line 6)
# Tried to use 'HTML::Tidy'.
# Error: Can't load '/export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so' for module HTML::Tidy: ld.so.1: /usr/bin/perl: fatal: relocation error: file /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so: symbol tidyCreate: referenced symbol not found at /usr/perl5/5.8.3/lib/i86pc-solaris-64int/DynaLoader.pm line 229.
# at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
Use of inherited AUTOLOAD for non-method HTML::Tidy::
_tidy_messages() is deprecated at /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib/HTML/Tidy.pm line 173, <DATA> line 1.
Can't locate auto/HTML/Tidy/_tidy_messa.al in @INC (@INC contains: /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3 /export/local/jhall/lib/perl5/lib/site_perl/5.8.3/i86pc-solaris-64int /export/local/jhall/lib/perl5/lib/site_perl/5.8.3 /export/local/jhall/lib/perl5/lib/site_perl /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl
5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl5/vendor_perl . /usr/perl5/5.8.3/lib/i86pc-solaris-64int /usr/perl5/5.8.3/lib /usr/perl5/site_perl/5.8.3/i86pc-solaris-64int /usr/perl5/site_perl/5.8.3 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.3/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.3 /usr/perl5/vendor_perl .) at /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/lib/HTML/Tidy.pm line 173
# Looks like you planned 3 tests but only ran 2.
# Looks like your test died just after 2.
t/ignore-text........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 3
Failed 2/3 tests, 33.33% okay
t/ignore.............# Failed test (t/ignore.t at line 6)
# Tried to use 'HTML::Tidy'.
# Error: Can't load '/export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so' for module HTML::Tidy: ld.so.1: /usr/bin/perl: fatal: relocation error: file /export/local/jhall/.cpan/build/HTML-Tidy-1.04/blib/arch/auto/HTML/Tidy/Tidy.so: symbol tidyCreate: referenced symbol not found at /usr/perl5/5.8.3/lib/i86pc-solaris-64int/DynaLoader.pm line 229.
There is more if it will help.