Hello,
     
     I have downloaded HTML::Parser (HTML::Parser-3.04) from 
     http://www.linpro.no/lwp/.
     
     
     I am running a Sun Ultra2 (Solaris 2.6).
     
     My current Perl version is: 5.004_04 built for sun4-solaris.
     
     I am using Sparc Works Prof C Version 4.0.
     
     I change directory to the new moduale relase (HTML::Parser-3.04).
     
     I set:
          setenv LD_LIBRARY_PATH ${cwd}:${LD_LIBRARY_PATH}
        set path = ( $path /perl/bin /usr/ucb /usr/ccs/bin )
     
     
     
     I run perl Makefile.PL and all is well.
        
     I run make and get the following errors:
     
     derry29% make
     mkdir ./blib
     mkdir ./blib/lib
     mkdir ./blib/lib/HTML
     mkdir ./blib/arch
     mkdir ./blib/arch/auto
     mkdir ./blib/arch/auto/HTML
     mkdir ./blib/arch/auto/HTML/Parser
     mkdir ./blib/lib/auto
     mkdir ./blib/lib/auto/HTML
     mkdir ./blib/lib/auto/HTML/Parser
     mkdir ./blib/man3
     cp Parser.pm ./blib/lib/HTML/Parser.pm
     cp lib/HTML/Entities.pm ./blib/lib/HTML/Entities.pm
     cp lib/HTML/Filter.pm ./blib/lib/HTML/Filter.pm
     cp lib/HTML/HeadParser.pm ./blib/lib/HTML/HeadParser.pm
     cp lib/HTML/TokeParser.pm ./blib/lib/HTML/TokeParser.pm
     cp lib/HTML/LinkExtor.pm ./blib/lib/HTML/LinkExtor.pm
     /perl/bin/perl mkhctype >hctype.h
     /perl/bin/perl mkpfunc >pfunc.h
     /perl/bin/perl -I/perl/lib/sun4-solaris/5.00404 -I/perl/lib 
     /perl/lib/ExtUtils/xsubpp  -typemap /perl/lib/ExtUtils/typemap 
     -typemap typemap Parser.xs >Parser.tc && mv Parser.tc Parser.c
     cc -c        -DVERSION=\"3.04\"  -DXS_VERSION=\"3.04\" -Kpic 
     -I/perl/lib/sun4-solaris/5.00404/CORE -DMARKED_SECTION Parser.c
     "Parser.xs", line 33: invalid compiler control line in ".i" file
     "Parser.xs", line 34: invalid compiler control line in ".i" file
     "Parser.xs", line 38: invalid compiler control line in ".i" file
     "./util.c", line 59: undefined symbol: PL_hexdigit
     "./util.c", line 64: operands must have integral type: op "&"
     "./util.c", line 64: operands must have integral type: op "|"
     "./hparser.c", line 322: undefined symbol: PL_sv_undef
     "./hparser.c", line 322: warning: assignment type mismatch:
             pointer to struct sv {pointer to void sv_any, ulong sv_refcnt, 
     ulong sv_flags} "=" pointer to int
     "./hparser.c", line 331: undefined symbol: PL_sv_undef
     "./hparser.c", line 331: warning: assignment type mismatch:
             pointer to struct sv {pointer to void sv_any, ulong sv_refcnt, 
     ulong sv_flags} "=" pointer to int
     "./hparser.c", line 1013: warning: statement not reached
     "Parser.xs", line 255: undefined symbol: PL_sv_undef
     "Parser.xs", line 255: operands have incompatible types:
              pointer to struct sv {pointer to void sv_any, ulong 
     sv_refcnt, ulong sv_flags} ":" pointer to int
     "Parser.xs", line 294: undefined symbol: PL_sv_undef
     "Parser.xs", line 294: warning: assignment type mismatch:
             pointer to struct sv {pointer to void sv_any, ulong sv_refcnt, 
     ulong sv_flags} "=" pointer to int
     "Parser.c", line 366: warning: statement not reached
     "Parser.c", line 391: warning: statement not reached
     *** Error code 2
     make: Fatal error: Command failed for target `Parser.o'
     derry29% 
     
     
     I am sure this problem is my fault.
     Can anyone point me in a direction to fix my problem?
     
     Thank You
     Eric Emerson
     [EMAIL PROTECTED]

Reply via email to