- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compiling perl app on hp-ux with activestate pdk
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
10-23-2009 06:18 AM
10-23-2009 06:18 AM
I'm working on HP-UX 11.22 on IA64. I need to compile perl code to get an executable via ActiveState Perl Development Kit (PDK). The perl available on the machine is not proper as can be seen by this message:
PerlApp 7.2.0 build 284799
Copyright (C) 1998-2008 ActiveState Software Inc. All rights reserved.
Trial license (Expires: 2009-11-13)
****************************************************************************
* WARNING: Applications generated by this evaluation copy of PerlApp will *
* stop working after the end of the evaluation period: 2009-11-13 *
****************************************************************************
libperl.so at '/opt/perl_32/lib/5.8.3/IA64.ARCHREV_0-thread-multi/CORE/libperl.so' is not compatible with the PDK
The ActiveState documentation (http://docs.activestate.com/pdk/7.2/Install.html) suggests to get "ActivePerl build 627 or later on HP-UX. ActivePerl for HP-UX can be obtained from HP." Any idea of where can I download ActivePerl 627 from HP?
Best regards
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 06:24 AM
10-23-2009 06:24 AM
SolutionAlthough HP has stopping using ActiveState's distribution, you can get a binary distribution here:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL
If you don't license the HP-UX C compiler (which is used to create this distribution) you might want to fetch your Perl as compiled with 'gcc' from:
http://mirrors.develooper.com/hpux/downloads.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2009 06:54 PM
10-23-2009 06:54 PM
Re: compiling perl app on hp-ux with activestate pdk
11.22 hasn't been supported for years, are you really on 11.23?
>JRF: might want to fetch your Perl as compiled with gcc from:
That may not work if really using 11.22?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2009 12:53 PM
10-24-2009 12:53 PM
Re: compiling perl app on hp-ux with activestate pdk
Another difference is that all ActivePerl's are threaded builds, and mine are not. I don't need threads, and never needed them. I also don't like the slowdown in regular code a threaded perl implies. (And you do NOT need a threaded perl for Oracle).
I'm wondering if you actually need a ActivePerl for ActiveState's PDK to function. They might require a threaded perl, but I cannot eblieve they require an ActivePerl.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2009 01:54 AM
10-29-2009 01:54 AM
Re: compiling perl app on hp-ux with activestate pdk
thanks for the answers. Here are some clarifications. The machine I'm working on is HP-UX B.11.23 U ia64, so I was wrong to tell you 11.22.
I was able to get an ActiveState Perl 5.8.8 packed as perl_E.5.8.8.G_HP-UX_B.11.31_IA_PA.depot.
I've launched:
/usr/sbin/swinstall -s
and when I specify to install the package in my home (I haven't got root privileges), I get this error: "You do not have the required permissions to select this target. Check permissions etc". Is there a way to make a single-user installation of a depot file in my own directory?
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2009 02:17 AM
10-29-2009 02:17 AM
Re: compiling perl app on hp-ux with activestate pdk
-s $PWD/perl_E.5.8.8.G_HP-UX_B.11.31_IA_PA.depot \* \
@ $PWD/perl_install_dir
You might have a lot of problems with alternate root installs, if there are both PA and Integrity bits in the depot (IA_PA).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2009 05:08 AM
11-09-2009 05:08 AM
Re: compiling perl app on hp-ux with activestate pdk
thanks for the answers but I still haven't managed to find a Perl distribution for HP-UX that is compatible with PerlApp 7.2.0 for HP-UX.
Thanks to the hint by James R. Ferguson I got a 5.8.8 perl that works (not properly installed, just untarred and unzipped, but perl -v is alive) but PerlApp complains as follows:
/home/egiabru/perl/perl_E.5.8.8.G_HP-UX_B.11.31_IA_PA/Perl5-64/PERL-RUN/opt/perl_64/bin/perl-static' (unknown-arch) is not binary compatible with ActivePerl (IA64.ARCHREV_0-thread-multi)
Then, from H.Merijn Brand site (http://mirrors.develooper.com/hpux/downloads.html) I downloaded "perl 5.10.0 + DBI 1.601 + Tk 804.027_502 built with gcc-4.2.1". Again, this work but PerlApp complains exactly the same:
/home/egiabru/perl/perl-5.10.0-11.23-ia64/perl5-64-RUN/opt/perl64/bin/perl5.10.0' (unknown-arch) is not binary compatible with ActivePerl (IA64.ARCHREV_0-thread-multi)
So any help about how to find a perl acceptable by PerlApp is appreciated!
Cheers
Gianmarco