- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling Perl 5.6.1 on HP-UX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 01:44 AM
03-04-2005 01:44 AM
Compiling Perl 5.6.1 on HP-UX 11.11
I have some trouble compiling Perl 5.6.1 on HP-UX 11.11. I have downloaded the source and installed B3899BA (HP C/ANSI C Developer's Bundle for HP-UX 11.i) as well as some patches for this bundle.
If I run the perl Configure script I get "The bundled C compiler is not ANSI-compliant, and so cannot be used to build perl."
I checked that PATH is set to include /opt/ansic/bin before /bin and "which cc" shows /opt/ansic/bin/cc is used. How can I fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 01:51 AM
03-04-2005 01:51 AM
Re: Compiling Perl 5.6.1 on HP-UX 11.11
Then decide why you want an old version of perl
If you understand that, fetch whatever version pleases you best, and install.
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 02:43 AM
03-04-2005 02:43 AM
Re: Compiling Perl 5.6.1 on HP-UX 11.11
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 03:11 AM
03-04-2005 03:11 AM
Re: Compiling Perl 5.6.1 on HP-UX 11.11
also i've found it easier at our clients site to get a clearance for new software if it was built in-house. (no logic in that, but experience :)
But today I'd also just grab the prebuilt binaries from mervin (or the old perl-5.6.1-threaded.tar in my home directory)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2005 04:42 AM
03-04-2005 04:42 AM
Re: Compiling Perl 5.6.1 on HP-UX 11.11
file (though see the section on 64-bit perl below)." If I do an export cc='cc -Aa' before the ./Configure, the result is the same error.
Unfortunatly I have to stick to this version and compiler since I have to create a build environment for building perl modules that will be used with the perl 5.6.1 that comes with HP OpenView Operations. I use the same Configure options like the one that I get from perl -V from the OpenView perl.
I use this for Configure:
config_args='-Dprefix=/opt/OV/contrib/perl -Dusemultiplicity -Ubincompat5005 -Uusemymalloc -Dusethreads -Accflags=+DA1.1 +DS1.1 -DPERL_IMPLICIT_SYS -Aarchobjs=perllib.o -Duseshrplib -Dlibperl=libopcperl.sl -de'
Any help on how to resolve this is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2005 08:42 AM
03-09-2005 08:42 AM
Re: Compiling Perl 5.6.1 on HP-UX 11.11
Configure -Dcc=...
the expoted value as you say you do it will not be picked up by Configure
BUT
you say that you still get the same error, which indicates that you are not using HP's C-ANSI-C compiler, but the bundled HP C compiler, which is not ANSI compliant and cannot be used to build Perl.
That is what the error states.
That there is nothing in README.hpux about using HP C-ANSI-C, is because noone that actually used that compiler to build Perl has encountered problems serious enough to be mentioned in that document.
If you have installed HP C-ANSI-C, and your $PATH can find it before the bundled compiler, Perl should build out of the box, even on older HP-UX 10.20 systems
Enjoy, Have FUN! H.Merijn