Hi,
I have been trying to install the HTML::Parser Perl module as a prerequisite
for installing the LWP perl module. I ran 'perl Makefile.PL' to generate a
Makefile.
However I've been trying to run 'make' without success. When I run 'make',
I get the following set of messages:-
I would appreciate any help you can give me on this issue.

----------------------------------------------------------------------------
----------------------------------------------------------------------------
---------
cc -c   -xO3 -xdepend     -DVERSION=\"3.26\"  -DXS_VERSION=\"3.26\" -KPIC
-I/usr
/perl5/5.00503/sun4-solaris/CORE -DMARKED_SECTION Parser.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: Parser.c: linker input file unused because linking not done
Running Mkbootstrap for HTML::Parser ()
chmod 644 Parser.bs
LD_RUN_PATH="" cc -o blib/arch/auto/HTML/Parser/Parser.so  -G Parser.o
cc: Parser.o: No such file or directory
cc: No input files
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/HTML/Parser/Parser.
so'
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--------

I am running this on a Solaris 8 box, using the gcc 3.0 compiler. From the
error messages, it looks as if the -KPID flag in the Makefile is confusing
the compiler. I have attached a copy of the Makefile generated by the 'perl
Makefile.PL' command.

============================================================================
====

 <<Makefile>> 

Thanks,
Archie Winful

ML Enterprise
Mobile +44 (0)7977 227446
www.mlenterprise.com


Attachment: Makefile
Description: Binary data

Reply via email to