tsandqui has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to compile HTML::Parser and it looks like it is trying to create a PA-RISC 2.0 module when the machine I'm compiling on is PA-RISC 1.1. I'm compiling HTML::Parser 3.25 on perl 5.6.0 on an HP L2000.

Running Mkbootstrap for HTML::Parser ()
        chmod 644 Parser.bs
        LD_RUN_PATH="" ld -o blib/arch/auto/HTML/Parser/Parser.sl  -b -s -a shar
ed Parser.o     
ld: (Warning) At least one PA 2.0 object file (Parser.o) was detected. The linke
d output may not run on a PA 1.x system.
        chmod 755 blib/arch/auto/HTML/Parser/Parser.sl
        cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs
        chmod 644 blib/arch/auto/HTML/Parser/Parser.bs
I've tried adding the portablility flags as mentioned here: http://www.perldoc.com/perl5.6/README.hpux.html#Portability%20Between%20PA-RISC%20Versions
  • Comment on Problems compiling HTML::Parser on PA-RISC1.1 system

Replies are listed 'Best First'.
Re: Problems compiling HTML::Parser on PA-RISC1.1 system
by VSarkiss (Monsignor) on Jun 20, 2001 at 23:53 UTC
    Maybe I'm not reading your question right. I've never used an L-class machine, but according to this HP document, the L2000 uses the PA-8500 CPU, which, like all the 8000 CPUs, is PA-RISC 2.0.

    This isn't really a Perl question; it's more of an HP-UX or compiler question. You may have better luck getting answers on an HP newsgroup or forum.

    HTH

      Thanks for the info. You're right. The L2000 is a PA 2.0 machine.
      The reason I thought it was a 1.1 is that there are 1.1 binaries on the system. I didn't even think of backwards compatibility.