- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Compiling Perl on HP-UX 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
Forums
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
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
тАО04-01-2008 05:36 AM
тАО04-01-2008 05:36 AM
Compiling Perl on HP-UX 11.31
Ether it be with Perl 5.8.8 or Perl 5.10.0, with either GCC 4.2.1 from HP's DSPP site or GCC 4.2.3 from the 3rd party HP-UX porting centre (http://hpux.ee.ualberta.ca/), I keep ending up with the same problem: seems like it's the Time::HiRes module that doesn't want to compile.
See: http://pastebin.ca/964784
Does anyone have any clue has to what's going on?? Some libs missing or something?
Thanks a lot. Pat.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 05:43 AM
тАО04-01-2008 05:43 AM
Re: Compiling Perl on HP-UX 11.31
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 05:54 AM
тАО04-01-2008 05:54 AM
Re: Compiling Perl on HP-UX 11.31
Secondly, I've just always had a hell of a hard time compiling some additional modules (like DBD/DBI, OpenSP, etc.) when I wasn't the one who compile perl initially. Often modules seems to depend on the way perl was compile. Sometimes, with missing flags, other times, with the wrong compiler (module might expect gcc but it was compiled with ANSI/C). This DID happen to me a while back when I had done it on 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 06:01 AM
тАО04-01-2008 06:01 AM
Re: Compiling Perl on HP-UX 11.31
I hope to be able to come back on this very soon.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 06:05 AM
тАО04-01-2008 06:05 AM
Re: Compiling Perl on HP-UX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 12:34 PM
тАО04-01-2008 12:34 PM
Re: Compiling Perl on HP-UX 11.31
Had to vi perl-5.10.0/ext/Time/HiRes/HiRes.xs and go to line 74 and comment out the following 3 defines:
/* HP-UX has CLOCK_XXX values but as enums, not as defines.
* The only way to detect these would be to test compile for each. */
# ifdef __hpux
# define CLOCK_REALTIME CLOCK_REALTIME
# define CLOCK_VIRTUAL CLOCK_VIRTUAL
# define CLOCK_PROFILE CLOCK_PROFILE
# endif /* # ifdef __hpux */
Seems it wanted to redefine the constant or something while it wasn't supposed to, cause I'm guessing like it says, HP-UX already has them, but has enums. I ain't no C programmer here, so I can't really explain! Trial and error! ;)
Thanks all!
Pat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 06:36 AM
тАО04-07-2008 06:36 AM
Re: Compiling Perl on HP-UX 11.31
is the new version, and it tested out without problems on HP-UX 11.31 Itanium
Enjoy, Have FUN! H.Merijn