HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl on HPUX 10.20
Operating System - HP-UX
1826106
Members
4760
Online
109690
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-19-2003 09:11 AM
02-19-2003 09:11 AM
I am trying to get Perl 5.6.1 for an HPUX 10.20 system. Unfortunately I have been unable to find the precompiled binaries anywhere so I am trying to build it from the source code.
When I run the "sh Configure -de" is gets part way through and then complains "The bundled C compiler is not ANSI-compliant, and so cannot be used to build perl. Please see the file README.hpux for advice on alternative compilers. Cannot continue, aborting."
We have aCC installed on this machine, and from what I could tell, I think it is ANSI-C compliant. (At least the online documention for aCC claims it is ANSI-C compliant.) How do I get the Configure script to recognize this? The README.hpux doesn't say how to tell it how to use aCC; it just says use gcc which I don't have on this machine.
Thanks so much for your help,
Jane
When I run the "sh Configure -de" is gets part way through and then complains "The bundled C compiler is not ANSI-compliant, and so cannot be used to build perl. Please see the file README.hpux for advice on alternative compilers. Cannot continue, aborting."
We have aCC installed on this machine, and from what I could tell, I think it is ANSI-C compliant. (At least the online documention for aCC claims it is ANSI-C compliant.) How do I get the Configure script to recognize this? The README.hpux doesn't say how to tell it how to use aCC; it just says use gcc which I don't have on this machine.
Thanks so much for your help,
Jane
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 10:32 AM
02-19-2003 10:32 AM
Re: Perl on HPUX 10.20
Get a precompiled 5.8.0 for 10.20 from my ITRC site: http://www.cmve.net/~merijn or https://www.beepz.com/personal/merijn
I don't do 5.6.1 anymore.
do
# which cc
to see if the compiler *you* think it should use is indeed the compiler that Configure finds. Otherwise, force it to:
# sh ./Configure -Dcc=/your/path/to/the/cc -des
Enjoy, have FUN! H.Merijn
I don't do 5.6.1 anymore.
do
# which cc
to see if the compiler *you* think it should use is indeed the compiler that Configure finds. Otherwise, force it to:
# sh ./Configure -Dcc=/your/path/to/the/cc -des
Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 10:23 AM
02-21-2003 10:23 AM
Re: Perl on HPUX 10.20
H. Merijn,
Thanks for your quick response. I'm sorry I didn't get back to you as quickly.
I would really like to use ver. 5.8.0, but the engineer who requested Perl has a script that was written in 5.6.1, and he is not confident that it would run under 5.8.0. I tried to convince him that it would, but he still insisted on ver. 5.6.1 of Perl.
I did use your suggested of doing "which cc", and found out that it was pointing to HP-UX's default C. So I used your second suggestion with the -Dcc switch, and that worked to get me by my first error.
I have now come up with a second error:
Error: 328: "gccvers.c", line 10 # Function 'exit' has not been defined yet; ..."
I'm thinking I need to set the switch -Aa to tell aCC to work in ANSI-C mode, but I haven't tested my idea yet. I'll let you know how it goes.
Thanks again,
Jane
Thanks for your quick response. I'm sorry I didn't get back to you as quickly.
I would really like to use ver. 5.8.0, but the engineer who requested Perl has a script that was written in 5.6.1, and he is not confident that it would run under 5.8.0. I tried to convince him that it would, but he still insisted on ver. 5.6.1 of Perl.
I did use your suggested of doing "which cc", and found out that it was pointing to HP-UX's default C. So I used your second suggestion with the -Dcc switch, and that worked to get me by my first error.
I have now come up with a second error:
Error: 328: "gccvers.c", line 10 # Function 'exit' has not been defined yet; ..."
I'm thinking I need to set the switch -Aa to tell aCC to work in ANSI-C mode, but I haven't tested my idea yet. I'll let you know how it goes.
Thanks again,
Jane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 10:30 AM
02-21-2003 10:30 AM
Solution
Jane,
There is a 5.6.1 download for HP at:
http://people.netscape.com/richm/nsPerl/
You might try it. It's some sort of cross between a binary and source. There is a special installer that comes with it.
Ron
There is a 5.6.1 download for HP at:
http://people.netscape.com/richm/nsPerl/
You might try it. It's some sort of cross between a binary and source. There is a special installer that comes with it.
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP