- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Perl 5.8.2 and change_config_pm to gcc
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
05-26-2004 02:33 AM
05-26-2004 02:33 AM
I just downloaded the binary dist of perl 5.8.2 for HPUX 11.11 PA-RISC and installed it. I also have installed the binary dist of gcc 3.3.3 and binutils 2.14 as well. I was using perl to build DBI and it fails on the compiler. perl -V shows the compiler listed as cc, and I would like to change that to gcc. The perl page says to use /opt/perl/bin/change_config_pm gcc to change it to gcc. Unfortunately, change-config_pm doesn't exist. Can anyone help me get the perl Config.pm's to point to gcc so I can get some other modules built?
Thanks a million!!!
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 03:40 AM
05-26-2004 03:40 AM
SolutionYou can fetch the most recent stable perl-5.8.4 prebuilt binary for HP-UX 10.20, 11.00/32, 11.00/64, 11.11/32, and 11.11/64 from my site, which already includes the most recent stable DBI, all built with gcc-3.4.0
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
05-26-2004 03:44 AM
05-26-2004 03:44 AM
Re: Perl 5.8.2 and change_config_pm to gcc
find where your cc executable is and rename it to something like OLD_cc
create a symlink from gcc to cc, i.e.,
cd /wherever_cc_is
mv cc OLD_cc
ln -s /path_to_gcc/gcc cc
if cc is totally non existent, you can get away with creating the symbollic link somewhere under your global PATH which can be found in /etc/PATH.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 03:45 AM
05-26-2004 03:45 AM
Re: Perl 5.8.2 and change_config_pm to gcc
Yes I was just figuring that out. I have pulled both gcc 3.4 and perl 5.8.4 off of your site and am installing them now. Thanks a lot for putting all that out there for everyone to use!
Can't wait to start Oracle perl'ing!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 03:50 AM
05-26-2004 03:50 AM
Re: Perl 5.8.2 and change_config_pm to gcc
Mark, DBD-Oracle is not included in my distro, but as of 1.15, should build out of the box. If you encounter problems, please read DBD-Oracle's README.hpux, and post any changes you have to make here, so I can try to get them integrated in the next release.
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2004 04:46 AM
05-26-2004 04:46 AM
Re: Perl 5.8.2 and change_config_pm to gcc
I fetched perl 5.8.4 for gcc3.4 and gcc 3.4 from procura's website. All 11.11 64 bit versions.
Pulled DBD-Oracle 1.15 from CPAN and set all the environment variables (ORACLE_HOME, ORACLE_SID, ORACLE_USERID, SHLIB_PATH, LD_LIBRARY_PATH). Everything installed successfully.
The ORACLE_HOME was /oracle/product/9.2, so this is built against the latest version of the DB (This is Oracle patched to 9.2.0.4).
Other than setting the environment variables everything worked like a breeze. Now to write some perl that connects to the database and does something to really test it.
Thanks to all for their help..
Mark