Operating System - HP-UX
1753336 Members
4714 Online
108792 Solutions
New Discussion юеВ

Re: Perl 5.6.1 Installation

 
Scottt
Occasional Advisor

Perl 5.6.1 Installation

I am trying to compile Perl 5.6.1 on HP-UX 11.00 with HP aC++ Compiler (S800) (B3913DB). The product is installed in /opt/aCC/bin/aCC. Can I use the stated compiler to compile Perl 5.6.1? If so, what are the command line options to do the same? If not, what can I use to compile Perl? I tried compiling using sh Configure -Dcc=/opt/aCC/bin/aCC and it generated the error 328: "gccvers.c", line 10 # Function 'exit' has not been defined yet; cannot call. This is followed by "Your C compiler /opt/aCC/bin/aCC doesn't seem to be working!". Any help is much appreciated
3 REPLIES 3
Stefan Farrelly
Honored Contributor

Re: Perl 5.6.1 Installation


why waste your time trying to compile it when you can download Perl precompiled from HP;

http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.6.1/
Im from Palmerston North, New Zealand, but somehow ended up in London...
Scottt
Occasional Advisor

Re: Perl 5.6.1 Installation

Thanks Stefan,

What about installing DBI modules? DO you need to compile those ????

If so what compiler do we use?

Thanks again
Jordan Bean
Honored Contributor

Re: Perl 5.6.1 Installation

I use the HP ANSI C compiler to build PERL. I also have HP aC++, but I don't think it's being used. If you're building PERL 5.6.1 on HPUX 11.x, it is recommended to build non-threaded PERL linked with pthread for the latest DBD::Oracle. Use the information in the attached `perl -V` output while walking through Configure.