Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Compiling Module

by Eliya (Vicar)
on Jun 01, 2012 at 15:40 UTC ( #973804=note: print w/ replies, xml ) Need Help??


in reply to Compiling Module

... gcc: +DAportable: No such file or directory gcc: +DS2.0: No such file or directory gcc: +Z: No such file or directory gcc: +Onolimit: No such file or directory gcc: +Opromote_indirect_calls: No such file or directory gcc: +Z: No such file or directory cc1: unrecognized option `-fast' *** Error exit code 1

gcc doesn't understand the HP compiler specific options +DAportable, +DS2.0, +Z, etc.

In case you're wondering where they're coming from:  Perl remembers how exactly it's been built, to be able to produce compatible extensions; and your perl apparently hasn't been built with gcc.

So, either use HP's system compiler to build extension modules for your existing perl, or build your own perl with gcc, in which case you can then also use it to compile extension modules.


Comment on Re: Compiling Module
Select or Download Code
Re^2: Compiling Module
by pkhayeskp (Initiate) on Jun 01, 2012 at 15:46 UTC
    Thanks for the info.
      FWIW, FYI, an extra piece of advice, build an extra perl with gcc , don't overwrite the system perl, it will undoubtedly break some system utilities (more work for you)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973804]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-07-31 17:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls