Module HTML::HeadParser Problem

Dear Sir,

I would like information to your about install HTML::HeadParser problem
as follow:

perl Makefile.PL

Processing hints file hints/solaris.pl
Turning off optimizations to avoid compiler bug
Writing Makefile for HTML::Parser

make

cc -c -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.41\"
-DXS_VERSION=\"3.41\" -fPIC
"-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" -DMARKED_SECTION
Parser.c
/usr/ucb/cc: language optional software package not installed
make: *** [Parser.o] Error 1

Could your please give more information for this error.

Best Regards,

Kanchit Petnil
kanchit [ Mi, 25 Januar 2006 00:59 ] [ ID #1157082 ]

Re: Module HTML::HeadParser Problem

Kanchit Petnil <kanchit [at] nbi.cattelecom.com> writes:

> perl Makefile.PL
>
> Processing hints file hints/solaris.pl
> Turning off optimizations to avoid compiler bug
> Writing Makefile for HTML::Parser
>
> make
>
> cc -c -fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.41\"
> -DXS_VERSION=\"3.41\" -fPIC
> "-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" -DMARKED_SECTION
> Parser.c
> /usr/ucb/cc: language optional software package not installed
> make: *** [Parser.o] Error 1
>
> Could your please give more information for this error.

You need to have the same compiler available that was used to build
perl itself. Where did you get this perl?

You might also consider installing ActivePerl for Solaris. It comes
with HTML-Parser out-of-the-box and you can install additional stuff
with ppm without having the compiler available.

--Gisle
gisle [ Di, 24 Januar 2006 13:32 ] [ ID #1157085 ]

Re: Module HTML::HeadParser Problem

>
> cc -c -fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"3.41\"
> -DXS_VERSION=\"3.41\" -fPIC
> "-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE" -DMARKED_SECTION
> Parser.c
> /usr/ucb/cc: language optional software package not installed
> make: *** [Parser.o] Error 1
>

You don't have the Solaris C compiler installed. You need to go to
sun.com and download and install Sun Studio.

xoa

--
Andy Lester => andy [at] petdance.com => www.petdance.com => AIM:petdance
Andy [ Di, 24 Januar 2006 17:20 ] [ ID #1157088 ]
Perl » perl.libwww » Module HTML::HeadParser Problem

Vorheriges Thema: Setting content type.
Nächstes Thema: need some help