On Thu, 14 Feb 2008, Capacio, Paula J wrote:
> My company just acquired an HP Itanium server; a perl 5.8.8 depot file
> was installed on it and perl-v indicates:
> This is perl, v5.8.8 built for IA64.ARCHREV_0-thread-multi-LP64
> (with 33 registered patches, see perl -V for more detail)
> Copyright 1987-2006, Larry Wall
> Binary build 817.1 [268662] provided by ActiveState
> http://www.ActiveState.com
> Built Sep 19 2006 13:50:51
> 
> I need to install a variety of modules to support other applications;

There are PPM repositories for HP-UX (both PA-RISC and Itanium, 32-bit
and 64-bit each).  You may be able to install your module simply with:

    ppm install Module

If the module is available on CPAN and compiles/tests cleanly on HP-UX.

> some of these modules require compilation. The UNIX admins installed an
> HP compiler bundle on the server; there are two compilers in that
> bundle; 'which cc' points to the first one
> /opt/aCC/bin/cc:
>         HP C/aC++ for Integrity Servers B3910B A.06.15 [May 16 2007]

aCC is the proper ANSI C/C++ compiler from HP.  You need to use this
one.

> /usr/ccs/bin/cc_bundled:
>         HP aC++/C for Itanium(R)-based systems B3910B A.05.50 [May 15
> 2003]

This is the free C compiler that comes bundled with HP-UX and doesn't
need to be installed separately. Unfortunately it doesn't support ANSI
C, which is required by Perl nowadays.  You cannot use this one.
 
> I have always heard that "you should compile modules using the same
> compiler that built perl".  perl -V shows: cc='cc' ... ccversion='B3910B
> A.05.55'.  Does that mean the same exact version? More to the point, can
> I safely compile modules using one or both of the compilers above?  Does
> it matter which?

You can use either aCC or GCC to compile module for ActivePerl on HP-UX.
ActivePerl would detect automatically if you don't have aCC on your PATH
and try to use GCC instead, but since you already have aCC, this doesn't
matter to you.

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to