Subject: | HTML Parser 3.45 fails to build on Solaris 10 |
The build script tries to use the Sun's C compiler on systems which have gcc installed, even if the CC environment variable has been set up.
bash-3.00# CC=/opt/sfw/bin/gcc PATH=$PATH:/usr/ccs/bin:/opt/sfw/bin perl -eshell -MCPAN
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled
Can't ioctl TIOCGETP: Illegal seek
Consider installing Term::ReadKey from CPAN site nearby
at http://www.perl.com/CPAN
Or use
perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
Show quoted text
cpan> install HTML::Parser
CPAN: Storable loaded ok
Going to read /.cpan/Metadata
Database was generated on Thu, 07 Apr 2005 05:54:02 GMT
Running install for module HTML::Parser
Running make for G/GA/GAAS/HTML-Parser-3.45.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser-3.45.tar.gz ok
Scanning cache /.cpan/build for sizes
x HTML-Parser-3.45, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/t, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/t/xml-mode.t, 2125 bytes, 5 tape blocks
x HTML-Parser-3.45/t/textarea.t, 1421 bytes, 3 tape blocks
x HTML-Parser-3.45/t/filter-methods.t, 1312 bytes, 3 tape blocks
x HTML-Parser-3.45/t/crashme.t, 774 bytes, 2 tape blocks
x HTML-Parser-3.45/t/handler-eof.t, 970 bytes, 2 tape blocks
x HTML-Parser-3.45/t/unicode-bom.t, 1272 bytes, 3 tape blocks
x HTML-Parser-3.45/t/argspec-bad.t, 1047 bytes, 3 tape blocks
x HTML-Parser-3.45/t/dtext.t, 1062 bytes, 3 tape blocks
x HTML-Parser-3.45/t/callback.t, 1107 bytes, 3 tape blocks
x HTML-Parser-3.45/t/entities.t, 8954 bytes, 18 tape blocks
x HTML-Parser-3.45/t/argspec.t, 3747 bytes, 8 tape blocks
x HTML-Parser-3.45/t/comment.t, 730 bytes, 2 tape blocks
x HTML-Parser-3.45/t/declaration.t, 773 bytes, 2 tape blocks
x HTML-Parser-3.45/t/offset.t, 1205 bytes, 3 tape blocks
x HTML-Parser-3.45/t/handler.t, 1398 bytes, 3 tape blocks
x HTML-Parser-3.45/t/plaintext.t, 871 bytes, 2 tape blocks
x HTML-Parser-3.45/t/case-sensitive.t, 1888 bytes, 4 tape blocks
x HTML-Parser-3.45/t/cases.t, 3187 bytes, 7 tape blocks
x HTML-Parser-3.45/t/marked-sect.t, 2420 bytes, 5 tape blocks
x HTML-Parser-3.45/t/filter.t, 945 bytes, 2 tape blocks
x HTML-Parser-3.45/t/tokeparser.t, 3645 bytes, 8 tape blocks
x HTML-Parser-3.45/t/linkextor-rel.t, 970 bytes, 2 tape blocks
x HTML-Parser-3.45/t/entities2.t, 1103 bytes, 3 tape blocks
x HTML-Parser-3.45/t/skipped-text.t, 1588 bytes, 4 tape blocks
x HTML-Parser-3.45/t/linkextor-base.t, 1057 bytes, 3 tape blocks
x HTML-Parser-3.45/t/default.t, 864 bytes, 2 tape blocks
x HTML-Parser-3.45/t/headparser.t, 3566 bytes, 7 tape blocks
x HTML-Parser-3.45/t/uentities.t, 2811 bytes, 6 tape blocks
x HTML-Parser-3.45/t/headparser-http.t, 484 bytes, 1 tape blocks
x HTML-Parser-3.45/t/script.t, 1255 bytes, 3 tape blocks
x HTML-Parser-3.45/t/stack-realloc.t, 387 bytes, 1 tape blocks
x HTML-Parser-3.45/t/magic.t, 989 bytes, 2 tape blocks
x HTML-Parser-3.45/t/options.t, 919 bytes, 2 tape blocks
x HTML-Parser-3.45/t/attr-encoded.t, 602 bytes, 2 tape blocks
x HTML-Parser-3.45/t/unicode.t, 4546 bytes, 9 tape blocks
x HTML-Parser-3.45/t/argspec2.t, 411 bytes, 1 tape blocks
x HTML-Parser-3.45/t/ignore.t, 600 bytes, 2 tape blocks
x HTML-Parser-3.45/t/largetags.t, 735 bytes, 2 tape blocks
x HTML-Parser-3.45/t/unbroken-text.t, 1241 bytes, 3 tape blocks
x HTML-Parser-3.45/t/msie-compat.t, 1236 bytes, 3 tape blocks
x HTML-Parser-3.45/t/api_version.t, 368 bytes, 1 tape blocks
x HTML-Parser-3.45/t/parsefile.t, 1112 bytes, 3 tape blocks
x HTML-Parser-3.45/t/parser.t, 3805 bytes, 8 tape blocks
x HTML-Parser-3.45/t/process.t, 851 bytes, 2 tape blocks
x HTML-Parser-3.45/t/pullparser.t, 1091 bytes, 3 tape blocks
x HTML-Parser-3.45/eg, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/eg/hlc, 547 bytes, 2 tape blocks
x HTML-Parser-3.45/eg/hanchors, 1109 bytes, 3 tape blocks
x HTML-Parser-3.45/eg/htextsub, 580 bytes, 2 tape blocks
x HTML-Parser-3.45/eg/htitle, 434 bytes, 1 tape blocks
x HTML-Parser-3.45/eg/hstrip, 1714 bytes, 4 tape blocks
x HTML-Parser-3.45/eg/hrefsub, 2782 bytes, 6 tape blocks
x HTML-Parser-3.45/eg/hform, 1846 bytes, 4 tape blocks
x HTML-Parser-3.45/eg/hdump, 541 bytes, 2 tape blocks
x HTML-Parser-3.45/eg/htext, 548 bytes, 2 tape blocks
x HTML-Parser-3.45/lib, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/lib/HTML, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/lib/HTML/Entities.pm, 13781 bytes, 27 tape blocks
x HTML-Parser-3.45/lib/HTML/PullParser.pm, 5784 bytes, 12 tape blocks
x HTML-Parser-3.45/lib/HTML/Filter.pm, 2694 bytes, 6 tape blocks
x HTML-Parser-3.45/lib/HTML/TokeParser.pm, 9601 bytes, 19 tape blocks
x HTML-Parser-3.45/lib/HTML/LinkExtor.pm, 4589 bytes, 9 tape blocks
x HTML-Parser-3.45/lib/HTML/HeadParser.pm, 6722 bytes, 14 tape blocks
x HTML-Parser-3.45/util.c, 6082 bytes, 12 tape blocks
x HTML-Parser-3.45/Makefile.PL, 602 bytes, 2 tape blocks
x HTML-Parser-3.45/hints, 0 bytes, 0 tape blocks
x HTML-Parser-3.45/hints/solaris.pl, 117 bytes, 1 tape blocks
x HTML-Parser-3.45/Parser.pm, 38604 bytes, 76 tape blocks
x HTML-Parser-3.45/TODO, 1207 bytes, 3 tape blocks
x HTML-Parser-3.45/MANIFEST, 3395 bytes, 7 tape blocks
x HTML-Parser-3.45/tokenpos.h, 1142 bytes, 3 tape blocks
x HTML-Parser-3.45/Changes, 33035 bytes, 65 tape blocks
x HTML-Parser-3.45/mkhctype, 1333 bytes, 3 tape blocks
x HTML-Parser-3.45/Parser.xs, 11804 bytes, 24 tape blocks
x HTML-Parser-3.45/mkpfunc, 563 bytes, 2 tape blocks
x HTML-Parser-3.45/hparser.c, 40275 bytes, 79 tape blocks
x HTML-Parser-3.45/README, 1979 bytes, 4 tape blocks
x HTML-Parser-3.45/hparser.h, 2646 bytes, 6 tape blocks
x HTML-Parser-3.45/typemap, 67 bytes, 1 tape blocks
Removing previously used /.cpan/build/HTML-Parser-3.45
CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.45.tar.gz
Checking if your kit is complete...
Looks good
Processing hints file hints/solaris.pl
Writing Makefile for HTML::Parser
/usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
/usr/bin/perl mkhctype >hctype.h
/usr/bin/perl mkpfunc >pfunc.h
Running Mkbootstrap for HTML::Parser ()
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
chmod 644 Parser.bs
cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs
chmod 644 blib/arch/auto/HTML/Parser/Parser.bs
cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"3.45\" -DXS_VERSION=\"3.45\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DMARKED_SECTION Parser.c
/bin/sh: cc: not found
gmake: *** [Parser.o] Error 1
/opt/sfw/bin/gmake -j3 -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Show quoted textcpan>