- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl woes on HP-UX PA 11.31
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
Discussions
Discussions
Forums
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
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
тАО08-12-2009 12:20 AM
тАО08-12-2009 12:20 AM
I am standing up a new server and using 11.31 instead of 11.23. All gone well so far until I started on the Perl modules and end up with :-
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
I have GCC installed so wondered why it was picking up cc instead. Low and behold in /opt/perl/lib/5.8.8/PA-RISC1.1-thread-multi/Config.pm the default for CC has now been set :( Even if I try and overide the compiler with perl Makefile.PL CC=gcc it fails due to other options set in Config.pm.
Details of Perl and GCC :-
perl E.5.8.8.D
GNU_C_C++ 4.4.0
Any ideas on how I can overcome this ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 04:15 AM
тАО08-12-2009 04:15 AM
Solution> I have GCC installed so wondered why it was picking up cc instead.
That's because Perl knows what compiler it was compiled with and looks for this compiler when you need to compile modules.
# perl -V:cc
...will show the compiler used.
The "bundled" C compiler is worthless for serious development. You could license the HP C/C++ compiler:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AA
(which also has an evaluation license):
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL
...OR, you could fetch a binary built with 'gcc' from Merijn's website:
http://mirrors.develooper.com/hpux/downloads.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 04:21 AM
тАО08-12-2009 04:21 AM
Re: Perl woes on HP-UX PA 11.31
Unfortunately Merlin does not have a build for 11.31 PA 64 :( So I am trying to build it from source now. Once I got past the HiRes issue by pulling the latest version into the Perl 5.10 source it would complete to the end of make. But when I run a "make test" it is hanging on ext/IO/t/io_udp :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 04:47 AM
тАО08-12-2009 04:47 AM
Re: Perl woes on HP-UX PA 11.31
So compile it yourself.
How about gcc as a compiler, it can produce serious code.
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/
http://hpux.connect.org.uk/hppd/hpux/Gnu/libgcc-4.2.3/
Install all dependencies of any kind. Install dependencies of dependencies.
Then you can compile some serious code without spending money on a license.
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
тАО08-12-2009 04:52 AM
тАО08-12-2009 04:52 AM
Re: Perl woes on HP-UX PA 11.31
Hey, if we knew we would have to buy a C/aC++ license then we would have included it in the project cost; but seeing as it was all fine in 11.23 that did not happen.
16 CPU LTU is gonna be pretty pricey :( I have asked for a quote though.
As HP do provide a version of GCC from the software site perhaps they could also supply a Perl GCC compiled version :D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2009 05:05 AM
тАО08-12-2009 05:05 AM
Re: Perl woes on HP-UX PA 11.31
Currently I have no spare time to create any other builds. If only ...
Enjoy, Have FUN! H.Merijn