develooper Front page | perl.libwww | Postings from January 2002

Re: HTML::Parser installation problems on Solaris 8

Thread Previous
From:
Gisle Aas
Date:
January 11, 2002 07:55
Subject:
Re: HTML::Parser installation problems on Solaris 8
Message ID:
lrvge8c290.fsf@caliper.activestate.com
"KEENAN, Frank" <keenanf@oup.co.uk> writes:

> Any ideas how I can get the HTML::Parser to install on a SUN running Solaris 8 
> perl v5.6.1 and gcc version 3.0.1

Can you compile a simple hello world program with the gcc you have?
Your compiler setup seems to be non-functional.

Regards,
Gisle

> I get the following errors:
> 
> 	  CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.25.tar.gz
> 
> 	Checking if your kit is complete...
> 	Looks good
> 	Processing hints file hints/solaris.pl
> 	Turning off optimizations to avoid compiler bug
> 	Writing Makefile for HTML::Parser
> 	cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
> 	cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
> 	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/Filter.pm blib/lib/HTML/Filter.pm
> 	/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris
> -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp
> -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap
> Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
> 	/usr/local/bin/perl mkhctype >hctype.h
> 	/usr/local/bin/perl mkpfunc >pfunc.h
> 	gcc -c  -fno-strict-aliasing -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64    -DVERSION=\"3.25\"
> -DXS_VERSION=\"3.25\" -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE
> -DMARKED_SECTION Parser.c
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 3028: error: unknown
> opcode ".subsection"
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 3028: error: statement
> syntax
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 3052: error: unknown
> opcode ".previous"
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 3052: error: statement
> syntax
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 9042: error: unknown
> opcode ".subsection"
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 9042: error: statement
> syntax
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 9050: error: unknown
> opcode ".previous"
> 	/usr/ccs/bin/as: "/var/tmp/cc2Xd52Y.s", line 9050: error: statement
> syntax

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About