Operating System - HP-UX
1834207 Members
2521 Online
110066 Solutions
New Discussion

C compiler error when trying to load Perl 5

 
Randy Durden
Frequent Advisor

C compiler error when trying to load Perl 5

I'm currently trying to load Perl 5 on a HP 11.11 machine.
The install errors out stating "You need to find a working C compiler.
I did a
swlist -l product | grep Compiler

The output is below

CPS B.11.11 Compiler Parallel Support Library

Can I download a compiler or is it on a CD?
4 REPLIES 4
Randy Durden
Frequent Advisor

Re: C compiler error when trying to load Perl 5

I have the same output from the swlist and the Perl5 has loaded with no problem.
James R. Ferguson
Acclaimed Contributor

Re: C compiler error when trying to load Perl 5

Hi Randy:

You can load a pre-compiled Perl or build one from the source. If you choose to build one from the source, you will need either the HP-UX C compiler (not free) or the gcc (free) one.

The "bundled" C-compiler supplied without cost on HP-UX is useless for anything much more than simple kernel generation.

Perl can be obtained in binary form here:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

(or):

http://mirrors.develooper.com/hpux/

As for the compilers, see:

http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA

...or for 'gcc' Merijn's site:

http://mirrors.develooper.com/hpux/downloads.html


Regards!

...JRF...
Randy Durden
Frequent Advisor

Re: C compiler error when trying to load Perl 5

JRF

I'm fairly new to the HP UX envirnoment.

I have downloaded the the PERL5.8

What do I need to do for the compiler?
James R. Ferguson
Acclaimed Contributor

Re: C compiler error when trying to load Perl 5

Hi (again):

> I have downloaded the the PERL5.8

Fine. Source or binary. If a pre-compiled binary, then you don't need a C-compiler unless any modules you want to add require compilation. In that case, you will need the compiler (HP-UX or gcc) that matches what the Perl distribution was compiled with. 'perl -V:cc' will show that.

Regards!

...JRF...